Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contribution to "The package libvcs before 0.11.1 are vulnerable to..." #108

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,17 +1,55 @@
{
"schema_version": "1.2.0",
"id": "GHSA-mv2w-4jqc-6fg4",
"modified": "2022-03-15T00:00:53Z",
"modified": "2022-03-15T00:20:13Z",
"published": "2022-03-15T00:00:53Z",
"aliases": [
"CVE-2022-21187"
],
"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.",
"summary": "Command Injection via argument in mercurial repositories",
"details": "The package libvcs before 0.11.1 are vulnerable to Command Injection via argument injection. When calling the `MercurialRepo.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.",
"severity": [

],
"affected": [

{
"package": {
"ecosystem": "PyPI",
"name": "libvcs"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.11.1"
}
]
}
]
},
{
"package": {
"ecosystem": "PyPI",
"name": "vcspull"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.11.1"
}
]
}
]
}
],
"references": [
{
Expand All @@ -29,13 +67,17 @@
{
"type": "WEB",
"url": "https://snyk.io/vuln/SNYK-PYTHON-LIBVCS-2421204"
},
{
"type": "PACKAGE",
"url": "https://github.com/vcs-python/libvcs"
}
],
"database_specific": {
"cwe_ids": [

],
"severity": null,
"severity": "HIGH",
"github_reviewed": false
}
}