{"cve":"CVE-2025-46551","nvd":{"published":"2025-05-07T17:15:58.153","modified":"2026-06-17T09:26:36.930","status":"Analyzed","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_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P","score":5.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7},"cwes":["CWE-295"],"references":["https://github.com/jruby/jruby-openssl/commit/31a56d690ce9b8af47af09aaaf809081949ed285","https://github.com/jruby/jruby-openssl/security/advisories/GHSA-72qj-48g4-5xgx","https://github.com/jruby/jruby-openssl/security/advisories/GHSA-72qj-48g4-5xgx"],"products":["jruby:jruby","jruby:jruby-openssl"],"source":"nvd","synced_at":"2026-10-19T22:01:22.920403922+00:00"},"epss":{"cve":"CVE-2025-46551","score":0.00198,"percentile":0.09606,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-72qj-48g4-5xgx","url":"https://osv.dev/vulnerability/GHSA-72qj-48g4-5xgx","summary":"JRuby-OpenSSL has hostname verification disabled by default","modified":"2026-09-10T03:50:24.589913336Z","packages":[{"ecosystem":"Maven","name":"rubygems:jruby-openssl","purl":"pkg:maven/rubygems/jruby-openssl","ranges":[">=0.12.1 <0.15.4"],"fixed":["0.15.4"]},{"ecosystem":"Maven","name":"org.jruby:jruby","purl":"pkg:maven/org.jruby/jruby","ranges":[">=10.0.0.0 <10.0.0.1"],"fixed":["10.0.0.1"]},{"ecosystem":"Maven","name":"org.jruby:jruby","purl":"pkg:maven/org.jruby/jruby","ranges":[">=9.3.4.0 <9.4.12.1"],"fixed":["9.4.12.1"]},{"ecosystem":"RubyGems","name":"jruby-openssl","purl":"pkg:gem/jruby-openssl","ranges":[">=0.12.1 <0.15.4"],"fixed":["0.15.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}