PYSEC-2022-163

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/libvcs/PYSEC-2022-163.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2022-163
Aliases
Published
2022-03-14T18:15:00Z
Modified
2023-11-08T04:08:04.530929Z
Summary
[none]
Details

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

Affected packages

PyPI / libvcs

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.11.1

Affected versions

0.*

0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.1.7
0.2.0
0.2.1
0.2.2
0.2.3
0.3.0
0.3.1
0.3.1.post1
0.3.2
0.3.3
0.4.0rc1
0.4.0rc2
0.4.0
0.4.1
0.4.2
0.4.3
0.4.4
0.5.0a1
0.5.0a2
0.5.0
0.9.0a1
0.9.0a2
0.9.0
0.10.0
0.10.1
0.11.0