CVE-2022-21187
Command Injection
- State
- Published
- Severity
- 8.1 High
- Published
- Mar 14, 2022
- Updated
- Sep 16, 2024
- Reserved
- Feb 24, 2022
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.1 High | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | snyk |
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
libvcsn/a |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.