aptdaemon Information Disclosure via Improper Input Validation in Transaction class
Moderate severity
GitHub Reviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Aug 16, 2023
Description
Published by the National Vulnerability Database
Oct 31, 2020
Published to the GitHub Advisory Database
May 24, 2022
Reviewed
Aug 7, 2023
Last updated
Aug 16, 2023
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.
References