Command Injection
Published Mar 14, 2022
9.3
CRITICALCVSS 4.0
EPSS 3.62%
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.
Affected products
- Vendor n/a Product Libvcs Defaultn/a
- Version unspecifiedStatusaffectedConstraints<0.11.1
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Libvcs | n/a |
|
- < 0.11.1
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (GHSA) ▾
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 3.62% (0.03624) | 89.17th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.65% (0.03652) | 88.13th | v5 (v2026.06.15) |
| Mar 29, 2025 | 1.67% (0.01668) | 70.65th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.33% (0.00325) | 53.25th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.46% (0.00457) | 76.09th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.38% (0.00380) | 72.21th | v3 (v2023.03.01) |
| Jan 1, 2024 | 0.38% (0.00380) | 70.12th | v3 (v2023.03.01) |
| Dec 2, 2023 | 0.36% (0.00361) | 69.10th | v3 (v2023.03.01) |
| Nov 3, 2023 | 0.25% (0.00254) | 63.20th | v3 (v2023.03.01) |
| Oct 20, 2023 | 0.17% (0.00170) | 53.83th | v3 (v2023.03.01) |
| Oct 5, 2023 | 0.15% (0.00146) | 50.18th | v3 (v2023.03.01) |
| Apr 16, 2023 | 0.16% (0.00157) | 50.68th | v3 (v2023.03.01) |
| Mar 21, 2023 | 0.14% (0.00135) | 47.00th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.09% (0.00089) | 36.17th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.51% (0.02509) | 81.86th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.51% (0.02509) | 80.08th | v2 (v2022.01.01) |
| Mar 23, 2022 | 2.51% (0.02509) | 59.42th | v2 (v2022.01.01) |
| Mar 15, 2022 | 1.55% (0.01549) | 52.50th | v2 (v2022.01.01) |
References (9)
- https://github.com/advisories/GHSA-mv2w-4jqc-6fg4 Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/libvcs/PYSEC-2022-163.yaml
- https://github.com/vcs-python/libvcs/blob/master/CHANGES#libvcs-0111-2022-03-12
- https://github.com/vcs-python/libvcs/blob/v0.11.1/CHANGES%23libvcs-0111-2022-03-12 x_refsource_MISCRelease NotesThird Party Advisory
- https://github.com/vcs-python/libvcs/pull/306 x_refsource_MISCPatchThird Party Advisory
- https://github.com/vcs-python/vcspull/blob/master/CHANGES#vcspull-1111-2022-03-12
- https://github.com/vcs-python/vcspull/commit/e1b77128a1fa0754625b5f43d8bc47956f21f33e
- https://nvd.nist.gov/vuln/detail/CVE-2022-21187
- https://snyk.io/vuln/SNYK-PYTHON-LIBVCS-2421204 x_refsource_MISCThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-mv2w-4jqc-6fg4 | Advisory | |
| https://github.com/pypa/advisory-database/tree/main/vulns/libvcs/PYSEC-2022-163.yaml | ||
| https://github.com/vcs-python/libvcs/blob/master/CHANGES#libvcs-0111-2022-03-12 | ||
| https://github.com/vcs-python/libvcs/blob/v0.11.1/CHANGES%23libvcs-0111-2022-03-12 | x_refsource_MISCRelease NotesThird Party Advisory | |
| https://github.com/vcs-python/libvcs/pull/306 | x_refsource_MISCPatchThird Party Advisory | |
| https://github.com/vcs-python/vcspull/blob/master/CHANGES#vcspull-1111-2022-03-12 | ||
| https://github.com/vcs-python/vcspull/commit/e1b77128a1fa0754625b5f43d8bc47956f21f33e | ||
| https://nvd.nist.gov/vuln/detail/CVE-2022-21187 | ||
| https://snyk.io/vuln/SNYK-PYTHON-LIBVCS-2421204 | x_refsource_MISCThird Party Advisory |
Change history (0)
No recorded changes yet.