CVE-2025-46551 — Vulnerability in org.jruby:jruby — CVE Details
JRuby-OpenSSL has hostname verification disabled by default
Summary
Advisory Timeline
- First published May 7, 2025 (523 days ago).
- Last revised September 10, 2026 — 490 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 10.0.0.1 for org.jruby:jruby -->
<!-- Update pom.xml dependency version to 9.4.12.1 for org.jruby:jruby -->
gem install jruby-openssl -v 0.15.4
<!-- Update pom.xml dependency version to 0.15.4 for rubygems:jruby-openssl -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 2 ecosystems: maven (2), rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.jruby:jruby | maven | 10.0.0.0 | 10.0.0.1 |
| org.jruby:jruby | maven | 9.3.10.0, 9.3.11.0, 9.3.12.0, 9.3.13.0 (+21 more) | 9.4.12.1 |
| jruby-openssl | rubygems | 0.12.1, 0.12.2, 0.13.0, 0.14.0 (+12 more) | 0.15.4 |
| rubygems:jruby-openssl | maven | All versions | 0.15.4 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-295Improper Certificate ValidationMITRE
- CWE-297
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.
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
References
- https://github.com/jruby/jruby-openssl/security/advisories/GHSA-72qj-48g4-5xgxWEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-46551ADVISORY
- https://github.com/jruby/jruby-openssl/commit/31a56d690ce9b8af47af09aaaf809081949ed285WEB
- https://github.com/jruby/jruby-openssl/commit/b1fc5d645c0d90891b8865925ac1c15e3f15a055WEB
- https://github.com/jruby/jruby-opensslPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jruby-openssl/CVE-2025-46551.ymlWEB
Frequently Asked Questions
- What is CVE-2025-46551?
- JRuby-OpenSSL has hostname verification disabled by default This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
- How do I check if my project is affected by CVE-2025-46551?
- CVE-2025-46551 affects org.jruby:jruby, jruby-openssl and rubygems:jruby-openssl. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-46551 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2018-1000076CRITICAL
RubyGems Improper Verification of Cryptographic Signature vulnerability
- CVE-2018-1000075HIGH
RubyGems Infinite Loop vulnerability
- CVE-2018-1000073HIGH
RubyGems Link Following vulnerability
- CVE-2018-1000074HIGH
RubyGems Deserialization of Untrusted Data vulnerability
- CVE-2009-4123HIGH
jruby-openssl gem for JRuby fails to do proper certificate validation
- CVE-2026-107715MEDIUM
Mechanize sends credential headers to another host after an HTTP redirect
- CVE-2018-1000078MEDIUM
RubyGems Cross-site Scripting vulnerability
- CVE-2026-107399MEDIUM
Mechanize sends credential headers to another origin after a meta refresh
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies