Botan: CLI utility `ocsp_check` accepts unauthenticated responses
Summary
Botan is a C++ cryptography library. From 1.11.34 until 3.13.0, the botan ocsp_check command requested an OCSP response from a certificate's Authority Information Access URL without verifying the response signature or authorizing the signer. A malicious responder or on-path attacker could return a m...
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| randombit | botan | — | — |
Original description The description as published by the source.
Botan is a C++ cryptography library. From 1.11.34 until 3.13.0, the botan ocsp_check command requested an OCSP response from a certificate's Authority Information Access URL without verifying the response signature or authorizing the signer. A malicious responder or on-path attacker could return a matching and timely GOOD response with an empty, invalid, or unauthorized signature, causing a revoked certificate to produce exit status 0 and OCSP check OK output. Only the command-line interface is affected. This issue is fixed in version 3.13.0.
Source: CVE.org (CVE Program・cvelistV5) NVD