CVE-2020-5202: apt-cacher-ng through 3.3 allows local users to obtain sensitive information by hijacking the hardcoded TCP po
CVE-2020-5202 is a medium-severity flaw (CVSS 5.5) affecting apt-cacher-ng, debian linux, backports. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
apt-cacher-ng through 3.3 allows local users to obtain sensitive information by hijacking the hardcoded TCP port. The /usr/lib/apt-cacher-ng/acngtool program attempts to connect to apt-cacher-ng via TCP on localhost port 3142, even if the explicit SocketPath=/var/run/apt-cacher-ng/socket command-line option is passed. The cron job /etc/cron.daily/apt-cacher-ng (which is active by default) attempts this periodically. Because 3142 is an unprivilege
Why this priority
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 59%) |
| CISA exploited list | No |
| Published | 2020-01-21 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-5202?
apt-cacher-ng: upgrade to newer than 3.3; debian linux: mitigate or apply the listed mitigation; backports: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2020-5202 being exploited?
CVE-2020-5202 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-5202 affect?
CVE-2020-5202 affects apt-cacher-ng, debian linux, backports. Severity is medium (CVSS 5.5). apt-cacher-ng through 3.3 allows local users to obtain sensitive information by hijacking the hardcoded TCP port. The /usr/lib/apt-cacher-ng/acngtool program attempts to connect to apt-cacher-ng via TCP on localhost port 3142, even if the e
How urgent is CVE-2020-5202?
Priority 39/100. Public exploit reference; On your watchlist
Software pages
Related CVEs
- CVE-2025-11146 MEDIUM 5.4 DOWNGRADE Reflected Cross-site scripting (XSS) in Apt-Cacher-NG v3.2.1
- CVE-2025-11147 MEDIUM 5.4 DOWNGRADE Reflected cross-site scripting (XSS) in Apt-Cacher-NG v3.2.1
- CVE-2019-18899 MEDIUM 6.2 UPGRADE MITIGATE The apt-cacher-ng package of openSUSE Leap 15.1 runs operations in user owned directory /run/apt-cacher-ng wit
- CVE-2017-7443 MEDIUM 6.1 UPGRADE UPGRADE apt-cacher before 1.7.15 and apt-cacher-ng before 3.4 allow HTTP response splitting via encoded newline charac