CVE-2007-5201: Duplicity FTP Backend For Duplicity Discloses Vulnerability

MODERATE
Advisory Identifier: GHSA-wxcw-rqxc-hj85
CWE-200
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2007-5201
GHSA Identifier GHSA-wxcw-rqxc-hj85
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Duplicity
Package Ecosystem PyPI
Published Date
Last Updated

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.

duplicity fixed: 0.4.9
pip install duplicity>=0.4.9
Verify Direct and Transitive Dependencies

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

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.

CVE-2007-5201 Affected Duplicity Versions

1 component(s)
Fixed Versions:
0.4.9
Product / Package Ecosystem Affected Versions Fixed Version
duplicity
PyPI
< 0.4.9
0.4.9

References

Frequently Asked Questions

What is CVE-2007-5201?
CVE-2007-5201 is a security vulnerability in Duplicity involving FTP backend for Duplicity Discloses Passwords to Process Listing under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Duplicity versions are affected?
Affected versions include releases prior to 0.4.9 across affected packages: duplicity.
What version fixes CVE-2007-5201?
Upgrading to 0.4.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is duplicity affected?
Yes, duplicity is affected in releases prior to 0.4.9. Upgrade your dependency to 0.4.9 or later.
What CWE is associated with CVE-2007-5201?
CVE-2007-5201 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check PyPI dependencies for CVE-2007-5201?
Run the dependency tree command: 'pip show duplicity'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}