CVE-2007-5201: Duplicity FTP Backend For Duplicity Discloses Vulnerability
MODERATECVE-2007-5201 is a MODERATE ftp backend for duplicity discloses vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Duplicity libraries in the PyPI ecosystem. The issue involves ftp backend for duplicity discloses passwords to process listing. Remediation is available by upgrading affected packages to version 0.4.9.
CVE-2007-5201 at a Glance
How to Fix CVE-2007-5201
To remediate this vulnerability, upgrade all affected Duplicity 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 duplicity>=0.4.9
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show duplicity
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2007-5201, inspect your installed packages using pip:
pip show duplicity
Analyze the terminal output to locate any version of Duplicity in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.4.9), your application is affected.
Note: The pip show duplicity 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 Duplicity, 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-2007-5201 Affected Duplicity Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
duplicity
|
PyPI |
< 0.4.9
|
0.4.9
|
References
Frequently Asked Questions
What is CVE-2007-5201?
Which Duplicity versions are affected?
What version fixes CVE-2007-5201?
Is duplicity affected?
What CWE is associated with CVE-2007-5201?
How can I check PyPI dependencies for CVE-2007-5201?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wxcw-rqxc-hj85",
"modified" : "2023-09-22T21:42:53Z",
"published" : "2022-05-01T18:31:03Z",
"aliases" : [ "CVE-2007-5201" ],
"summary" : "FTP backend for Duplicity Discloses Passwords to Process Listing",
"details" : "The FTP backend for Duplicity before 0.4.9 sends the password as a command line argument when calling ncftp, which might allow local users to read the password by listing the process and its arguments.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "duplicity"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.4.9"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2007-5201"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=293081"
}, {
"type" : "PACKAGE",
"url" : "https://gitlab.com/duplicity/duplicity"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20080118045107/https://duplicity.nongnu.org/CHANGELOG"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200228164800/http://www.securityfocus.com/bid/27771"
}, {
"type" : "WEB",
"url" : "https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00356.html"
}, {
"type" : "WEB",
"url" : "https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00445.html"
}, {
"type" : "WEB",
"url" : "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=442840"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-09-22T21:42:53Z",
"nvd_published_at" : "2007-10-04T17:17:00Z"
}
}