Live threats

All CVEs / Apt-cacher-ng Project

CVE-2020-5202Apt-cacher-ng Project Apt-cacher-ng

Medium 5.5

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Apt-cacher-ng.

Affected products (CPE)

VendorProductVersions
apt-cacher-ng_projectapt-cacher-ng≤ 3.3
debiandebian_linux8.0
debiandebian_linux9.0
debiandebian_linux10.0
opensusebackportssle-15
opensuseleap15.1

Official sources

References

Links published by the sources. Open them with care.