~ / search / GHSA-mv2w-4jqc-6fg4

GHSA-mv2w-4jqc-6fg4

Command injection in libvcs and vcspull

Source: GitHub Advisory Database (reviewed) Critical CVE-2022-21187

Packages

EcosystemPackageAffectedFixed in
PyPI libvcs < 0.11.1 0.11.1
PyPI vcspull < 1.11.1 1.11.1

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.