CVE-2022-21187GHSA-MV2W-4JQC-6FG4PYSEC-2022-163PYSEC-2026-563SNYK-PYTHON-LIBVCS-2421204
Command Injection
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 0.11.1, 1.11.1
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- n/a libvcs
fixed in 0.11.1
- libvcsPyPI
fixed in 0.11.1
- vcspullPyPI
fixed in 1.11.1