Vulnerability Description
JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library. Starting in JRuby-OpenSSL version 0.12.1 and prior to version 0.15.4 (corresponding to JRuby versions starting in 9.3.4.0 prior to 9.4.12.1 and 10.0.0.0 prior to 10.0.0.1), when verifying SSL certificates, JRuby-OpenSSL does not verify that the hostname presented in the certificate matches the one the user tries to connect to. This means a man-in-the-middle could just present any valid cert for a completely different domain they own, and JRuby would accept the cert. Anybody using JRuby to make requests of external APIs, or scraping the web, that depends on https to connect securely. JRuby-OpenSSL version 0.15.4 contains a fix for the issue. This fix is included in JRuby versions 10.0.0.1 and 9.4.12.1.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Jruby | Jruby | >= 9.3.4.0, < 9.4.12.1 |
| Jruby | Jruby-Openssl | >= 0.12.1, < 0.15.4 |
Related Weaknesses (CWE)
References
- https://github.com/jruby/jruby-openssl/commit/31a56d690ce9b8af47af09aaaf80908194Patch
- https://github.com/jruby/jruby-openssl/security/advisories/GHSA-72qj-48g4-5xgxExploitVendor Advisory
- https://github.com/jruby/jruby-openssl/security/advisories/GHSA-72qj-48g4-5xgxExploitVendor Advisory
FAQ
What is CVE-2025-46551?
CVE-2025-46551 is a vulnerability with a CVSS score of 3.7 (LOW). JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library. Starting in JRuby-OpenSSL version 0.12.1 and prior to version 0.15.4 (corresponding to JRuby versions starting i...
How severe is CVE-2025-46551?
CVE-2025-46551 has been rated LOW with a CVSS base score of 3.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-46551?
Check the references section above for vendor advisories and patch information. Affected products include: Jruby Jruby, Jruby Jruby-Openssl.