CVE-2019-7307

Apport contains a TOCTTOU vulnerability when reading the users ~/.apport-ignore.xml

State
Published
Severity
6.5 Medium
Published
Aug 29, 2019
Updated
Sep 16, 2024
Reserved
Feb 1, 2019

Read the record on cve.org

Description

Apport before versions 2.14.1-0ubuntu3.29+esm1, 2.20.1-0ubuntu2.19, 2.20.9-0ubuntu7.7, 2.20.10-0ubuntu27.1, 2.20.11-0ubuntu5 contained a TOCTTOU vulnerability when reading the users ~/.apport-ignore.xml file, which allows a local attacker to replace this file with a symlink to any other file on the system and so cause Apport to include the contents of this other file in the resulting crash report. The crash report could then be read by that user either by causing it to be uploaded and reported to Launchpad, or by leveraging some other vulnerability to read the resulting crash report, and so allow the user to read arbitrary files on the system.

Scores

CVSSScoreVectorSource
3.06.5 MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:Ncanonical

Weaknesses

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

Affected Products

ProductVersions
apportUbuntu
  • before 2.14.1-0ubuntu3.29+esm1Affected
  • before 2.20.1-0ubuntu2.19Affected
  • before 2.20.9-0ubuntu7.7Affected
  • before 2.20.10-0ubuntu27.1Affected
  • before 2.20.11-0ubuntu5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.