Skip to content
OpenAdvisories
Medium · 4.0 CVE-2020-15703 EUVD-2022-5615GHSA-wpmr-q825-x4c6PYSEC-2026-783

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

Published Oct 31, 2020 · Updated Sep 16, 2024 · Assigned by canonical

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.

Affected products

VendorProductAffectedFixed
Canonical aptdaemon unspecified – < 1.1.1+bzr982-0ubuntu32.2, unspecified – < 1.1.1+bzr982-0ubuntu19.4, unspecified – < 1.1.1+bzr982-0ubuntu14.4 1.1.1+bzr982-0ubuntu32.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS aptdaemon 1.1.1+bzr982-0ubuntu32.2 USN-4537-1
Ubuntu 18.04 LTS aptdaemon 1.1.1+bzr982-0ubuntu19.4 USN-4537-1
Ubuntu 16.04 LTS aptdaemon 1.1.1+bzr982-0ubuntu14.4 USN-4537-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI aptdaemon < 1.1.1 1.1.1 GHSA-wpmr-q825-x4c6

Advisories 1

References