Advisory

DEBIAN-CVE-2020-5202

Also known as: CVE-2020-5202

Summary

The record has no summary.

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.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2020-01-21 18:15 UTC
Modified
2026-10-26 12:02 UTC

Affected packages and fixes

apt-cacher-ng

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 3.3.1-1 (ecosystem)

Fixed versions

3.3.1-1

Fix

  • Fixed version 3.3.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

apt-cacher-ng

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 3.3.1-1 (ecosystem)

Fixed versions

3.3.1-1

Fix

  • Fixed version 3.3.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

apt-cacher-ng

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.3.1-1 (ecosystem)

Fixed versions

3.3.1-1

Fix

  • Fixed version 3.3.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences