CVE-2013-4073
The OpenSSL::SSL.verify_certificate_identity function in lib/openssl/ssl.rb in Ruby 1.8 before 1...
The OpenSSL::SSL.verify_certificate_identity function in lib/openssl/ssl.rb in Ruby 1.8 before 1.8.7-p374, 1.9 before 1.9.3-p448, and 2.0 before 2.0.0-p247 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.
Exploit likelihood
What each source reports
NVD Score used
6.8
The OpenSSL::SSL.verify_certificate_identity function in lib/openssl/ssl.rb in Ruby 1.8 before 1.8.7-p374, 1.9 before 1.9.3-p448, and 2.0 before 2.0.0-p247 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.
- Record
CVE-2013-4073- CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-310
- Updated
- 2026-11-02
CVE List No score
The OpenSSL::SSL.verify_certificate_identity function in lib/openssl/ssl.rb in Ruby 1.8 before 1.8.7-p374, 1.9 before 1.9.3-p448, and 2.0 before 2.0.0-p247 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.
- Record
CVE-2013-4073- Updated
- 2026-11-02
EUVDEUVD-2013-4004 No score
The OpenSSL::SSL.verify_certificate_identity function in lib/openssl/ssl.rb in Ruby 1.8 before 1.8.7-p374, 1.9 before 1.9.3-p448, and 2.0 before 2.0.0-p247 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.
- Record
EUVD-2013-4004- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-3gpq-xx45-4rr9 No score
The OpenSSL::SSL.verify_certificate_identity function in lib/openssl/ssl.rb in Ruby 1.8 before 1...
The OpenSSL::SSL.verify_certificate_identity function in lib/openssl/ssl.rb in Ruby 1.8 before 1.8.7-p374, 1.9 before 1.9.3-p448, and 2.0 before 2.0.0-p247 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.
- Record
GHSA-3gpq-xx45-4rr9- Updated
- 2026-11-02
OSVBELL-CVE-2013-4073
6.8
CVE-2013-4073 does not affect BellSoft software
- Record
BELL-CVE-2013-4073- CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
OSVMGASA-2013-0229 No score
Updated ruby packages fix CVE-2013-4073
A vulnerability in Ruby's SSL client that could allow man-in-the-middle attackers to spoof SSL servers via valid certificate issued by a trusted certification authority (CVE-2013-4073).
- Record
MGASA-2013-0229- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ruby1.9.1Debian:6.0 |
before 1.9.2.0-2+deb6u1, plus listed versions 1.9.2.0-21.9.2.0-2+armhf |
1.9.2.0-2+deb6u1 |
ruby1.9.1Debian:7 |
before 1.9.3.194-8.1+deb7u1, plus listed versions 1.9.3.194-8.1 |
1.9.3.194-8.1+deb7u1 |
ruby1.8Debian:6.0 |
before 1.8.7.302-2squeeze2, plus listed versions 1.8.7.302-21.8.7.302-2squeeze1 |
1.8.7.302-2squeeze2 |
ruby1.8Debian:7 |
before 1.8.7.358-7.1+deb7u1, plus listed versions 1.8.7.358-71.8.7.358-7.1 |
1.8.7.358-7.1+deb7u1 |
rubyMageia:2 |
before 1.8.7.p358-1.3.mga2 | 1.8.7.p358-1.3.mga2 |
rubyMageia:3 |
before 1.9.3.p448-1.mga3 | 1.9.3.p448-1.mga3 |
ruby-linecache19Mageia:3 |
before 0.5.13-5.1.mga3 | 0.5.13-5.1.mga3 |
ruby-ruby-debug-base19Mageia:3 |
before 0.11.26-5.1.mga3 | 0.11.26-5.1.mga3 |
rubyRed Hat:enterprise_linux:5::server |
before 0:1.8.5-31.el5_9 | 0:1.8.5-31.el5_9 |
ruby-debuginfoRed Hat:enterprise_linux:5::server |
before 0:1.8.5-31.el5_9 | 0:1.8.5-31.el5_9 |
Show 74 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ruby-develRed Hat:enterprise_linux:5::server |
before 0:1.8.5-31.el5_9 | 0:1.8.5-31.el5_9 |
ruby-docsRed Hat:enterprise_linux:5::server |
before 0:1.8.5-31.el5_9 | 0:1.8.5-31.el5_9 |
ruby-irbRed Hat:enterprise_linux:5::server |
before 0:1.8.5-31.el5_9 | 0:1.8.5-31.el5_9 |
ruby-libsRed Hat:enterprise_linux:5::server |
before 0:1.8.5-31.el5_9 | 0:1.8.5-31.el5_9 |
ruby-modeRed Hat:enterprise_linux:5::server |
before 0:1.8.5-31.el5_9 | 0:1.8.5-31.el5_9 |
ruby-rdocRed Hat:enterprise_linux:5::server |
before 0:1.8.5-31.el5_9 | 0:1.8.5-31.el5_9 |
ruby-riRed Hat:enterprise_linux:5::server |
before 0:1.8.5-31.el5_9 | 0:1.8.5-31.el5_9 |
ruby-tcltkRed Hat:enterprise_linux:5::server |
before 0:1.8.5-31.el5_9 | 0:1.8.5-31.el5_9 |
rubyRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-debuginfoRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-develRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-irbRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-libsRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-rdocRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-docsRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-riRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-staticRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-tcltkRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
rubyRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-develRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-irbRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-libsRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-rdocRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-docsRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-riRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-staticRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-tcltkRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
rubyRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-debuginfoRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-develRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-irbRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-libsRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-rdocRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-docsRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-riRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-staticRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-tcltkRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
rubyRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-develRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-irbRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-libsRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-rdocRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-docsRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-riRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-staticRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby-tcltkRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-12.el6_4 | 0:1.8.7.352-12.el6_4 |
ruby193-rubyRed Hat:openstack:3::el6 |
before 0:1.9.3.429-34.2.el6ost | 0:1.9.3.429-34.2.el6ost |
ruby193-ruby-debuginfoRed Hat:openstack:3::el6 |
before 0:1.9.3.429-34.2.el6ost | 0:1.9.3.429-34.2.el6ost |
ruby193-ruby-develRed Hat:openstack:3::el6 |
before 0:1.9.3.429-34.2.el6ost | 0:1.9.3.429-34.2.el6ost |
ruby193-ruby-docRed Hat:openstack:3::el6 |
before 0:1.9.3.429-34.2.el6ost | 0:1.9.3.429-34.2.el6ost |
ruby193-ruby-irbRed Hat:openstack:3::el6 |
before 0:1.9.3.429-34.2.el6ost | 0:1.9.3.429-34.2.el6ost |
ruby193-ruby-libsRed Hat:openstack:3::el6 |
before 0:1.9.3.429-34.2.el6ost | 0:1.9.3.429-34.2.el6ost |
ruby193-ruby-tcltkRed Hat:openstack:3::el6 |
before 0:1.9.3.429-34.2.el6ost | 0:1.9.3.429-34.2.el6ost |
ruby193-rubygem-bigdecimalRed Hat:openstack:3::el6 |
before 0:1.1.0-34.2.el6ost | 0:1.1.0-34.2.el6ost |
ruby193-rubygem-io-consoleRed Hat:openstack:3::el6 |
before 0:0.3-34.2.el6ost | 0:0.3-34.2.el6ost |
ruby193-rubygem-jsonRed Hat:openstack:3::el6 |
before 0:1.5.5-34.2.el6ost | 0:1.5.5-34.2.el6ost |
ruby193-rubygem-minitestRed Hat:openstack:3::el6 |
before 0:2.5.1-34.2.el6ost | 0:2.5.1-34.2.el6ost |
ruby193-rubygem-rakeRed Hat:openstack:3::el6 |
before 0:0.9.2.2-34.2.el6ost | 0:0.9.2.2-34.2.el6ost |
ruby193-rubyRed Hat:openshift:1.2::el6 |
before 0:1.9.3.448-38.el6 | 0:1.9.3.448-38.el6 |
ruby193-ruby-debuginfoRed Hat:openshift:1.2::el6 |
before 0:1.9.3.448-38.el6 | 0:1.9.3.448-38.el6 |
ruby193-ruby-develRed Hat:openshift:1.2::el6 |
before 0:1.9.3.448-38.el6 | 0:1.9.3.448-38.el6 |
ruby193-ruby-docRed Hat:openshift:1.2::el6 |
before 0:1.9.3.448-38.el6 | 0:1.9.3.448-38.el6 |
ruby193-ruby-irbRed Hat:openshift:1.2::el6 |
before 0:1.9.3.448-38.el6 | 0:1.9.3.448-38.el6 |
ruby193-ruby-libsRed Hat:openshift:1.2::el6 |
before 0:1.9.3.448-38.el6 | 0:1.9.3.448-38.el6 |
ruby193-ruby-tcltkRed Hat:openshift:1.2::el6 |
before 0:1.9.3.448-38.el6 | 0:1.9.3.448-38.el6 |
ruby193-rubygem-bigdecimalRed Hat:openshift:1.2::el6 |
before 0:1.1.0-38.el6 | 0:1.1.0-38.el6 |
ruby193-rubygem-io-consoleRed Hat:openshift:1.2::el6 |
before 0:0.3-38.el6 | 0:0.3-38.el6 |
ruby193-rubygem-jsonRed Hat:openshift:1.2::el6 |
before 0:1.5.5-38.el6 | 0:1.5.5-38.el6 |
ruby193-rubygem-rakeRed Hat:openshift:1.2::el6 |
before 0:0.9.2.2-38.el6 | 0:0.9.2.2-38.el6 |
ruby193-rubygem-rdocRed Hat:openshift:1.2::el6 |
before 0:3.9.5-38.el6 | 0:3.9.5-38.el6 |
ruby193-rubygemsRed Hat:openshift:1.2::el6 |
before 0:1.8.23-38.el6 | 0:1.8.23-38.el6 |
ruby193-rubygems-develRed Hat:openshift:1.2::el6 |
before 0:1.8.23-38.el6 | 0:1.8.23-38.el6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2013-4073 is a medium vulnerability (CVSS 6.8) in Ruby-lang Ruby, published July 26, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.76%, the 86th percentile. Fixed in ruby1.9.1 1.9.2.0-2+deb6u1.
References
debian.org/security/2013/dsa-2738
ubuntu.com/usn/USN-1902-1
forums.interworx.com/threads/8000-InterWorx-Version-5-0-14-Released-on-Beta-Channel%21
rhn.redhat.com/errata/RHSA-2013-1090.html
rhn.redhat.com/errata/RHSA-2013-1103.html
lists.apple.com/archives/security-announce/2013/Oct/msg00004.html
Show 24 moreShow less
support.apple.com/kb/HT6150
puppet.com/security/cve/cve-2013-4073
bugzilla.redhat.com/show_bug.cgi?id=979251
lists.opensuse.org/opensuse-updates/2013-07/msg00042.html
rhn.redhat.com/errata/RHSA-2013-1137.html
lists.opensuse.org/opensuse-updates/2013-07/msg00044.html
debian.org/security/2013/dsa-2809
ruby-lang.org/en/news/2013/06/27/hostname-check-bypassing-vulnerability-in-openssl-client-cve-2013-4073
nvd.nist.gov/vuln/detail/CVE-2013-4073
forums.interworx.com/threads/8000-InterWorx-Version-5-0-14-Released-on-Beta-Channel!
github.com/advisories/GHSA-3gpq-xx45-4rr9
docs.bell-sw.com/security/cves/CVE-2013-4073
advisories.mageia.org/MGASA-2013-0229.html
ubuntu.com/usn/usn-1902-1
bugs.mageia.org/show_bug.cgi?id=10637
access.redhat.com/errata/RHSA-2013:1090
access.redhat.com/security/updates/classification
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_1090.json
access.redhat.com/security/cve/CVE-2013-4073
cve.org/CVERecord?id=CVE-2013-4073
access.redhat.com/errata/RHSA-2013:1103
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_1103.json
access.redhat.com/errata/RHSA-2013:1137
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_1137.json