{"id":"UBUNTU-CVE-2014-3504","details":"The (1) serf_ssl_cert_issuer, (2) serf_ssl_cert_subject, and (3) serf_ssl_cert_certificate functions in Serf 0.2.0 through 1.3.x before 1.3.7 does not properly handle a NUL byte in a domain name in the subject's Common Name (CN) 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.","modified":"2026-04-22T09:40:02.842040Z","published":"2014-08-12T00:00:00Z","related":["USN-2315-1"],"upstream":["CVE-2014-3504"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2014-3504"},{"type":"REPORT","url":"https://groups.google.com/forum/#!topic/serf-dev/NvgPoK6sFsc"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2315-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2014-3504"}],"affected":[{"package":{"name":"serf","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/serf@1.3.3-1ubuntu0.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.3-1ubuntu0.1"}]}],"versions":["1.1.0-2ubuntu1","1.3.3-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.3.3-1ubuntu0.1","binary_name":"libserf-1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-3504.json"}}],"schema_version":"1.7.5","severity":[{"type":"Ubuntu","score":"medium"}]}