CVE-2021-3710: canonical apport Path Traversal: '../filedir'
Vulnerability summary
CVE-2021-3710 is a medium (CVSS 6.5) Path Traversal: '../filedir' vulnerability in canonical apport. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 38.7% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 01-10-2021PublishedVulnerability first disclosed.
- 17-09-2024Last modifiedVulnerability information updated.
Description
An information disclosure via path traversal was discovered in apport/hookutils.py function read_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;
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
0.46%
Chance of exploitation in the next 30 days
Percentile
39%
Versus all other CVEs
30-day change
0.00 pp
From 0.46% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (bugs.launchpad.net)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-24Path Traversal: '../filedir'The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that can resolve to a location that is outside of that directory.
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected systems
Canonical1 product
- apport≥ 2.14.1, < 2.14.1-0ubuntu3.29+esm8 | ≥ 2.20.1, < 2.20.1-0ubuntu2.30+esm2 | ≥ 2.20.9, < 2.20.9-0ubuntu7.26 | ≥ 2.20.11, < 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 | 2.14.1-0ubuntu3.6 | 2.14.1-0ubuntu3.7 | 2.14.1-0ubuntu3.8 | 2.14.1-0ubuntu3.9 | 2.14.1-0ubuntu3.10 | 2.14.1-0ubuntu3.11 | 2.14.1-0ubuntu3.12 | 2.14.1-0ubuntu3.13 | 2.14.1-0ubuntu3.14 | 2.14.1-0ubuntu3.15 | 2.14.1-0ubuntu3.16 | 2.14.1-0ubuntu3.17 | 2.14.1-0ubuntu3.18 | 2.14.1-0ubuntu3.19 | 2.14.1-0ubuntu3.20 | 2.14.1-0ubuntu3.21 | 2.14.1-0ubuntu3.23 | 2.14.1-0ubuntu3.24 | 2.14.1-0ubuntu3.25 | 2.14.1-0ubuntu3.27 | 2.14.1-0ubuntu3.28 | 2.14.1-0ubuntu3.29 | 2.14.1-0ubuntu3.29\+esm7 | 2.20.1-0ubuntu1 | 2.20.1-0ubuntu2 | 2.20.1-0ubuntu2.1 | 2.20.1-0ubuntu2.2 | 2.20.1-0ubuntu2.4 | 2.20.1-0ubuntu2.5 | 2.20.1-0ubuntu2.6 | 2.20.1-0ubuntu2.7 | 2.20.1-0ubuntu2.8 | 2.20.1-0ubuntu2.9 | 2.20.1-0ubuntu2.10 | 2.20.1-0ubuntu2.12 | 2.20.1-0ubuntu2.13 | 2.20.1-0ubuntu2.14 | 2.20.1-0ubuntu2.15 | 2.20.1-0ubuntu2.16 | 2.20.1-0ubuntu2.17 | 2.20.1-0ubuntu2.18 | 2.20.1-0ubuntu2.19 | 2.20.1-0ubuntu2.20 | 2.20.1-0ubuntu2.21 | 2.20.1-0ubuntu2.22 | 2.20.1-0ubuntu2.23 | 2.20.1-0ubuntu2.25 | 2.20.1-0ubuntu2.26 | 2.20.1-0ubuntu2.27 | 2.20.1-0ubuntu2.28 | 2.20.1-0ubuntu2.30 | 2.20.1-0ubuntu2.30\+esm1 | 2.20.9-0ubuntu1 | 2.20.9-0ubuntu2 | 2.20.9-0ubuntu3 | 2.20.9-0ubuntu4 | 2.20.9-0ubuntu5 | 2.20.9-0ubuntu6 | 2.20.9-0ubuntu7 | 2.20.9-0ubuntu7.1 | 2.20.9-0ubuntu7.2 | 2.20.9-0ubuntu7.3 | 2.20.9-0ubuntu7.4 | 2.20.9-0ubuntu7.5 | 2.20.9-0ubuntu7.6 | 2.20.9-0ubuntu7.7 | 2.20.9-0ubuntu7.8 | 2.20.9-0ubuntu7.9 | 2.20.9-0ubuntu7.10 | 2.20.9-0ubuntu7.11 | 2.20.9-0ubuntu7.12 | 2.20.9-0ubuntu7.13 | 2.20.9-0ubuntu7.14 | 2.20.9-0ubuntu7.15 | 2.20.9-0ubuntu7.16 | 2.20.9-0ubuntu7.17 | 2.20.9-0ubuntu7.18 | 2.20.9-0ubuntu7.19 | 2.20.9-0ubuntu7.20 | 2.20.9-0ubuntu7.21 | 2.20.9-0ubuntu7.23 | 2.20.9-0ubuntu7.24 | 2.20.11-0ubuntu8 | 2.20.11-0ubuntu9 | 2.20.11-0ubuntu10 | 2.20.11-0ubuntu11 | 2.20.11-0ubuntu12 | 2.20.11-0ubuntu13 | 2.20.11-0ubuntu14 | 2.20.11-0ubuntu15 | 2.20.11-0ubuntu16 | 2.20.11-0ubuntu17 | 2.20.11-0ubuntu18 | 2.20.11-0ubuntu19 | 2.20.11-0ubuntu20 | 2.20.11-0ubuntu21 | 2.20.11-0ubuntu22 | 2.20.11-0ubuntu23 | 2.20.11-0ubuntu24 | 2.20.11-0ubuntu25 | 2.20.11-0ubuntu26 | 2.20.11-0ubuntu27 | 2.20.11-0ubuntu27.2 | 2.20.11-0ubuntu27.3 | 2.20.11-0ubuntu27.4 | 2.20.11-0ubuntu27.5 | 2.20.11-0ubuntu27.6 | 2.20.11-0ubuntu27.7 | 2.20.11-0ubuntu27.8 | 2.20.11-0ubuntu27.9 | 2.20.11-0ubuntu27.10 | 2.20.11-0ubuntu27.11 | 2.20.11-0ubuntu27.12 | 2.20.11-0ubuntu27.13 | 2.20.11-0ubuntu27.14 | 2.20.11-0ubuntu27.16 | 2.20.11-0ubuntu27.17 | 2.20.11-0ubuntu27.18 | 2.20.11-0ubuntu28 | 2.20.11-0ubuntu29 | 2.20.11-0ubuntu30 | 2.20.11-0ubuntu31 | 2.20.11-0ubuntu32 | 2.20.11-0ubuntu33 | 2.20.11-0ubuntu34 | 2.20.11-0ubuntu35 | 2.20.11-0ubuntu36 | 2.20.11-0ubuntu37 | 2.20.11-0ubuntu38 | 2.20.11-0ubuntu39 | 2.20.11-0ubuntu40 | 2.20.11-0ubuntu41 | 2.20.11-0ubuntu42 | 2.20.11-0ubuntu43 | 2.20.11-0ubuntu44 | 2.20.11-0ubuntu45 | 2.20.11-0ubuntu46 | 2.20.11-0ubuntu47 | 2.20.11-0ubuntu48 | 2.20.11-0ubuntu49 | 2.20.11-0ubuntu50 | 2.20.11-0ubuntu50.1 | 2.20.11-0ubuntu50.2 | 2.20.11-0ubuntu50.3 | 2.20.11-0ubuntu50.5 | 2.20.11-0ubuntu50.7 | 2.20.11-0ubuntu51 | 2.20.11-0ubuntu52 | 2.20.11-0ubuntu53 | 2.20.11-0ubuntu54 | 2.20.11-0ubuntu55 | 2.20.11-0ubuntu56 | 2.20.11-0ubuntu57 | 2.20.11-0ubuntu58 | 2.20.11-0ubuntu59 | 2.20.11-0ubuntu60 | 2.20.11-0ubuntu61 | 2.20.11-0ubuntu62 | 2.20.11-0ubuntu63 | 2.20.11-0ubuntu64 | 2.20.11-0ubuntu65 | 2.20.11-0ubuntu65.1
Ubuntu1 product
- apport< 2.14.1-0ubuntu3.29+esm8 | < 2.20.1-0ubuntu2.30+esm2 | < 2.20.9-0ubuntu7.26 | < 2.20.11-0ubuntu27.20
2 vendors · 2 products