Vulnerabilities in pkg:pypi/cvrf2csaf
PACKAGECVE-2022-27193 is a MODERATE (CVSS 6.1) xml external entities vulnerability vulnerability (CWE-552: Files or Directories Accessible to External Parties) affecting Cvrf2csaf libraries in the PyPI ecosystem. The issue involves xml external entities vulnerability in cvrf-csaf-converter. Remediation is available by upgrading affected packages to version 1.0.0rc2.
pkg:pypi/cvrf2csaf
Vulnerability advisories affecting package pkg:pypi/cvrf2csaf. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-m8gq-83gh-v42v | CVE-2022-27193 | MODERATE | XML External Entities Vulnerability in CVRF-CSAF-Converter |
CVE-2022-27193 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:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L).
How to Fix CVE-2022-27193
To remediate this vulnerability, upgrade all affected Cvrf2csaf 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 cvrf2csaf>=1.0.0rc2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show cvrf2csaf
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2022-27193, inspect your installed packages using pip:
pip show cvrf2csaf
Analyze the terminal output to locate any version of Cvrf2csaf in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.0rc2), your application is affected.
Note: The pip show cvrf2csaf command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-552: Files or Directories Accessible to External Parties, where the product makes files or directories accessible to unauthorized actors, even though they should not be. In Cvrf2csaf, 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-2022-27193 Affected Cvrf2csaf Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
cvrf2csaf
|
PyPI |
< 1.0.0rc2
|
1.0.0rc2
|
References
Frequently Asked Questions
What is CVE-2022-27193?
Which Cvrf2csaf versions are affected?
What version fixes CVE-2022-27193?
Is cvrf2csaf affected?
What is the CVSS score of CVE-2022-27193?
What CWE is associated with CVE-2022-27193?
How can I check PyPI dependencies for CVE-2022-27193?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m8gq-83gh-v42v",
"modified" : "2022-03-18T23:52:30Z",
"published" : "2022-03-16T00:00:49Z",
"aliases" : [ "CVE-2022-27193" ],
"summary" : "XML External Entities Vulnerability in CVRF-CSAF-Converter",
"details" : "CVRF-CSAF-Converter before 1.0.0-rc2 resolves XML External Entities (XXE). This leads to the inclusion of arbitrary (local) file content into the generated output document. An attacker can exploit this to disclose information from the system running the converter.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "cvrf2csaf"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.0rc2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.0.0rc1"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-27193"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/csaf-tools/CVRF-CSAF-Converter"
}, {
"type" : "WEB",
"url" : "https://github.com/csaf-tools/CVRF-CSAF-Converter/releases/tag/1.0.0-rc2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-552", "CWE-611" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-03-18T23:52:30Z",
"nvd_published_at" : "2022-03-15T05:15:00Z"
}
}