Time-of-check Time-of-use (TOCTOU) Affecting apport package, versions <2.20.9-0ubuntu7.14


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.06% (27th 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-UBUNTU1804-APPORT-564150
  • published2 Apr 2020
  • disclosed22 Apr 2020

Introduced: 2 Apr 2020

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

How to fix?

Upgrade Ubuntu:18.04 apport to version 2.20.9-0ubuntu7.14 or higher.

NVD Description

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

Time-of-check Time-of-use Race Condition vulnerability on crash report ownership change in Apport allows for a possible privilege escalation opportunity. If fs.protected_symlinks is disabled, this can be exploited between the os.open and os.chown calls when the Apport cron script clears out crash files of size 0. A symlink with the same name as the deleted file can then be created upon which chown will be called, changing the file owner to root. Fixed in versions 2.20.1-0ubuntu2.23, 2.20.9-0ubuntu7.14, 2.20.11-0ubuntu8.8 and 2.20.11-0ubuntu22.

CVSS Scores

version 3.1