Vulnerabilities in pkg:pypi/aptdaemon
PACKAGECVE-2020-15703 is a MODERATE (CVSS 4.0) aptdaemon information disclosure vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Aptdaemon libraries in the PyPI ecosystem. The issue involves aptdaemon information disclosure via improper input validation in transaction class. Remediation is available by upgrading affected packages to version 1.1.1.
pkg:pypi/aptdaemon
Vulnerability advisories affecting package pkg:pypi/aptdaemon. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-wpmr-q825-x4c6 | CVE-2020-15703 | MODERATE | aptdaemon Information Disclosure via Improper Input Validation in Transaction class |
CVE-2020-15703 at a Glance
Security Impact
CVSS: 4.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2020-15703
To remediate this vulnerability, upgrade all affected Aptdaemon dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install aptdaemon>=1.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show aptdaemon
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2020-15703, inspect your installed packages using pip:
pip show aptdaemon
Analyze the terminal output to locate any version of Aptdaemon in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.1), your application is affected.
Note: The pip show aptdaemon command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Aptdaemon, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-15703 Affected Aptdaemon Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
aptdaemon
|
PyPI |
< 1.1.1
|
1.1.1
|
References
Frequently Asked Questions
What is CVE-2020-15703?
Which Aptdaemon versions are affected?
What version fixes CVE-2020-15703?
Is aptdaemon affected?
What is the CVSS score of CVE-2020-15703?
What CWE is associated with CVE-2020-15703?
How can I check PyPI dependencies for CVE-2020-15703?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wpmr-q825-x4c6",
"modified" : "2023-08-07T19:59:14Z",
"published" : "2022-05-24T17:32:47Z",
"aliases" : [ "CVE-2020-15703" ],
"summary" : "aptdaemon Information Disclosure via Improper Input Validation in Transaction class",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "aptdaemon"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-15703"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/1888235"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/linuxmint/aptdaemon"
}, {
"type" : "WEB",
"url" : "https://github.com/linuxmint/aptdaemon/blob/4d24cb61575ac6fbee8d5e61ef933e6093ee0a2e/debian/patches/CVE-2020-15703.patch"
}, {
"type" : "WEB",
"url" : "https://ubuntu.com/security/notices/USN-4537-1"
}, {
"type" : "WEB",
"url" : "https://www.eyecontrol.nl/blog/the-story-of-3-cves-in-ubuntu-desktop.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-07T19:59:14Z",
"nvd_published_at" : "2020-10-31T04:15:00Z"
}
}