Vulnerabilities · 2013 · Ruby-lang
CVE-2013-4073
Ruby-lang Ruby vulnerability
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.
Affected products
Ruby. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ruby-lang Ruby runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.ruby-lang.org/en/news/2013/06/27/hostname-check-bypassing-vulnerability-in-openssl-cli · Vendor Advisory
- forums.interworx.com/threads/8000-InterWorx-Version-5-0-14-Released-on-Beta-Channel%21
- lists.apple.com/archives/security-announce/2013/Oct/msg00004.html
- lists.opensuse.org/opensuse-updates/2013-07/msg00042.html
- lists.opensuse.org/opensuse-updates/2013-07/msg00044.html
- rhn.redhat.com/errata/RHSA-2013-1090.html
- rhn.redhat.com/errata/RHSA-2013-1103.html
- rhn.redhat.com/errata/RHSA-2013-1137.html
- nvd.nist.gov/vuln/detail/CVE-2013-4073
- cve.org/CVERecord?id=CVE-2013-4073
More vulnerabilities in Ruby-lang products
CVE-2026-46727CVE-2025-58767CVE-2025-43857CVE-2025-27788CVE-2025-27221CVE-2025-27220CVE-2025-27219CVE-2025-6442All 115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.