Time-of-check Time-of-use (TOCTOU) Affecting rauc package, versions <1.5-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.45% (74th 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-DEBIANUNSTABLE-RAUC-1053408
  • published22 Dec 2020
  • disclosed21 Dec 2020

Introduced: 21 Dec 2020

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

How to fix?

Upgrade Debian:unstable rauc to version 1.5-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rauc package and not the rauc package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1