Vulnerabilities in pkg:pypi/Roundup

PACKAGE
Advisory Identifier: GHSA-q7mf-hp9m-cx6f
Advisory Summary

CVE-2004-1444 is a MODERATE path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Roundup libraries in the PyPI ecosystem. The issue involves roundup directory traversal vulnerability. Remediation is available by upgrading affected packages to version 0.7.3.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/Roundup

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/Roundup. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-q7mf-hp9m-cx6f CVE-2004-1444 MODERATE Roundup Directory traversal vulnerability
GHSA-9rj9-5wcv-xgf2 CVE-2009-2737 MODERATE Roundup Improper Access Control

CVE-2004-1444 at a Glance

CVE Identifier CVE-2004-1444
GHSA Identifier GHSA-q7mf-hp9m-cx6f
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Roundup
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2004-1444

To remediate this vulnerability, upgrade all affected Roundup dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Roundup fixed: 0.7.3
pip install Roundup>=0.7.3
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 Roundup

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2004-1444, inspect your installed packages using pip:

pip show Roundup

Analyze the terminal output to locate any version of Roundup in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.7.3), your application is affected.

Note: The pip show Roundup command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Roundup, 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

Directory traversal vulnerability in Roundup 0.6.4 and earlier allows remote attackers to view arbitrary files via `..` (dot dot) sequences in an `@@` command in an HTTP GET request.

CVE-2004-1444 Affected Roundup Versions

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

References

Frequently Asked Questions

What is CVE-2004-1444?
CVE-2004-1444 is a security vulnerability in Roundup involving Roundup Directory traversal vulnerability under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Roundup versions are affected?
Affected versions include releases prior to 0.7.3 across affected packages: Roundup.
What version fixes CVE-2004-1444?
Upgrading to 0.7.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Roundup affected?
Yes, Roundup is affected in releases prior to 0.7.3. Upgrade your dependency to 0.7.3 or later.
What CWE is associated with CVE-2004-1444?
CVE-2004-1444 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check PyPI dependencies for CVE-2004-1444?
Run the dependency tree command: 'pip show Roundup'. 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-q7mf-hp9m-cx6f",
  "modified" : "2024-05-09T16:05:51Z",
  "published" : "2022-04-29T02:59:35Z",
  "aliases" : [ "CVE-2004-1444" ],
  "summary" : "Roundup Directory traversal vulnerability",
  "details" : "Directory traversal vulnerability in Roundup 0.6.4 and earlier allows remote attackers to view arbitrary files via `..` (dot dot) sequences in an `@@` command in an HTTP GET request.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Roundup"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.7.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.6.4"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2004-1444"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/16350"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/roundup-tracker/roundup"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.nl/0406-exploits/roundUP.txt"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/11801"
  }, {
    "type" : "WEB",
    "url" : "http://securitytracker.com/id?1010415"
  }, {
    "type" : "WEB",
    "url" : "http://sourceforge.net/tracker/index.php?func=detail&aid=961511&group_id=31577&atid=402788"
  }, {
    "type" : "WEB",
    "url" : "http://www.gentoo.org/security/en/glsa/glsa-200408-09.xml"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/10495"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-09T16:05:51Z",
    "nvd_published_at" : "2004-12-31T05:00:00Z"
  }
}