CVE-2013-4073

medium
Published 2013-08-18 · Modified 2026-04-29
CVSS v3
CVSS v2
6.8
VIR risk
6.8

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2013-4073

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — http://www.ruby-lang.org/en/news/2013/06/27/hostname-check-bypassing-vulnerability-in-openssl-client-cve-2013-4073/

OS impact

OSVersionStatusFixed in
debian debianbullseyefixed0

Application impact

VendorProductVersionsFixed
ruby ruby-langruby1.8.6-26
ruby ruby-langruby1.8.7
ruby ruby-langruby1.9.3
ruby ruby-langruby2.0.0

References

CWEs

CWE-310

Verify integrity in audit chain (admin only). AS-IS.