VulnerabilityModified
CVE-2022-21187
The package libvcs before 0.11.1 are vulnerable to Command Injection via argument injection.
CRITICAL 9.8EPSS 3.62%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.62%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.62% probability · 89th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-88
- Affected
- libvcs project/libvcs
- Source
- report@snyk.io
References
- https://github.com/vcs-python/libvcs/blob/v0.11.1/CHANGES%23libvcs-0111-2022-03-12Release Notes, Third Party Advisory
- https://github.com/vcs-python/libvcs/pull/306Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-PYTHON-LIBVCS-2421204Third Party Advisory
- https://github.com/vcs-python/libvcs/blob/v0.11.1/CHANGES%23libvcs-0111-2022-03-12Release Notes, Third Party Advisory
- https://github.com/vcs-python/libvcs/pull/306Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-PYTHON-LIBVCS-2421204Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.