cve.bz

CVE-2025-46551 jruby: Improper Certificate Validation

5.7 mediumExploit referenceEPSS 0.2%Fix available

Medium (5.7) in jruby. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in rubygems:jruby-openssl 0.15.4.

On this page
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.

Severity

CVSS 4.0

5.7 medium
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

CVSS 3.1

3.7 low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 10th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-05-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-46551 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-46551?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-46551?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-46551 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
jruby:jrubyfrom 9.3.4.0 before 9.4.12.1
jruby:jruby10.0.0.0
jruby:jruby-opensslfrom 0.12.1 before 0.15.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-72qj-48g4-5xgxMavenrubygems:jruby-openssl>=0.12.1 <0.15.40.15.4
GHSA-72qj-48g4-5xgxMavenorg.jruby:jruby>=10.0.0.0 <10.0.0.110.0.0.1
GHSA-72qj-48g4-5xgxMavenorg.jruby:jruby>=9.3.4.0 <9.4.12.19.4.12.1
GHSA-72qj-48g4-5xgxRubyGemsjruby-openssl>=0.12.1 <0.15.40.15.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 1 morejruby-opensslno fix listedUBUNTU-CVE-2025-46551

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7jrubyFix deferred
Red Hat build of Apache Camel for Spring Boot 4jrubyFix deferred
Red Hat build of OptaPlanner 8jrubyNot affected
Red Hat build of OptaPlanner 8jruby-coreNot affected
Red Hat build of QuarkusjrubyNot affected
Red Hat build of Quarkusjruby-coreNot affected
Red Hat Data Grid 8jrubyFix deferred
Red Hat Fuse 7jrubyOut of support scope
Red Hat Fuse 7jruby-coreOut of support scope
Red Hat Integration Camel K 1jrubyNot affected
Red Hat Integration Camel K 1jruby-coreNot affected
Red Hat JBoss Enterprise Application Platform 7jrubyNot affected
Red Hat JBoss Enterprise Application Platform 7jruby-coreNot affected
Red Hat JBoss Enterprise Application Platform 8jrubyFix deferred
Red Hat JBoss Enterprise Application Platform 8jruby-coreNot affected
Red Hat JBoss Enterprise Application Platform Expansion PackjrubyFix deferred
Red Hat JBoss Enterprise Application Platform Expansion Packjruby-coreNot affected
Red Hat Process Automation 7jrubyNot affected
Red Hat Process Automation 7jruby-coreNot affected
Red Hat Satellite 6puppetserverFix deferred
4 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-46551.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON