CVE-2007-5770
The (1) Net::ftptls, (2) Net::telnets, (3) Net::imap, (4) Net::pop, and (5) Net::smtp libraries...
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.
Exploit likelihood
What each source reports
NVD Score used
5.0
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.
- Record
CVE-2007-5770- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:N - Weakness
- CWE-287
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2007-5770- Updated
- 2026-11-02
EUVDEUVD-2007-5740 No score
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.
- Record
EUVD-2007-5740- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mf83-c25g-48r6 No score
The (1) Net::ftptls, (2) Net::telnets, (3) Net::imap, (4) Net::pop, and (5) Net::smtp libraries...
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.
- Record
GHSA-mf83-c25g-48r6- Weakness
- CWE-287
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ruby1.8Debian:4.0 |
before 1.8.5-4etch1, plus listed versions 1.8.5-4 |
1.8.5-4etch1 |
ruby1.8Debian:3.1 |
before 1.8.2-7sarge6, plus listed versions 1.8.2-71.8.2-7sarge11.8.2-7sarge21.8.2-7sarge41.8.2-7sarge5 |
1.8.2-7sarge6 |
libopenssl-rubyDebian:3.1 |
before 0.1.4a-1sarge1, plus listed versions 0.1.4a-1 |
0.1.4a-1sarge1 |
ruby1.9Debian:4.0 |
before 1.9.0+20060609-1etch1, plus listed versions 1.9.0+20060609-1 |
1.9.0+20060609-1etch1 |
irbRed Hat:enterprise_linux:4::as |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
rubyRed Hat:enterprise_linux:4::as |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-debuginfoRed Hat:enterprise_linux:4::as |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-develRed Hat:enterprise_linux:4::as |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-docsRed Hat:enterprise_linux:4::as |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-libsRed Hat:enterprise_linux:4::as |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
Show 48 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ruby-modeRed Hat:enterprise_linux:4::as |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-tcltkRed Hat:enterprise_linux:4::as |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
irbRed Hat:enterprise_linux:4::desktop |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
rubyRed Hat:enterprise_linux:4::desktop |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-debuginfoRed Hat:enterprise_linux:4::desktop |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-develRed Hat:enterprise_linux:4::desktop |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-docsRed Hat:enterprise_linux:4::desktop |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-libsRed Hat:enterprise_linux:4::desktop |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-modeRed Hat:enterprise_linux:4::desktop |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-tcltkRed Hat:enterprise_linux:4::desktop |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
irbRed Hat:enterprise_linux:4::es |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
rubyRed Hat:enterprise_linux:4::es |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-debuginfoRed Hat:enterprise_linux:4::es |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-develRed Hat:enterprise_linux:4::es |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-docsRed Hat:enterprise_linux:4::es |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-libsRed Hat:enterprise_linux:4::es |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-modeRed Hat:enterprise_linux:4::es |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-tcltkRed Hat:enterprise_linux:4::es |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
irbRed Hat:enterprise_linux:4::ws |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
rubyRed Hat:enterprise_linux:4::ws |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-debuginfoRed Hat:enterprise_linux:4::ws |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-develRed Hat:enterprise_linux:4::ws |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-docsRed Hat:enterprise_linux:4::ws |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-libsRed Hat:enterprise_linux:4::ws |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-modeRed Hat:enterprise_linux:4::ws |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
ruby-tcltkRed Hat:enterprise_linux:4::ws |
before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
rubyRed Hat:enterprise_linux:5::client_workstation |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-debuginfoRed Hat:enterprise_linux:5::client_workstation |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-develRed Hat:enterprise_linux:5::client_workstation |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-modeRed Hat:enterprise_linux:5::client_workstation |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
rubyRed Hat:enterprise_linux:5::client |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-debuginfoRed Hat:enterprise_linux:5::client |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-docsRed Hat:enterprise_linux:5::client |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-irbRed Hat:enterprise_linux:5::client |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-libsRed Hat:enterprise_linux:5::client |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-rdocRed Hat:enterprise_linux:5::client |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-riRed Hat:enterprise_linux:5::client |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-tcltkRed Hat:enterprise_linux:5::client |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
rubyRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-debuginfoRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-develRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-docsRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-irbRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-libsRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-modeRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-rdocRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-riRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
ruby-tcltkRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_1.1 | 0:1.8.5-5.el5_1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| affected, aliases, facts, references, title | GitHub Advisories, OSV | |
| first indexed | CVE List, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2007-5770 is a medium vulnerability (CVSS 5.0) in Ruby-lang Ruby, published November 14, 2007. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.87%, the 79th percentile. Fixed in ruby1.8 1.8.5-4etch1.
References
secunia.com/advisories/27576
vupen.com/english/advisories/2007/4238
secunia.com/advisories/26985
us-cert.gov/cas/techalerts/TA07-352A.html
secunia.com/advisories/28136
ubuntu.com/usn/usn-596-1
Show 39 moreShow less
bugzilla.redhat.com/show_bug.cgi?id=362081
redhat.com/support/errata/RHSA-2007-0961.html
redhat.com/support/errata/RHSA-2007-0965.html
secunia.com/advisories/27756
debian.org/security/2007/dsa-1412
secunia.com/advisories/27673
lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
debian.org/security/2007/dsa-1410
secunia.com/advisories/27769
docs.info.apple.com/article.html?artnum=307179
novell.com/linux/security/advisories/2007_24_sr.html
mandriva.com/security/advisories?name=MDVSA-2008:029
secunia.com/advisories/29556
securitytracker.com/id?1018938
svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13656
secunia.com/advisories/27818
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11025
secunia.com/advisories/28645
debian.org/security/2007/dsa-1411
securityfocus.com/bid/26421
secunia.com/advisories/27764
nvd.nist.gov/vuln/detail/CVE-2007-5770
github.com/advisories/GHSA-mf83-c25g-48r6
access.redhat.com/errata/RHSA-2007:0961
redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=218287
bugzilla.redhat.com/show_bug.cgi?id=313691
security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0961.json
access.redhat.com/security/cve/CVE-2006-6303
cve.org/CVERecord?id=CVE-2006-6303
nvd.nist.gov/vuln/detail/CVE-2006-6303
access.redhat.com/security/cve/CVE-2007-5162
cve.org/CVERecord?id=CVE-2007-5162
nvd.nist.gov/vuln/detail/CVE-2007-5162
access.redhat.com/security/cve/CVE-2007-5770
cve.org/CVERecord?id=CVE-2007-5770
access.redhat.com/errata/RHSA-2007:0965
access.redhat.com/security/updates/classification
security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0965.json