CVE-2007-5770 Security feature bypass in n/a

Medium 5.0 Published Updated

Ruby networking libraries fail to verify SSL certificate common names, allowing remote attackers to intercept transmissions via man-in-the-middle attacks.

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

What is CVE-2007-5770?

CVE-2007-5770 is a medium-severity vulnerability in Ruby-Lang Ruby, published on 14 Nov 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The (1) Net::ftptls, (2) Net::telnets, (3) Net::imap, (4) Net::pop, and (5) Net::smtp libraries in Ruby 1.8.5 and 1.8.6 do not verify that the commonName (CN) field in a server certificate matches the domain name in a request sent over SSL, which makes it easier for remote attackers to intercept SSL transmissions via a man-in-the-middle attack or spoofed web site, different components than CVE-2007-5162.

Weakness: CWE-287

Which versions are affected by CVE-2007-5770?

It affects 1 product.

Products include Ruby-Lang Ruby.

How do I fix CVE-2007-5770?

Upgrade to a fixed version.

Is CVE-2007-5770 being exploited?

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

All Ruby-Lang Ruby vulnerabilities

Sources

Also known as GHSA-mf83-c25g-48r6.

Is CVE-2007-5770 in your software?

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

Check your SBOMs for free