CVE-2020-5202
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
4- apt-cacher-ng/apt-cacher-ngdescription
- Range: <=3.3
- osv-coords2 versionspkg:rpm/opensuse/apt-cacher-ng&distro=openSUSE%20Leap%2015.1pkg:rpm/suse/apt-cacher-ng&distro=SUSE%20Package%20Hub%2015%20SP1
< 3.1-lp151.3.3.1+ 1 more
- (no CPE)range: < 3.1-lp151.3.3.1
- (no CPE)range: < 3.1-bp151.4.3.1
Patches
Vulnerability mechanics
References
5- lists.opensuse.org/opensuse-security-announce/2020-01/msg00057.htmlmitrevendor-advisoryx_refsource_SUSE
- lists.opensuse.org/opensuse-security-announce/2020-01/msg00065.htmlmitrevendor-advisoryx_refsource_SUSE
- www.openwall.com/lists/oss-security/2020/01/20/4mitremailing-listx_refsource_MLISTx_refsource_MISC
- seclists.org/oss-sec/2020/q1/21mitremailing-listx_refsource_MLIST
- security-tracker.debian.org/tracker/CVE-2020-5202mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.