PT-2021-21886 · Pengutronix · Barebox

Published

2021-08-02

·

Updated

2021-09-21

·

CVE-2021-37847

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions: Pengutronix barebox versions through 2021.07.0
Description: The issue is related to the crypto/digest.c file in Pengutronix barebox, where the use of memcmp during digest verification leaks timing information.
Recommendations: For versions through 2021.07.0, consider updating to a version later than 2021.07.0 to resolve the issue. As a temporary workaround, consider modifying the crypto/digest.c file to use a constant-time comparison function instead of memcmp until a patch is available.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

CVE-2021-37847

Affected Products

Barebox