CVE-2023-0057: Pyload ng PyLoad Vulnerable To Improper Restriction Vulnerability
MODERATECVE-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
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).
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.
pip install pyload-ng>=0.5.0b3.dev33
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
CVE-2023-0057 Affected Pyload ng Versions
1 component(s)| 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?
Which Pyload ng versions are affected?
What version fixes CVE-2023-0057?
Is pyload-ng affected?
What is the CVSS score of CVE-2023-0057?
What CWE is associated with CVE-2023-0057?
How can I check PyPI dependencies for CVE-2023-0057?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}