UBUNTU-CVE-2020-5202

Source
https://ubuntu.com/security/CVE-2020-5202
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-5202.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2020-5202
Upstream
Published
2020-01-21T18:15:00Z
Modified
2025-10-24T04:48:17Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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

Affected packages

Ubuntu:16.04:LTS / apt-cacher-ng

Package

Name
apt-cacher-ng
Purl
pkg:deb/ubuntu/apt-cacher-ng@0.9.1-1ubuntu1?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.8.5-1
0.8.6-1
0.8.7-1
0.8.8-1
0.8.9-1
0.8.9-1ubuntu1
0.9.1-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.9.1-1ubuntu1",
            "binary_name": "apt-cacher-ng"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-5202.json"

Ubuntu:18.04:LTS / apt-cacher-ng

Package

Name
apt-cacher-ng
Purl
pkg:deb/ubuntu/apt-cacher-ng@3.1-1build1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

Other
3-5
3.*
3.1-1
3.1-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.1-1build1",
            "binary_name": "apt-cacher-ng"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-5202.json"