SOC status:Duty analyst on shift

UK Cyber Defence
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

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.