UBUNTU-CVE-2025-46551

Source
https://ubuntu.com/security/CVE-2025-46551
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-46551.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-46551
Related
Published
2025-05-07T17:15:00Z
Modified
2025-05-14T16:32:18Z
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / jruby-openssl

Package

Name
jruby-openssl
Purl
pkg:deb/ubuntu/jruby-openssl@0.9.11-2?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.9.7-2
0.9.11-1
0.9.11-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / jruby-openssl

Package

Name
jruby-openssl
Purl
pkg:deb/ubuntu/jruby-openssl@0.9.21-2~18.04?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.9.20-1
0.9.21-1
0.9.21-2~18.04

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / jruby-openssl

Package

Name
jruby-openssl
Purl
pkg:deb/ubuntu/jruby-openssl@0.9.21-3?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.9.21-2
0.9.21-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / jruby-openssl

Package

Name
jruby-openssl
Purl
pkg:deb/ubuntu/jruby-openssl@0.9.21-3?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.9.21-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}