Name | CVE-2013-4073 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-2738-1, DSA-2809-1 |
Debian Bugs | 714541, 714543 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
puppet (PTS) | jessie, jessie (lts) | 3.7.2-4+deb8u1 | fixed |
stretch | 4.8.2-5 | fixed | |
buster | 5.5.10-4 | fixed | |
bullseye | 5.5.22-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
puppet | source | (unstable) | (not affected) | |||
ruby1.8 | source | squeeze | 1.8.7.302-2squeeze2 | DSA-2809-1 | ||
ruby1.8 | source | wheezy | 1.8.7.358-7.1+deb7u1 | DSA-2809-1 | ||
ruby1.8 | source | (unstable) | 1.8.7.358-7.1 | 714541 | ||
ruby1.9.1 | source | squeeze | 1.9.2.0-2+deb6u1 | DSA-2738-1 | ||
ruby1.9.1 | source | wheezy | 1.9.3.194-8.1+deb7u1 | DSA-2738-1 | ||
ruby1.9.1 | source | (unstable) | 1.9.3.194-8.2 | 714543 |
- puppet <not-affected> (Only affects Puppet Enterprise)
http://www.ruby-lang.org/en/news/2013/06/27/hostname-check-bypassing-vulnerability-in-openssl-client-cve-2013-4073/
https://github.com/ruby/ruby/commit/2669b84d407ab431e965145c827db66c91158f89 (1.9.3)
https://github.com/ruby/ruby/commit/961bf7496ded3acfe847cf56fa90bbdcfd6e614f (1.8.7)
Regression with patch: https://bugs.ruby-lang.org/issues/8575
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=41812&view=revision