Time of Check Time of Use (TOCTOU) Affecting rauc/rauc package, versions [,1.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.42% (70th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-RAUCRAUC-2366919
  • published26 Jan 2022
  • disclosed21 Dec 2020
  • creditUnknown

Introduced: 21 Dec 2020

CVE-2020-25860  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade rauc/rauc to version 1.5 or higher.

Overview

Affected versions of this package are vulnerable to Time of Check Time of Use (TOCTOU). The install.c module in the Pengutronix RAUC update client prior to version 1.5 has a Time-of-Check Time-of-Use vulnerability, where signature verification on an update file takes place before the file is reopened for installation. An attacker who can modify the update file just before it is reopened can install arbitrary code on the device.

References

CVSS Base Scores

version 3.1