CVE-2020-15703

aptdaemon allows unprivileged users to test for the presence of local files via the transaction Locale property

State
Published
Severity
4.0 Medium
Published
Oct 31, 2020
Updated
Sep 16, 2024
Reserved
Jul 14, 2020

Read the record on cve.org

Description

There is no input validation on the Locale property in an apt transaction. An unprivileged user can supply a full path to a writable directory, which lets aptd read a file as root. Having a symlink in place results in an error message if the file exists, and no error otherwise. This way an unprivileged user can check for the existence of any files on the system as root.

Scores

CVSSScoreVectorSource
3.14.0 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:Ncanonical

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
aptdaemonCanonical
  • before 1.1.1+bzr982-0ubuntu32.2Affected
  • before 1.1.1+bzr982-0ubuntu19.4Affected
  • before 1.1.1+bzr982-0ubuntu14.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.