---
title: "CVE-2022-21187: libvcs Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2022-21187: libvcs Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2022-21187 is a published software vulnerability affecting libvcs. CVSS base score: 8.1 (HIGH). Published March 14, 2022 by snyk. 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.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2022-21187
- Status: Published
- Affected vendor: Multiple or unspecified
- Affected product: libvcs
- Assigner CNA: snyk
- Published date: March 14, 2022
- Last updated: September 16, 2024
- CVSS base score: 8.1 (HIGH)
- CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

## Access via API, MCP, or CSV

Query live web and register data via the SpecStream Search API ($1 per 1,000 fast searches), Extract API ($0.80 per 1,000 Markdown pages), or MCP server (`npx -y @specstream/mcp-server`). Start with [$2 free API credit (no card)](https://specstream.ai/signup) or unlock 5,000 CSV rows/mo plus $49 API credit with the [Monthly Pro Pass ($49/mo)](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Drywall contractors in the United States](https://specstream.ai/data/businesses/drywall-contractors/united-states)
- [Video game stores in the United States](https://specstream.ai/data/businesses/video-game-stores/united-states)
- [Medical spas in the United States](https://specstream.ai/data/businesses/medical-spas/united-states)
- [Coworking spaces in the United States](https://specstream.ai/data/businesses/coworking-spaces/united-states)
- [Tools wholesalers in the United States](https://specstream.ai/data/businesses/tools-wholesalers/united-states)
- [Law firms in the United States](https://specstream.ai/data/businesses/law-firms/united-states)
