PT-2025-20241 · Jruby · Jruby-Openssl+1
Mohamedhafez
·
Published
2025-05-07
·
Updated
2025-10-21
·
CVE-2025-46551
CVSS v4.0
7.1
High
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
JRuby-OpenSSL versions 0.12.1 through 0.15.3
JRuby versions 9.3.4.0 through 9.4.12.0
JRuby version 10.0.0.0
Description
The issue concerns the verification of SSL certificates. When verifying these certificates, the hostname presented in the certificate is not checked to ensure it matches the one the user is trying to connect to. This could allow a man-in-the-middle to present any valid certificate for a different domain they own, which would be accepted. This affects users who rely on JRuby to make requests to external APIs or scrape the web securely using https.
Recommendations
For JRuby-OpenSSL versions 0.12.1 through 0.15.3, update to version 0.15.4.
For JRuby versions 9.3.4.0 through 9.4.12.0, update to version 9.4.12.1.
For JRuby version 10.0.0.0, update to version 10.0.0.1.
Exploit
Fix
Improper Certificate Validation
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Jruby
Jruby-Openssl