Live threats

All CVEs / Jruby

CVE-2025-46551Jruby

Medium 5.7

Priority
34
CVSS 4.0
5.7
EPSS
—
Auth required
Yes
Published
May 7, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
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/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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Jruby.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.jruby:jruby ≥ 10.0.0.0 < 10.0.0.1 10.0.0.1 —
Maven org.jruby:jruby ≥ 9.3.4.0 < 9.4.12.1 9.4.12.1 —
Maven rubygems:jruby-openssl ≥ 0.12.1 < 0.15.4 0.15.4 —
RubyGems jruby-openssl ≥ 0.12.1 < 0.15.4 0.15.4 gem "jruby-openssl", ">= 0.15.4"

Per OSV / GitHub Advisories (GHSA-72qj-48g4-5xgx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
jrubyjruby≥ 9.3.4.0 < 9.4.12.1
jrubyjruby10.0.0.0
jrubyjruby-openssl≥ 0.12.1 < 0.15.4

Official sources

References

Links published by the sources. Open them with care.