{"id":"CVE-2017-2801","aliases":["DEBIAN-CVE-2017-2801","DLA-915-1","DSA-3939-1","EUVD-2017-11944","GHSA-x8qg-whhh-m3ph","MGASA-2017-0321","MGASA-2017-0327","SUSE-SU-2017:1222-1","UBUNTU-CVE-2017-2801","openSUSE-SU-2024:10594-1"],"status":"published","title":"A programming error exists in a way Randombit Botan cryptographic library version 2.0.1...","description":"A programming error exists in a way Randombit Botan cryptographic library version 2.0.1 implements x500 string comparisons which could lead to certificate verification issues and abuse. A specially crafted X509 certificate would need to be delivered to the client or server application in order to trigger this vulnerability.","severity":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.01317,"percentile":0.70977,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2017-04-25T00:00:00Z","modified":"2026-10-24T10:31:03Z","fixes":[{"ecosystem":"Debian:7","package":"botan1.10","fixed_in":["1.10.5-1+deb7u3"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"botan1.10","fixed_in":["1.10.8-2+deb8u2"],"sources":["osv"]},{"ecosystem":"Mageia:6","package":"botan","fixed_in":["1.10.14-5.1.mga6"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"botan1.10","fixed_in":["1.10.5-1+deb7u1ubuntu0.14.04.1+esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:7","package":"botan1.10","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.5-1+deb7u3"}]}],"versions":["1.10.5-1","1.10.5-1+deb7u1","1.10.5-1+deb7u2"]},{"source":"osv","ecosystem":"Debian:8","package":"botan1.10","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.8-2+deb8u2"}]}],"versions":["1.10.8-2","1.10.8-2+deb8u1"]},{"source":"osv","ecosystem":"Mageia:5","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.14-1.mga5"}]}],"bundled":2},{"source":"osv","ecosystem":"Mageia:6","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.14-5.1.mga6"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP1","package":"Botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.9-3.1"}]}],"bundled":9},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"Botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.9-3.1"}]}],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"botan1.10","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.5-1+deb7u1ubuntu0.14.04.1+esm1"}]}],"versions":["1.10.5-1","1.10.5-1ubuntu1","1.10.5-1+deb7u1ubuntu0.14.04.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"botan1.10","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.10-6","1.10.12-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"Botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.1-1.3"}]}],"bundled":7}],"products":[{"vendor":"botan_project","product":"botan"},{"vendor":"randombit","product":"botan"}],"references":[{"url":"http://www.securityfocus.com/bid/98106","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","US Government Resource","advisory"]},{"url":"http://www.debian.org/security/2017/dsa-3939","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://talosintelligence.com/vulnerability_reports/TALOS-2017-0294","tags":["x_refsource_MISC","x_transferred","Exploit","Mitigation","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-2801"},{"url":"https://github.com/advisories/GHSA-x8qg-whhh-m3ph"},{"url":"https://advisories.mageia.org/MGASA-2017-0321.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=20014","tags":["report"]},{"url":"https://botan.randombit.net/security.html","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/Z2Y3JLMTE3VIV4X5X6SXVZTJBDDLCS3D/","tags":["web"]},{"url":"https://www.debian.org/security/2017/dsa-3939","tags":["web"]},{"url":"https://advisories.mageia.org/MGASA-2017-0327.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=21528","tags":["report"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20171222-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1013209","tags":["report"]},{"url":"https://bugzilla.suse.com/1033605","tags":["report"]},{"url":"https://bugzilla.suse.com/965620","tags":["report"]},{"url":"https://bugzilla.suse.com/965621","tags":["report"]},{"url":"https://bugzilla.suse.com/968025","tags":["report"]},{"url":"https://bugzilla.suse.com/968026","tags":["report"]},{"url":"https://bugzilla.suse.com/968030","tags":["report"]},{"url":"https://bugzilla.suse.com/974521","tags":["report"]},{"url":"https://bugzilla.suse.com/977420","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2014-9742","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-5726","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-5727","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-7827","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-2194","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-2195","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-2849","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9132","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-2801","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-2801","tags":["report"]},{"url":"https://github.com/randombit/botan/commit/c927101675e5f63fc0bdd93c5a4825adc54323b4","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-2801","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14737","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-12435","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-20187","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-9127","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-9860","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-2801","description":"A programming error exists in a way Randombit Botan cryptographic library version 2.0.1 implements x500 string comparisons which could lead to certificate verification issues and abuse. A specially crafted X509 certificate would need to be delivered to the client or server application in order to trigger this vulnerability.","status":"published","published":"2017-05-24T14:00:00Z","modified":"2024-08-05T14:02:07.813Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:33:15.543086Z"}],"euvd":[{"id":"EUVD-2017-11944","description":"A programming error exists in a way Randombit Botan cryptographic library version 2.0.1 implements x500 string comparisons which could lead to certificate verification issues and abuse. A specially crafted X509 certificate would need to be delivered to the client or server application in order to trigger this vulnerability.","status":"published","published":"2017-05-24T14:00:00Z","modified":"2024-08-05T14:02:07Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-03T02:39:20.035866Z"}],"ghsa":[{"id":"GHSA-x8qg-whhh-m3ph","title":"A programming error exists in a way Randombit Botan cryptographic library version 2.0.1...","description":"A programming error exists in a way Randombit Botan cryptographic library version 2.0.1 implements x500 string comparisons which could lead to certificate verification issues and abuse. A specially crafted X509 certificate would need to be delivered to the client or server application in order to trigger this vulnerability.","status":"published","published":"2022-05-13T01:01:26Z","modified":"2023-02-01T05:02:26Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:49:54.32219Z"}],"nvd":[{"id":"CVE-2017-2801","description":"A programming error exists in a way Randombit Botan cryptographic library version 2.0.1 implements x500 string comparisons which could lead to certificate verification issues and abuse. A specially crafted X509 certificate would need to be delivered to the client or server application in order to trigger this vulnerability.","status":"published","published":"2017-05-24T14:29:00.537Z","modified":"2026-06-17T01:16:53.4Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:03:49.449157Z"}],"osv":[{"id":"CVE-2017-2801","description":"A programming error exists in a way Randombit Botan cryptographic library version 2.0.1 implements x500 string comparisons which could lead to certificate verification issues and abuse. A specially crafted X509 certificate would need to be delivered to the client or server application in order to trigger this vulnerability.","status":"published","published":"2017-05-24T14:29:00.537Z","modified":"2026-10-24T10:31:03.724899319Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:05.486486Z"},{"id":"UBUNTU-CVE-2017-2801","description":"A programming error exists in a way Randombit Botan cryptographic library version 2.0.1 implements x500 string comparisons which could lead to certificate verification issues and abuse. A specially crafted X509 certificate would need to be delivered to the client or server application in order to trigger this vulnerability.","status":"published","published":"2017-05-24T14:29:00Z","modified":"2026-04-22T11:23:54.771135Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:14.977781Z"},{"id":"DLA-915-1","title":"botan1.10 - security update","status":"published","published":"2017-04-25T00:00:00Z","modified":"2026-03-09T02:08:59.217643Z","updated_at":"2026-11-02T15:46:13.584509Z"},{"id":"DSA-3939-1","title":"botan1.10 - security update","status":"published","published":"2017-08-12T00:00:00Z","modified":"2026-03-09T01:20:41.048221Z","updated_at":"2026-11-02T15:46:16.523846Z"},{"id":"MGASA-2017-0321","title":"Updated botan packages fix security vulnerabilities","description":"While decoding BER length fields, an integer overflow could occur. This\ncould occur while parsing untrusted inputs such as X.509 certificates.\nThe overflow  does not seem to lead to any obviously exploitable\ncondition, but exploitation cannot be positively ruled out. Only 32-bit\nplatforms are likely affected; to cause an overflow on 64-bit the parsed\ndata would have to be many gigabytes (CVE-2016-9132).\n\nAleksandar Nikolic discovered that an error in the x509 parser of the\nBotan crypto library could result in an out-of-bounds memory read,\nresulting in denial of service or an information leak if processing a\nmalformed certificate (CVE-2017-2801).\n","status":"published","published":"2017-09-01T21:10:29Z","modified":"2026-04-16T06:24:31.363667594Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"MGASA-2017-0327","title":"Updated botan packages fix security vulnerability","description":"Aleksandar Nikolic discovered that an error in the x509 parser of the\nBotan crypto library could result in an out-of-bounds memory read,\nresulting in denial of service or an information leak if processing a\nmalformed certificate (CVE-2017-2801).\n","status":"published","published":"2017-09-03T14:31:33Z","modified":"2026-04-16T06:23:22.726054199Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"openSUSE-SU-2024:10594-1","title":"Botan-2.18.1-1.3 on GA media","description":"These are all security issues fixed in the Botan-2.18.1-1.3 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:20:29.939433Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"SUSE-SU-2017:1222-1","title":"Security update for Botan","description":"\nThis update for Botan to version 1.10.9 fixes the following issues:\n\nThese security issues were fixed:\n\n- CVE-2015-5726: The BER decoder in Botan 0.10.x allowed remote attackers to cause a denial of service (application crash) via an empty BIT STRING in ASN.1 data (bsc#968025).\n- CVE-2015-5727: The BER decoder in Botan 1.10.x allowed remote attackers to cause a denial of service (memory consumption) via unspecified vectors, related to a length field (bsc#968026).\n- CVE-2015-7827: Botan make it easier for remote attackers to conduct million-message attacks by measuring time differences, related to decoding of PKCS#1 padding (bsc#968030).\n- CVE-2016-2849: Botan do not use a constant-time algorithm to perform a modular inverse on the signature nonce k, which might allowed remote attackers to obtain ECDSA secret keys via a timing side-channel attack (bsc#977420).\n- CVE-2016-9132: In Botan 1.8.0 when decoding BER data an integer overflow could occur, which would cause an incorrect length field to be computed. Some API callers may use the returned (incorrect and attacker controlled) length field in a way which later caused memory corruption or other failure (bsc#1013209).\n- CVE-2016-2194: The ressol function in Botan allowed remote attackers to cause a denial of service (infinite loop) via unspecified input to the OS2ECP function, related to a composite modulus (bsc#965621).\n- CVE-2016-2195: Integer overflow in the PointGFp constructor in Botan allowed remote attackers to overwrite memory and possibly execute arbitrary code via a crafted ECC point, which triggers a heap-based buffer overflow (bsc#965620).\n- CVE-2017-2801: Incorrect comparison in X.509 DN strings (bsc#1033605).\n- CVE-2014-9742: The Miller-Rabin primality check in Botan improperly used a single random base, which made it easier for remote attackers to defeat cryptographic protection mechanisms via a DH group (bsc#974521).\n\nThese non-security issues were fixed:\n\n- Fixed EAX tag verification to run in constant time\n- The default TLS policy now disables SSLv3.\n- A crash could have occured when reading from a blocking random device if the\n  device initially indicated that entropy was available but a concurrent\n  process drained the entropy pool before the read was initiated.\n- Fixed decoding indefinite length BER constructs that contain a context sensitive\n  tag of zero.\n- The key length limit on HMAC has been raised to 512 bytes, allowing the use\n  of very long passphrases with PBKDF2.\n- OAEP had two bugs, one of which allowed it to be used even if the key was\n  too small, and the other of which would cause a crash during decryption if\n  the EME data was too large for the associated key.\n","status":"published","published":"2017-05-09T11:34:34Z","modified":"2026-02-04T03:47:44.080543Z","updated_at":"2026-11-02T15:53:43.83457Z"}]}}
