cbcvebase.
CVE-2020-5202
published 2020-01-21

CVE-2020-5202: 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…

PriorityP424medium5.5CVSS 3.1
AVLACLPRLUINSUCHINAN
EPSS
0.46%
37.7th percentile
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.

Affected

11 ranges
VendorProductVersion rangeFixed in
apt-cacher-ng_projectapt-cacher-ng<= 3.3
apt-cacher-ng_projectapt-cacher-ng>= 0 < 3.3.1-13.3.1-1
apt-cacher-ng_projectapt-cacher-ng>= 0 < 3.3.1-13.3.1-1
apt-cacher-ng_projectapt-cacher-ng>= 0 < 3.3.1-13.3.1-1
apt-cacher-ng_projectapt-cacher-ng>= 0 < 3.3.1-13.3.1-1
debianapt-cacher-ng< apt-cacher-ng 3.3.1-1 (bookworm)apt-cacher-ng 3.3.1-1 (bookworm)
debiandebian_linux
debiandebian_linux
debiandebian_linux
opensusebackports
opensuseleap

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:P/I:N/A:N
osv5.5MEDIUM
vendor_debian5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.