Security mailing lists by PureSourceCode

CVE-2025-46551

MEDIUM 5.7CVSS 4.0

JRuby-OpenSSL has hostname verification disabled by default

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.

Published
7 May 2025
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-295CWE-297
Also known as
GHSA-72qj-48g4-5xgx
Sources
NVDJSONOSV GHSA-72qj-48g4-5xgxJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 5.7 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jruby jruby
cpe:2.3:a:jruby:jruby:*:*:*:*:*:*:*:*
>= 9.3.4.0, < 9.4.12.1 9.4.12.1
NVD jruby jruby
cpe:2.3:a:jruby:jruby:10.0.0.0:*:*:*:*:*:*:*
= 10.0.0.0
NVD jruby jruby-openssl
cpe:2.3:a:jruby:jruby-openssl:*:*:*:*:*:*:*:*
>= 0.12.1, < 0.15.4 0.15.4
OSV Maven rubygems:jruby-openssl >= 0.12.1, < 0.15.4 0.15.4
OSV Maven org.jruby:jruby >= 10.0.0.0, < 10.0.0.1 10.0.0.1
OSV Maven org.jruby:jruby >= 9.3.4.0, < 9.4.12.1 9.4.12.1
OSV RubyGems jruby-openssl >= 0.12.1, < 0.15.4 0.15.4

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 7 May 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 May 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.