Skip to content
OpenAdvisories
Medium · 6.5 CVE-2019-7307 EUVD-2019-16851GHSA-75vh-qgvc-r573

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

Published Aug 29, 2019 · Updated Sep 16, 2024 · Assigned by canonical

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.

Affected products

VendorProductAffectedFixed
Ubuntu apport before 2.14.1-0ubuntu3.29+esm1, before 2.20.1-0ubuntu2.19, before 2.20.9-0ubuntu7.7, before 2.20.10-0ubuntu27.1, before 2.20.11-0ubuntu5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS apport 2.20.9-0ubuntu7.7 USN-4051-1
Ubuntu 16.04 LTS apport 2.20.1-0ubuntu2.19 USN-4051-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS apport 2.14.1-0ubuntu3.29+esm1 USN-4051-2

Advisories 2

References