CWE
367
Advisory Published
Updated

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

First published: Thu Aug 29 2019(Updated: )

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.

Credit: security@ubuntu.com

Affected SoftwareAffected VersionHow to fix
Ubuntu Python3-apport=2.14.1
Ubuntu=14.04
Ubuntu Python3-apport=2.20.1
Ubuntu=16.04
Ubuntu Python3-apport=2.20.9
Ubuntu=18.04
Ubuntu Python3-apport=2.20.10
Ubuntu=19.10
Ubuntu=19.04
All of
Ubuntu Python3-apport=2.14.1
Ubuntu=14.04
All of
Ubuntu Python3-apport=2.20.1
Ubuntu=16.04
All of
Ubuntu Python3-apport=2.20.9
Ubuntu=18.04
All of
Ubuntu Python3-apport=2.20.10
Ubuntu=19.10
All of
Ubuntu Python3-apport=2.20.10
Ubuntu=19.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2019-7307?

    CVE-2019-7307 has a medium severity rating due to its ability to allow local attackers to manipulate files.

  • How do I fix CVE-2019-7307?

    To fix CVE-2019-7307, update Apport to versions 2.14.1-0ubuntu3.29+esm1, 2.20.1-0ubuntu2.19, or later.

  • What systems are affected by CVE-2019-7307?

    CVE-2019-7307 affects Apport versions prior to 2.14.1-0ubuntu3.29+esm1 and certain Ubuntu releases.

  • Is CVE-2019-7307 only a local vulnerability?

    Yes, CVE-2019-7307 is a local attacker vulnerability allowing exploitation from within the user environment.

  • What type of vulnerability is CVE-2019-7307?

    CVE-2019-7307 is a Time-of-check to time-of-use (TOCTOU) vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203