CVE-2009-4123 jruby-openssl gem for JRuby fails to do proper certificate validation

High 7.5 Published Updated

Attackers can bypass SSL certificate validation in JRuby applications, enabling man-in-the-middle attacks against encrypted connections.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2009-4123?

CVE-2009-4123 is a high-severity vulnerability in n/a, published on 12 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The jruby-openssl gem before 0.6 for JRuby mishandles SSL certificate validation.

Weakness: CWE-295

Which versions are affected by CVE-2009-4123?

2 open source packages ship an affected version, including jruby-openssl. It affects 1 product.

PackageAffectedFixed in
jruby-openssl RubyGemsAll versions0.6
jruby-openssl RubyGemsAll versions0.6

Products include Jruby Jruby-Openssl.

How do I fix CVE-2009-4123?

Upgrade jruby-openssl to 0.6 or later.

Is CVE-2009-4123 being exploited?

There is no known exploitation of CVE-2009-4123 in the wild and no public exploit code.

Sources

Also known as GHSA-xgv7-pqqh-h2w9.

Is CVE-2009-4123 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free