CVE-2023-0057: Pyload ng PyLoad Vulnerable To Improper Restriction Vulnerability

MODERATE
Advisory Identifier: GHSA-h8r9-467r-vjjf
CVSS 6.1
CWE-1021
Published
Advisory Summary

CVE-2023-0057 is a MODERATE (CVSS 6.1) pyload vulnerable to improper restriction vulnerability (CWE-1021: Improper Restriction of Rendered UI Layers or Frames) affecting Pyload ng libraries in the PyPI ecosystem. The issue involves pyload vulnerable to improper restriction of rendered ui layers or frames. Remediation is available by upgrading affected packages to version 0.5.0b3.dev33.

CVE-2023-0057 at a Glance

CVE Identifier CVE-2023-0057
GHSA Identifier GHSA-h8r9-467r-vjjf
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-1021: Improper Restriction of Rendered UI Layers or Frames
Affected Product Pyload ng
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.1

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

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

How to Fix CVE-2023-0057

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.dev33
pip install pyload-ng>=0.5.0b3.dev33
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-0057, 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.dev33), 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-1021: Improper Restriction of Rendered UI Layers or Frames, where the web application does not restrict or incorrectly restricts frame objects or ui layers that belong to another application or domain. 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 Restriction of Rendered UI Layers or Frames in GitHub repository pyload/pyload prior to 0.5.0b3.dev33.

CVE-2023-0057 Affected Pyload ng Versions

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

References

Frequently Asked Questions

What is CVE-2023-0057?
CVE-2023-0057 is a security vulnerability in Pyload ng involving pyLoad vulnerable to Improper Restriction of Rendered UI Layers or Frames under CWE-1021: Improper Restriction of Rendered UI Layers or Frames.
Which Pyload ng versions are affected?
Affected versions include releases prior to 0.5.0b3.dev33 across affected packages: pyload-ng.
What version fixes CVE-2023-0057?
Upgrading to 0.5.0b3.dev33 (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.dev33. Upgrade your dependency to 0.5.0b3.dev33 or later.
What is the CVSS score of CVE-2023-0057?
CVE-2023-0057 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2023-0057?
CVE-2023-0057 is classified under CWE-1021: Improper Restriction of Rendered UI Layers or Frames (The web application does not restrict or incorrectly restricts frame objects or UI layers that belong to another application or domain.).
How can I check PyPI dependencies for CVE-2023-0057?
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-h8r9-467r-vjjf",
  "modified" : "2023-01-11T20:55:13Z",
  "published" : "2023-01-05T03:30:37Z",
  "aliases" : [ "CVE-2023-0057" ],
  "summary" : "pyLoad vulnerable to Improper Restriction of Rendered UI Layers or Frames",
  "details" : "Improper Restriction of Rendered UI Layers or Frames in GitHub repository pyload/pyload prior to 0.5.0b3.dev33.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "pyload-ng"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.5.0b3.dev33"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-0057"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pyload/pyload/commit/bd2a31b7de54570b919aa1581d486e6ee18c0f64"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pyload/pyload"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.dev/bounties/12b64f91-d048-490c-94b0-37514b6d694d"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1021" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-09T19:54:21Z",
    "nvd_published_at" : "2023-01-05T01:15:00Z"
  }
}