CVE-2019-7307Apport contains a TOCTTOU vulnerability when reading the users ~/.apport-ignore.xml
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.
What to do
Fixed builds are available from Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | apport | Fixed | 2.20.9-0ubuntu7.7 | UBUNTU-CVE-2019-7307 |
| Ubuntu 16.04 | apport | Fixed | 2.20.1-0ubuntu2.19 | UBUNTU-CVE-2019-7307 |
| Ubuntu 14.04 | apport | Fix pending | 2.14.1-0ubuntu3.29+esm1 (Ubuntu Pro) | UBUNTU-CVE-2019-7307 |
What the vendor says
As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Ubuntu apport: affected: 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
References
- https://people.canonical.com/~ubuntu-security/cve/2019/CVE-2019-7307.html
- https://bugs.launchpad.net/ubuntu/%2Bsource/apport/%2Bbug/1830858
- http://packetstormsecurity.com/files/172858/Ubuntu-Apport-Whoopsie-DoS-Integer-Overflow.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.