Vulnerabilities in pkg:pypi/reqmgr2
PACKAGECVE-2022-34558 is a CRITICAL (CVSS 9.8) wmagent arbitrary code execution vulnerability (General Security Weakness) affecting Wmagent libraries in the PyPI ecosystem. The issue involves wmagent arbitrary code execution via a crafted dbs-client package. Remediation is available by upgrading affected packages to version 2.0.4.
pkg:pypi/reqmgr2
Vulnerability advisories affecting package pkg:pypi/reqmgr2. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-4vq7-8699-4xgc | CVE-2022-34558 | CRITICAL | WMAgent arbitrary code execution via a crafted dbs-client package |
CVE-2022-34558 at a Glance
Security Impact
CVSS: 9.8
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:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2022-34558
To remediate this vulnerability, upgrade all affected Wmagent 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 wmagent>=2.0.4
pip install reqmgr2>=2.0.4
pip install reqmon>=2.0.4
pip install global-workqueue>=2.0.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show wmagent
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2022-34558, inspect your installed packages using pip:
pip show wmagent
Analyze the terminal output to locate any version of Wmagent in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.4), your application is affected.
Note: The pip show wmagent command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Wmagent, 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-34558 Affected Wmagent Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
wmagent
|
PyPI |
≥ 1.3.3rc1
< 2.0.4
|
2.0.4
|
|
reqmgr2
|
PyPI |
≥ 1.4.0rc2
< 2.0.4
|
2.0.4
|
|
reqmon
|
PyPI |
≥ 1.4.1rc5
< 2.0.4
All 1 versions
1.4.1rc5
|
2.0.4
|
|
global-workqueue
|
PyPI |
≥ 1.4.1rc5
< 2.0.4
All 1 versions
1.4.1rc5
|
2.0.4
|
References
Frequently Asked Questions
What is CVE-2022-34558?
Which Wmagent versions are affected?
What version fixes CVE-2022-34558?
Is wmagent affected?
Is reqmgr2 affected?
What is the CVSS score of CVE-2022-34558?
What CWE is associated with CVE-2022-34558?
How can I check PyPI dependencies for CVE-2022-34558?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4vq7-8699-4xgc",
"modified" : "2024-11-26T18:46:36Z",
"published" : "2022-07-29T00:00:17Z",
"aliases" : [ "CVE-2022-34558" ],
"summary" : "WMAgent arbitrary code execution via a crafted dbs-client package",
"details" : "WMAgent v1.3.3rc2 and 1.3.3rc1, reqmgr2 1.4.1rc5 and 1.4.0rc2, reqmon 1.4.1rc5, and global-workqueue 1.4.1rc5 allows attackers to execute arbitrary code via a crafted dbs-client package.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "wmagent"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.3.3rc1"
}, {
"fixed" : "2.0.4"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.3.3rc2"
}
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "reqmgr2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.4.0rc2"
}, {
"fixed" : "2.0.4"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.4.1rc5"
}
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "reqmon"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.4.1rc5"
}, {
"fixed" : "2.0.4"
} ]
} ],
"versions" : [ "1.4.1rc5" ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "global-workqueue"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.4.1rc5"
}, {
"fixed" : "2.0.4"
} ]
} ],
"versions" : [ "1.4.1rc5" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-34558"
}, {
"type" : "WEB",
"url" : "https://github.com/dmwm/WMCore/issues/11188"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dmwm/WMCore"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/global-workqueue/PYSEC-2022-43136.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/reqmon/PYSEC-2022-43163.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/wmagent/PYSEC-2022-43174.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2022-08-06T05:52:32Z",
"nvd_published_at" : "2022-07-28T23:15:00Z"
}
}