# CVE-2021-3709: Apport file permission bypass through emacs byte compilation errors

- Severity: Medium 6.5 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-10-01T02:35:21.228Z
- Modified: 2026-06-17T04:05:36.160Z
- Weaknesses: CWE-22, CWE-538
- Assigned by: canonical

## Description

Function check_attachment_for_errors() in file data/general-hooks/ubuntu.py could be tricked into exposing private data via a constructed crash file. This issue affects: apport 2.14.1 versions prior to 2.14.1-0ubuntu3.29+esm8; 2.20.1 versions prior to 2.20.1-0ubuntu2.30+esm2; 2.20.9 versions prior to 2.20.9-0ubuntu7.26; 2.20.11 versions prior to 2.20.11-0ubuntu27.20; 2.20.11 versions prior to 2.20.11-0ubuntu65.3;

(As written by CVE List.)

## Affected

- Canonical apport: from 2.14.1 before 2.14.1-0ubuntu3.29+esm8; from 2.20.1 before 2.20.1-0ubuntu2.30+esm2; from 2.20.9 before 2.20.9-0ubuntu7.26; from 2.20.11 before 2.20.11-0ubuntu27.20; 2.14.1-0ubuntu1; 2.14.1-0ubuntu2; 2.14.1-0ubuntu3; 2.14.1-0ubuntu3.1; 2.14.1-0ubuntu3.2; 2.14.1-0ubuntu3.3; 2.14.1-0ubuntu3.4; 2.14.1-0ubuntu3.5; and 42 more

## Every score

- canonical: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1934308> (exploit, vendor-advisory)
- <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3709> (third-party-advisory)
- <https://ubuntu.com/security/notices/USN-5077-1> (vendor-advisory)
- <https://ubuntu.com/security/notices/USN-5077-2> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-3709](https://www.cve.org/CVERecord?id=CVE-2021-3709), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2021-3709](https://nvd.nist.gov/vuln/detail/CVE-2021-3709), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3709 · Whole record: https://cve.day/CVE-2021-3709.json · Rebuilt by cve.day 2026-11-25T22:58:04.245Z
