Vulnerabilities in pkg:pypi/topydo

PACKAGE
Advisory Identifier: GHSA-h6h9-pphv-m266
Advisory Summary

CVE-2018-1000523 is a HIGH (CVSS 8.1) topydo improper input validation vulnerability vulnerability (CWE-20: Improper Input Validation) affecting Topydo libraries in the PyPI ecosystem. The issue involves topydo improper input validation vulnerability. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/topydo

1 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-h6h9-pphv-m266 CVE-2018-1000523 HIGH Topydo Improper Input Validation vulnerability

CVE-2018-1000523 at a Glance

CVE Identifier CVE-2018-1000523
GHSA Identifier GHSA-h6h9-pphv-m266
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-20: Improper Input Validation
Affected Product Topydo
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2018-1000523

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

topydo fixed: Latest secure release
pip install topydo>=Latest secure release
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 topydo

How to Check if You Are Affected

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

pip show topydo

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Topydo, 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

topydo contains a CWE-20: Improper Input Validation vulnerability in `ListFormatParser::parse`, file `topydo/lib/ListFormat.py` line 292 as of d4f843dac71308b2f29a7c2cdc76f055c3841523 that can result in Injection of arbitrary bytes to the terminal, including terminal escape code sequences. This attack appear to be exploitable via The victim must open a todo.txt with at least one specially crafted line.

CVE-2018-1000523 Affected Topydo Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
topydo
PyPI
≤ 0.13

References

Frequently Asked Questions

What is CVE-2018-1000523?
CVE-2018-1000523 is a security vulnerability in Topydo involving Topydo Improper Input Validation vulnerability under CWE-20: Improper Input Validation.
Which Topydo versions are affected?
Affected versions include releases prior to current release patches across affected packages: topydo.
What version fixes CVE-2018-1000523?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is topydo affected?
Yes, topydo is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2018-1000523?
CVE-2018-1000523 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H.
What CWE is associated with CVE-2018-1000523?
CVE-2018-1000523 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check PyPI dependencies for CVE-2018-1000523?
Run the dependency tree command: 'pip show topydo'. 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-h6h9-pphv-m266",
  "modified" : "2024-11-13T22:55:00Z",
  "published" : "2018-09-13T15:47:26Z",
  "aliases" : [ "CVE-2018-1000523" ],
  "summary" : "Topydo Improper Input Validation vulnerability",
  "details" : "topydo contains a CWE-20: Improper Input Validation vulnerability in `ListFormatParser::parse`, file `topydo/lib/ListFormat.py` line 292 as of d4f843dac71308b2f29a7c2cdc76f055c3841523 that can result in Injection of arbitrary bytes to the terminal, including terminal escape code sequences. This attack appear to be exploitable via The victim must open a todo.txt with at least one specially crafted line.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "topydo"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.13"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1000523"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bram85/topydo/issues/240"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-h6h9-pphv-m266"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/bram85/topydo"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bram85/topydo/blob/master/topydo/lib/ListFormat.py#L292"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/topydo/PYSEC-2018-76.yaml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:39:06Z",
    "nvd_published_at" : null
  }
}