Vulnerability in Libvcs Project

CVE-2022-21187

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.

EPSS: 0.037 (88.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-21187?
CVE-2022-21187 is a high-severity vulnerability in Libvcs Project, classified under Argument Injection. CVSS score: 8.1/10. Published 2022-03-14.
How severe is CVE-2022-21187?
High severity. CVSS v3 base score is 8.1 out of 10.
Is CVE-2022-21187 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.