
CVE catalog
CVE-2007-5162
ruby1.8 - possible man-in-the-middle attacks
- Severity
- Unknown
- Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 1.68% · Oct 25, 2026
The connect method in lib/net/http.rb in the (1) Net::HTTP and (2) Net::HTTPS libraries in Ruby 1.8.5 and 1.8.6 does not verify that the commonName (CN) field in a server certificate matches the domain name in an HTTPS request, which makes it easier for remote attackers to intercept SSL transmissions via a man-in-the-middle attack or spoofed web site. Net: HTTP insufficient verification of SSL certificate
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby1.9 | 4.0 | 1.9.0+20060609-1 | vulnerable |
| Debian | ruby1.9 | 4.0 | 1.9.0+20060609-1etch1 | fixed |
| Debian | libopenssl-ruby | 3.1 | 0.1.4a-1 | vulnerable |
| Debian | libopenssl-ruby | 3.1 | 0.1.4a-1sarge1 | fixed |
| Debian | ruby1.8 | 4.0 | 1.8.5-4 | vulnerable |
| Debian | ruby1.8 | 4.0 | 1.8.5-4etch1 | fixed |
| Debian | ruby1.8 | 3.1 | 1.8.2-7 | vulnerable |
| Debian | ruby1.8 | 3.1 | 1.8.2-7sarge1 | vulnerable |
| Debian | ruby1.8 | 3.1 | 1.8.2-7sarge2 | vulnerable |
| Debian | ruby1.8 | 3.1 | 1.8.2-7sarge4 | vulnerable |
| Debian | ruby1.8 | 3.1 | 1.8.2-7sarge5 | vulnerable |
| Debian | ruby1.8 | 3.1 | 1.8.2-7sarge6 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby1.9 | deb | 4.0 | 1.9.0+20060609-1etch1 | Not reported | DSA-1412-1 | Not reported |
| Debian | libopenssl-ruby | deb | 3.1 | 0.1.4a-1sarge1 | Not reported | DSA-1411-1 | Not reported |
| Debian | ruby1.8 | deb | 4.0 | 1.8.5-4etch1 | Not reported | DSA-1410-1 | Not reported |
| Debian | ruby1.8 | deb | 3.1 | 1.8.2-7sarge6 | Not reported | DSA-1410-1 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed: