crypto/digest.c in Pengutronix barebox through 2021.07.0 leaks timing information because memcmp is used during digest verification.
{
"cpe": "cpe:2.3:a:pengutronix:barebox:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "2021.07.0"
}
],
"source": "CPE_RANGE"
}"2026-07-09T00:21:04Z"
[
{
"target": {
"function": "digest_generic_verify",
"file": "crypto/digest.c"
},
"id": "CVE-2021-37847-8199349f",
"digest": {
"function_hash": "301584889156069090904562622525040506434",
"length": 319.0
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/saschahauer/barebox/commit/0a9f9a7410681e55362f8311537ebc7be9ad0fbe"
},
{
"target": {
"file": "crypto/digest.c"
},
"id": "CVE-2021-37847-b9d9c9e4",
"digest": {
"line_hashes": [
"271334619018219239287410104355572862397",
"320835556679015987297444744653922937837",
"248201803692037093671842504412337342173",
"285480366245170309515497581774649101074",
"27282573744850338018709588609223000560",
"258290346364336418964311691047936510878",
"254309928623789668069109864278546826273",
"316172920102987295883885030603775344160",
"339271843571112485462380948539623857566"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/saschahauer/barebox/commit/0a9f9a7410681e55362f8311537ebc7be9ad0fbe"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-37847.json"