CVE-2022-21187
Description
The package libvcs before 0.11.1 are vulnerable to Command Injection via argument injection. When calling the update_repo function (when using hg), the url parameter is passed to the hg clone command. By injecting some hg options it was possible to get arbitrary command execution.
Risk Information
Base Score
9.8
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
1.28
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| Vulnerabilities CVE-2022-21187 are fixed in Python-libvcs 0.11.1 | Windows |
| Vulnerabilities CVE-2022-21187 are fixed in Python-vcspull 1.11.1 | Windows |
| Vulnerabilities CVE-2022-21187 are fixed in Python-libvcs for linux 0.11.1 | Linux |
| Vulnerabilities CVE-2022-21187 are fixed in Python-vcspull for linux 1.11.1 | Linux |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234