{"id":"CVE-2014-3504","aliases":["BELL-CVE-2014-3504","DEBIAN-CVE-2014-3504","EUVD-2014-3505","GHSA-4425-mwr9-99xc","MGASA-2014-0353","UBUNTU-CVE-2014-3504","USN-2315-1","openSUSE-SU-2024:10569-1"],"status":"published","title":"The (1) serf_ssl_cert_issuer, (2) serf_ssl_cert_subject, and (3) serf_ssl_cert_certificate...","description":"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.","severity":{"version":"2.0","score":4,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0315,"percentile":0.88026,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2014-08-12T00:00:00Z","modified":"2026-10-23T15:47:28Z","fixes":[{"ecosystem":"Debian:12","package":"serf","fixed_in":["1.3.7-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"serf","fixed_in":["1.3.7-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"serf","fixed_in":["1.3.7-1"],"sources":["osv"]},{"ecosystem":"Mageia:3","package":"serf","fixed_in":["1.1.1-2.1.mga3"],"sources":["osv"]},{"ecosystem":"Mageia:4","package":"serf","fixed_in":["1.3.2-2.1.mga4"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"serf","fixed_in":["1.3.3-1ubuntu0.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"libserf","fixed_in":["1.3.9-1.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"serf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.7-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"serf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.7-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"serf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.7-1"}]}]},{"source":"osv","ecosystem":"Mageia:3","package":"serf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-2.1.mga3"}]}]},{"source":"osv","ecosystem":"Mageia:4","package":"serf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-2.1.mga4"}]}]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"serf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.3-1ubuntu0.1"}]}],"versions":["1.1.0-2ubuntu1","1.3.3-1"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"serf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.3-1ubuntu0.1"}]}],"versions":["1.1.0-2ubuntu1","1.3.3-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"libserf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.9-1.2"}]}]}],"products":[{"vendor":"apache","product":"subversion"},{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"serf_project","product":"serf"}],"references":[{"url":"http://ubuntu.com/usn/usn-2315-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/69238","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://secunia.com/advisories/60721","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://subversion.apache.org/security/CVE-2014-3522-advisory.txt","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://groups.google.com/forum/#%21topic/serf-dev/NvgPoK6sFsc","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-updates/2014-08/msg00038.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://security.gentoo.org/glsa/201610-05","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/59584","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3504"},{"url":"https://groups.google.com/forum/#!topic/serf-dev/NvgPoK6sFsc","tags":["report"]},{"url":"https://github.com/advisories/GHSA-4425-mwr9-99xc"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2014-3504","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2014-3504","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2014-0353.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=13914","tags":["report"]},{"url":"http://www.ubuntu.com/usn/usn-2315-1/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2014-3504","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-2315-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-3504","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2014-3504","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2014-3504","description":"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.","status":"published","published":"2014-08-19T18:00:00Z","modified":"2024-08-06T10:43:06.34Z","updated_at":"2026-11-02T14:33:44.569327Z"}],"euvd":[{"id":"EUVD-2014-3505","description":"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.","status":"published","published":"2014-08-19T18:00:00Z","modified":"2024-08-06T10:43:06Z","updated_at":"2026-11-03T01:57:10.864648Z"}],"ghsa":[{"id":"GHSA-4425-mwr9-99xc","title":"The (1) serf_ssl_cert_issuer, (2) serf_ssl_cert_subject, and (3) serf_ssl_cert_certificate...","description":"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.","status":"published","published":"2022-05-14T03:07:30Z","modified":"2025-04-12T12:37:47Z","updated_at":"2026-11-02T15:01:18.41255Z"}],"nvd":[{"id":"CVE-2014-3504","description":"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.","status":"published","published":"2014-08-19T18:55:02.217Z","modified":"2026-06-17T00:08:19.273Z","cvss":[{"version":"2.0","score":4,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:02:55.19899Z"}],"osv":[{"id":"BELL-CVE-2014-3504","title":"CVE-2014-3504 does not affect BellSoft software","status":"withdrawn","published":"2014-08-19T18:55:00Z","modified":"2026-03-05T07:15:14.209707Z","cvss":[{"version":"2.0","score":4,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:N","level":"medium"}],"updated_at":"2026-11-02T15:28:13.47097Z"},{"id":"CVE-2014-3504","description":"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.","status":"published","published":"2014-08-19T18:55:02Z","modified":"2026-04-16T06:16:49.32349803Z","updated_at":"2026-11-02T15:43:59.654289Z"},{"id":"DEBIAN-CVE-2014-3504","description":"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.","status":"published","published":"2014-08-19T18:55:02.217Z","modified":"2026-10-23T15:47:28.265151091Z","updated_at":"2026-11-02T15:45:26.134753Z"},{"id":"MGASA-2014-0353","title":"Updated serf packages fix CVE-2014-3504","description":"Updated serf packages fix security vulnerability:\n\nBen Reser discovered that serf did not correctly handle SSL certificates\nwith NUL bytes in the CommonName or SubjectAltNames fields. A remote\nattacker could exploit this to perform a man in the middle attack to view\nsensitive information or alter encrypted communications (CVE-2014-3504).\n","status":"published","published":"2014-08-26T23:04:56Z","modified":"2026-04-16T06:25:15.81570039Z","updated_at":"2026-11-02T15:49:39.488462Z"},{"id":"openSUSE-SU-2024:10569-1","title":"libserf-1-1-1.3.9-1.2 on GA media","description":"These are all security issues fixed in the libserf-1-1-1.3.9-1.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2025-05-07T18:09:00.091329Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"UBUNTU-CVE-2014-3504","description":"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.","status":"published","published":"2014-08-12T00:00:00Z","modified":"2026-04-22T09:40:02.84204Z","updated_at":"2026-11-02T15:54:09.010095Z"},{"id":"USN-2315-1","title":"serf vulnerability","description":"Ben Reser discovered that serf did not correctly handle SSL certificates\nwith NUL bytes in the CommonName or SubjectAltNames fields. A remote\nattacker could exploit this to perform a machine-in-the-middle attack to view\nsensitive information or alter encrypted communications.\n","status":"published","published":"2014-08-14T17:33:17Z","modified":"2026-04-22T08:58:28.683912Z","updated_at":"2026-11-02T16:58:09.227524Z"}]}}
