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 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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:apt-cacher-ng_project:apt-cacher-ng:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:opensuse:backports:sle-15:sp1:*:*:*:*:*:*
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*

History

01 Jan 2022, 20:03

Type Values Removed Values Added
CPE cpe:2.3:o:opensuse:backports:sle-15:sp1:*:*:*:*:*:*
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00065.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00065.html - Mailing List, Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00057.html - Third Party Advisory (SUSE) http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00057.html - Mailing List, Third Party Advisory
CWE CWE-200 NVD-CWE-noinfo

Information

Published : 2020-01-21 18:15

Updated : 2024-02-04 20:39


NVD link : CVE-2020-5202

Mitre link : CVE-2020-5202

CVE.ORG link : CVE-2020-5202


JSON object : View

Products Affected

opensuse

  • leap
  • backports

debian

  • debian_linux

apt-cacher-ng_project

  • apt-cacher-ng