CVE-2023-0434: Pyload ng Improper Input Validation Vulnerability

MODERATE
Advisory Identifier: GHSA-x9vc-5q77-m7x4
CVSS 5.4
CWE-20
Published
Advisory Summary

CVE-2023-0434 is a MODERATE (CVSS 5.4) improper input validation vulnerability (CWE-20: Improper Input Validation) affecting Pyload ng libraries in the PyPI ecosystem. The issue involves improper input validation in pyload-ng. Remediation is available by upgrading affected packages to version 0.5.0b3.dev40.

CVE-2023-0434 at a Glance

CVE Identifier CVE-2023-0434
GHSA Identifier GHSA-x9vc-5q77-m7x4
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-20: Improper Input Validation
Affected Product Pyload ng
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.4

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

Attack Vector Physical (AV:P)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
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-2023-0434

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

pyload-ng fixed: 0.5.0b3.dev40
pip install pyload-ng>=0.5.0b3.dev40
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 pyload-ng

How to Check if You Are Affected

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

pip show pyload-ng

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

Note: The pip show pyload-ng 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 Pyload ng, 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

Improper Input Validation in GitHub repository pyload/pyload prior to 0.5.0b3.dev40.

CVE-2023-0434 Affected Pyload ng Versions

1 component(s)
Fixed Versions:
0.5.0b3.dev40
Product / Package Ecosystem Affected Versions Fixed Version
pyload-ng
PyPI
< 0.5.0b3.dev40
0.5.0b3.dev40

References

Frequently Asked Questions

What is CVE-2023-0434?
CVE-2023-0434 is a security vulnerability in Pyload ng involving Improper Input Validation in pyload-ng under CWE-20: Improper Input Validation.
Which Pyload ng versions are affected?
Affected versions include releases prior to 0.5.0b3.dev40 across affected packages: pyload-ng.
What version fixes CVE-2023-0434?
Upgrading to 0.5.0b3.dev40 (or the latest patched release for your respective branch) resolves the vulnerability.
Is pyload-ng affected?
Yes, pyload-ng is affected in releases prior to 0.5.0b3.dev40. Upgrade your dependency to 0.5.0b3.dev40 or later.
What is the CVSS score of CVE-2023-0434?
CVE-2023-0434 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.0/AV:P/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:H.
What CWE is associated with CVE-2023-0434?
CVE-2023-0434 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-2023-0434?
Run the dependency tree command: 'pip show pyload-ng'. 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-x9vc-5q77-m7x4",
  "modified" : "2023-01-23T20:40:08Z",
  "published" : "2023-01-22T03:30:28Z",
  "aliases" : [ "CVE-2023-0434" ],
  "summary" : "Improper Input Validation in pyload-ng",
  "details" : "Improper Input Validation in GitHub repository pyload/pyload prior to 0.5.0b3.dev40.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:P/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "pyload-ng"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.5.0b3.dev40"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-0434"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pyload/pyload/commit/a2b1eb1028f45ac58dea5f58593c1d3db2b4a104"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pyload/pyload"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.dev/bounties/7d9332d8-6997-483b-9fb9-bcf2ae01dad4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-23T20:40:08Z",
    "nvd_published_at" : "2023-01-22T01:15:00Z"
  }
}