Skip to content

Commit 264d9b0

Browse files
authored
1 brand new advisory (#965)
1 parent 2a75a71 commit 264d9b0

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
gem: jruby-openssl
3+
platform: jruby
4+
cve: 2025-46551
5+
ghsa: 72qj-48g4-5xgx
6+
url: https://github.com/advisories/GHSA-72qj-48g4-5xgx
7+
title: JRuby-OpenSSL has hostname verification disabled by default
8+
date: 2025-05-07
9+
description: |
10+
JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby
11+
OpenSSL native library.
12+
13+
Starting in JRuby-OpenSSL version 0.12.1 and prior to version 0.15.4
14+
(corresponding to JRuby versions starting in 9.3.4.0 prior to 9.4.12.1
15+
and 10.0.0.0 prior to 10.0.0.1), when verifying SSL certificates,
16+
JRuby-OpenSSL does not verify that the hostname presented in the
17+
certificate matches the one the user tries to connect to.
18+
This means a man-in-the-middle could just present any valid cert for
19+
a completely different domain they own, and JRuby would accept the cert.
20+
Anybody using JRuby to make requests of external APIs, or scraping
21+
the web, that depends on https to connect securely.
22+
JRuby-OpenSSL version 0.15.4 contains a fix for the issue. This fix
23+
is included in JRuby versions 10.0.0.1 and 9.4.12.1.
24+
cvss_v3: 3.7
25+
cvss_v4: 5.7
26+
unaffected_versions:
27+
- "<= 0.12.1"
28+
patched_versions:
29+
- ">= 0.15.4"
30+
related:
31+
url:
32+
- https://nvd.nist.gov/vuln/detail/CVE-2025-46551
33+
- https://www.cve.org/CVERecord?id=CVE-2025-46551
34+
- https://www.jruby.org/2025/05/07/jruby-9-4-12-1
35+
- https://www.jruby.org/2025/05/07/jruby-10-0-0-1
36+
- https://bsky.app/profile/jrubyproject.bsky.social/post/3lolurlze3p2s
37+
- https://github.com/advisories/GHSA-72qj-48g4-5xgx
38+
notes: |
39+
1. Reference: https://bsky.app/profile/jrubyproject.bsky.social/post/3lolurlze3p2s
40+
-- "Security advisory: We have released jruby-openssl gem 0.15.4,
41+
jruby 10.0.0.1, and jruby 9.4.12.1 to address CVE-2025-46551,
42+
disabled hostname verification by default.
43+
We recommend that all users upgrade!"

0 commit comments

Comments
 (0)