Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jruby/jruby
  4. ›
  5. CVE-2025-46551

CVE-2025-46551: JRuby-OpenSSL has hostname verification disabled by default

May 7, 2025 (updated January 21, 2026)

When verifying SSL certificates, jruby-openssl is not verifying that the hostname presented in the certificate matches the one we are trying to connect to, meaning a MITM could just present any valid cert for a completely different domain they own, and JRuby wouldn’t complain.

References

  • github.com/advisories/GHSA-72qj-48g4-5xgx
  • github.com/jruby/jruby-openssl
  • github.com/jruby/jruby-openssl/commit/31a56d690ce9b8af47af09aaaf809081949ed285
  • github.com/jruby/jruby-openssl/commit/b1fc5d645c0d90891b8865925ac1c15e3f15a055
  • github.com/jruby/jruby-openssl/security/advisories/GHSA-72qj-48g4-5xgx
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/jruby-openssl/CVE-2025-46551.yml
  • nvd.nist.gov/vuln/detail/CVE-2025-46551

Code Behaviors & Features

Detect and mitigate CVE-2025-46551 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 10.0.0.0 before 10.0.0.1, all versions starting from 9.3.4.0 before 9.4.12.1

Fixed versions

  • 10.0.0.1
  • 9.4.12.1

Solution

Upgrade to versions 10.0.0.1, 9.4.12.1 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation
  • CWE-297: Improper Validation of Certificate with Host Mismatch

Source file

maven/org.jruby/jruby/CVE-2025-46551.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:49 +0000.