title: aptdaemon allows unprivileged users to test for the presence of local files via the transaction Locale property
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.
problem types: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
affected:
{
product: aptdaemon
vendor: Canonical
versions:
lessThan: 1.1.1+bzr982-0ubuntu32.2, status: affected, version: unspecified, versionType: custom
lessThan: 1.1.1+bzr982-0ubuntu19.4, status: affected, version: unspecified, versionType: custom
lessThan: 1.1.1+bzr982-0ubuntu14.4, status: affected, version: unspecified, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: NONE
baseScore: 4
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: NONE
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
version: 3.1
]