{"id":"CVE-2021-24115","aliases":["ALPINE-CVE-2021-24115","AZL-44961","DEBIAN-CVE-2021-24115","EUVD-2021-11030","GHSA-cj2q-f8cp-cqmf","MGASA-2021-0329","UBUNTU-CVE-2021-24115","openSUSE-SU-2021:0765-1","openSUSE-SU-2021:0794-1"],"status":"published","title":"In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding...","description":"In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32, base58, base64, and hex).","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01922,"percentile":0.80097,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2021-02-22T01:57:58Z","modified":"2026-11-05T05:36:30Z","fixes":[{"ecosystem":"Alpine:v3.11","package":"botan","fixed_in":["2.11.0-r4"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"botan","fixed_in":["2.11.0-r6"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"botan","fixed_in":["2.11.0-r6"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"botan","fixed_in":["2.17.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"botan","fixed_in":["2.17.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"botan","fixed_in":["2.17.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"botan","fixed_in":["2.17.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"botan","fixed_in":["2.17.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"botan","fixed_in":["2.17.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"botan","fixed_in":["2.17.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"botan","fixed_in":["2.17.3-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"botan","fixed_in":["2.17.3+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"botan","fixed_in":["2.17.3+dfsg-1"],"sources":["osv"]},{"ecosystem":"Mageia:7","package":"botan2","fixed_in":["2.9.0-2.2.mga7"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP1","package":"Botan","fixed_in":["2.10.0-bp152.4.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP2","package":"Botan","fixed_in":["2.10.0-bp152.4.3.1","2.10.0-bp152.4.6.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.2","package":"Botan","fixed_in":["2.10.0-bp152.4.3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.11","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.0-r4"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.0-r6"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.0-r6"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.17.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.17.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.17.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.17.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.17.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.17.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.17.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.17.3-r0"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"botan2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.14.0-2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.17.3+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.17.3+dfsg-1"}]}]},{"source":"osv","ecosystem":"Mageia:7","package":"botan2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.0-2.2.mga7"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"botan1.10","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.5-1","1.10.5-1ubuntu1","1.10.5-1+deb7u1ubuntu0.14.04.1","1.10.5-1+deb7u1ubuntu0.14.04.1+esm1"]},{"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":"Ubuntu:18.04:LTS","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.0-3","2.4.0-4","2.4.0-5ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"botan1.10","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.16-1","1.10.17-0.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.0-2","2.9.0-2build1","2.12.1-2","2.12.1-2build1"]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP1","package":"Botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.0-bp152.4.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP2","package":"Botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.0-bp152.4.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.2","package":"Botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.0-bp152.4.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP2","package":"Botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.0-bp152.4.6.1"}]}]}],"products":[{"vendor":"botan_project","product":"botan"}],"references":[{"url":"https://github.com/randombit/botan/compare/2.17.2...2.17.3","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://github.com/randombit/botan/pull/2549","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://botan.randombit.net/news.html","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Vendor Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24115","tags":["web"]},{"url":"https://github.com/advisories/GHSA-cj2q-f8cp-cqmf"},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-24115","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-24115","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0329.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29057","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/66VDUR6MFH345POI2NK4EL4N3NCJVT5O/","tags":["web","advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-24115","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-24115","tags":["report"]},{"url":"https://bugzilla.suse.com/1182670","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2021-24115","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/TRODZQSOBHO3LLEEIA7RY3RIUCYF4FBC/","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2021-24115","description":"In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32, base58, base64, and hex).","status":"published","published":"2021-02-22T01:57:58Z","modified":"2024-08-03T19:21:18.299Z","updated_at":"2026-11-02T14:33:05.000797Z"}],"euvd":[{"id":"EUVD-2021-11030","description":"In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32, base58, base64, and hex).","status":"published","published":"2021-02-22T01:57:58Z","modified":"2024-08-03T19:21:18Z","updated_at":"2026-11-03T03:24:59.661237Z"}],"ghsa":[{"id":"GHSA-cj2q-f8cp-cqmf","title":"In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding...","description":"In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32, base58, base64, and hex).","status":"published","published":"2022-05-24T17:42:48Z","modified":"2024-04-04T03:04:39Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T14:56:13.24073Z"}],"nvd":[{"id":"CVE-2021-24115","description":"In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32, base58, base64, and hex).","status":"published","published":"2021-02-22T02:15:14.18Z","modified":"2026-06-17T03:39:25.23Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/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"}],"updated_at":"2026-11-02T14:06:50.031227Z"}],"osv":[{"id":"ALPINE-CVE-2021-24115","description":"In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32, base58, base64, and hex).","status":"published","published":"2021-02-22T02:15:14.18Z","modified":"2026-10-23T17:17:56.159216882Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:27:48.646074Z"},{"id":"AZL-44961","title":"CVE-2021-24115 affecting package botan2 2.14.0-2","description":"In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32, base58, base64, and hex).","status":"published","published":"2021-02-22T02:15:14Z","modified":"2026-11-05T05:36:30Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-05T16:41:20.321068Z"},{"id":"CVE-2021-24115","description":"In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32, base58, base64, and hex).","status":"published","published":"2021-02-22T02:15:14.18Z","modified":"2026-10-20T10:53:38.554107805Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:18.778776Z"},{"id":"DEBIAN-CVE-2021-24115","description":"In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32, base58, base64, and hex).","status":"published","published":"2021-02-22T02:15:14.18Z","modified":"2026-10-23T18:03:25.260593893Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:34.637046Z"},{"id":"UBUNTU-CVE-2021-24115","description":"In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32, base58, base64, and hex).","status":"published","published":"2021-02-22T02:15:00Z","modified":"2026-04-22T12:48:55.056301Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:26.779273Z"},{"id":"MGASA-2021-0329","title":"Updated botan2 packages fix security vulnerability","description":"Updated botan2 packages fix security vulnerability:\n\nIn Botan before 2.17.3, constant-time computations are not used for\ncertain decoding and encoding operations (base32, base58, base64, and\nhex) (CVE-2021-24115).\n","status":"published","published":"2021-07-10T12:56:54Z","modified":"2026-04-16T04:43:06.385198135Z","updated_at":"2026-11-02T15:49:41.509337Z"},{"id":"openSUSE-SU-2021:0765-1","title":"Security update for Botan","description":"This update for Botan fixes the following issues:\n\n- CVE-2021-24115  In Botan before 2.17.3, or this backport, constant-time computations are not used for certain decoding and encoding operations (boo#1182670)\n","status":"published","published":"2021-05-22T05:04:06Z","modified":"2026-02-04T03:19:37.975557Z","updated_at":"2026-11-02T16:58:31.879684Z"},{"id":"openSUSE-SU-2021:0794-1","title":"Security update for Botan","description":"This update for Botan fixes the following issues:\n\n- CVE-2021-24115  In Botan before 2.17.3, or this backport, constant-time computations are not used for certain decoding and encoding operations (boo#1182670)\n\nThis update was imported from the openSUSE:Leap:15.2:Update update project.","status":"published","published":"2021-05-25T12:05:25Z","modified":"2026-02-04T02:39:15.088267Z","updated_at":"2026-11-02T16:58:31.879684Z"}]}}
