All CVEs / Apt-cacher-ng Project
CVE-2020-5202Apt-cacher-ng Project Apt-cacher-ng
Medium 5.5
Follow: this CVE · Apt-cacher-ng Project · Apt-cacher-ng Project Apt-cacher-ng We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 42
- Auth required
- Yes
- Published
- Jan 21, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
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 unprivileged port, any local user can try to bind to this port and will receive requests from acngtool. There can be sensitive data in these requests, e.g., if AdminAuth is enabled in /etc/apt-cacher-ng/security.conf. This sensitive data can leak to unprivileged local users that manage to bind to this port before the apt-cacher-ng daemon can.
What to do
- Apply the vendor's security update for Apt-cacher-ng.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apt-cacher-ng_project | apt-cacher-ng | ≤ 3.3 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| opensuse | backports | sle-15 |
| opensuse | leap | 15.1 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- www.openwall.com Exploit Mailing List Third Party Advisory
- seclists.org Exploit Mailing List Third Party Advisory
- security-tracker.debian.org Patch Third Party Advisory