First published: Tue Jan 21 2020(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
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-sp1 | |
openSUSE Leap | =15.1 | |
debian/apt-cacher-ng | 3.6.4-1 3.7.4-1 3.7.5-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability ID is CVE-2020-5202.
The severity level of CVE-2020-5202 is medium, with a severity value of 5.5.
Local users can exploit CVE-2020-5202 by hijacking the hardcoded TCP port used by the /usr/lib/apt-cacher-ng/acngtool program.
The affected software versions include apt-cacher-ng versions 3.2.1-1, 3.6.4-1, and 3.7.4-1.
You can find more information about CVE-2020-5202 at the following references: [Reference 1](http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00057.html), [Reference 2](http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00065.html), [Reference 3](http://www.openwall.com/lists/oss-security/2020/01/20/4).