Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-46551

MEDIUM 5.7EPSS 10%

JRuby-OpenSSL has hostname verification disabled by default

Also known as GHSA-72qj-48g4-5xgx

Mitigation

  • Upgrade rubygems:jruby-openssl to 0.15.4 or later.
  • Upgrade org.jruby:jruby to one of 10.0.0.1, 9.4.12.1 (or later in the same release line).
  • Upgrade jruby-openssl to 0.15.4 or later.

Who should check

  • Projects that depend on Maven package rubygems:jruby-openssl (>= 0.12.1, < 0.15.4)
  • Projects that depend on Maven package org.jruby:jruby (>= 10.0.0.0, < 10.0.0.1)
  • Projects that depend on RubyGems package jruby-openssl (>= 0.12.1, < 0.15.4)
  • Anyone running jruby-openssl >= 0.12.1, < 0.15.4

Vulnerability facts

Affected
rubygems:jruby-openssl >= 0.12.1, < 0.15.4; org.jruby:jruby >= 10.0.0.0, < 10.0.0.1; jruby-openssl >= 0.12.1, < 0.15.4
Fixed in
0.15.4, 10.0.0.1, 9.4.12.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
5.7 (v4.0, CNA)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:POpen in CVSS calculator
Show all 12 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: Low
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: High
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
  • Exploit maturity: Proof of concept
EPSS
0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
CWE
CWE-295
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Maven rubygems:jruby-openssl>= 0.12.1, < 0.15.40.15.4osv
Maven org.jruby:jruby>= 10.0.0.0, < 10.0.0.110.0.0.1, 9.4.12.1osv
RubyGems jruby-openssl>= 0.12.1, < 0.15.40.15.4osv
jruby-openssl>= 0.12.1, < 0.15.4—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-46551. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-46551.md
Affected: rubygems:jruby-openssl >= 0.12.1, < 0.15.4; org.jruby:jruby >= 10.0.0.0, < 10.0.0.1; jruby-openssl >= 0.12.1, < 0.15.4
Fixed in: 0.15.4, 10.0.0.1, 9.4.12.1

Steps:
1. Search this machine and project for rubygems:jruby-openssl (Maven), org.jruby:jruby (Maven), jruby-openssl (RubyGems), jruby-openssl: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-46551 being exploited?

There is no confirmed exploitation: CVE-2025-46551 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-46551?

Medium: CVSS 5.7 (v4.0, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2025-46551?

rubygems:jruby-openssl >= 0.12.1, < 0.15.4; org.jruby:jruby >= 10.0.0.0, < 10.0.0.1; jruby-openssl >= 0.12.1, < 0.15.4.

Is there a fix for CVE-2025-46551?

Yes. Fixed in 0.15.4, 10.0.0.1, 9.4.12.1. Upgrade rubygems:jruby-openssl to 0.15.4 or later. Upgrade org.jruby:jruby to one of 10.0.0.1, 9.4.12.1 (or later in the same release line). Upgrade jruby-openssl to 0.15.4 or later.

How do I check if I'm affected by CVE-2025-46551?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors