CVE-2019-10803 (GCVE-0-2019-10803)
Vulnerability from cvelistv5 – Published: 2020-02-28 20:35 – Updated: 2024-08-04 22:32
VLAI?
Summary
push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable "opt.branch" is not validated before being provided to the "git" command within "index.js#L139". This could be abused by an attacker to inject arbitrary commands.
Severity ?
No CVSS data available.
CWE
- Command Injection
Assigner
References
| URL | Tags | |||||||
|---|---|---|---|---|---|---|---|---|
|
||||||||
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-04T22:32:02.167Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "push-dir",
"vendor": "n/a",
"versions": [
{
"status": "affected",
"version": "All versions including 0.4.1"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable \"opt.branch\" is not validated before being provided to the \"git\" command within \"index.js#L139\". This could be abused by an attacker to inject arbitrary commands."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "Command Injection",
"lang": "en",
"type": "text"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2020-02-28T20:35:28.000Z",
"orgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
"shortName": "snyk"
},
"references": [
{
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009"
}
],
"x_legacyV4Record": {
"CVE_data_meta": {
"ASSIGNER": "report@snyk.io",
"ID": "CVE-2019-10803",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "push-dir",
"version": {
"version_data": [
{
"version_value": "All versions including 0.4.1"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable \"opt.branch\" is not validated before being provided to the \"git\" command within \"index.js#L139\". This could be abused by an attacker to inject arbitrary commands."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "Command Injection"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139",
"refsource": "MISC",
"url": "https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139"
},
{
"name": "https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009",
"refsource": "MISC",
"url": "https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009"
}
]
}
}
}
},
"cveMetadata": {
"assignerOrgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
"assignerShortName": "snyk",
"cveId": "CVE-2019-10803",
"datePublished": "2020-02-28T20:35:28.000Z",
"dateReserved": "2019-04-03T00:00:00.000Z",
"dateUpdated": "2024-08-04T22:32:02.167Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2019-10803",
"date": "2026-05-05",
"epss": "0.00578",
"percentile": "0.68892"
},
"fkie_nvd": {
"configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:push-dir_project:push-dir:*:*:*:*:*:node.js:*:*\", \"versionEndIncluding\": \"0.4.1\", \"matchCriteriaId\": \"495D465A-DC16-40DB-A780-9075E394FBFC\"}]}]}]",
"descriptions": "[{\"lang\": \"en\", \"value\": \"push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable \\\"opt.branch\\\" is not validated before being provided to the \\\"git\\\" command within \\\"index.js#L139\\\". This could be abused by an attacker to inject arbitrary commands.\"}, {\"lang\": \"es\", \"value\": \"push-dir versiones hasta 0.4.1, permite una ejecuci\\u00f3n de c\\u00f3digo arbitraria. Los argumentos proporcionados como parte de la variable \\\"opt.branch\\\" no son comprobados antes de ser suministrados al comando \\\"git\\\" dentro de \\\"index.js#L139\\\". Esto puede ser violado por parte de un atacante para inyectar comandos arbitrarios.\"}]",
"id": "CVE-2019-10803",
"lastModified": "2024-11-21T04:19:57.080",
"metrics": "{\"cvssMetricV31\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\", \"baseScore\": 9.8, \"baseSeverity\": \"CRITICAL\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"HIGH\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 3.9, \"impactScore\": 5.9}], \"cvssMetricV2\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"2.0\", \"vectorString\": \"AV:N/AC:L/Au:N/C:P/I:P/A:P\", \"baseScore\": 7.5, \"accessVector\": \"NETWORK\", \"accessComplexity\": \"LOW\", \"authentication\": \"NONE\", \"confidentialityImpact\": \"PARTIAL\", \"integrityImpact\": \"PARTIAL\", \"availabilityImpact\": \"PARTIAL\"}, \"baseSeverity\": \"HIGH\", \"exploitabilityScore\": 10.0, \"impactScore\": 6.4, \"acInsufInfo\": false, \"obtainAllPrivilege\": false, \"obtainUserPrivilege\": false, \"obtainOtherPrivilege\": false, \"userInteractionRequired\": false}]}",
"published": "2020-02-28T21:15:13.010",
"references": "[{\"url\": \"https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139\", \"source\": \"report@snyk.io\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009\", \"source\": \"report@snyk.io\", \"tags\": [\"Exploit\", \"Third Party Advisory\"]}, {\"url\": \"https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Exploit\", \"Third Party Advisory\"]}]",
"sourceIdentifier": "report@snyk.io",
"vulnStatus": "Modified",
"weaknesses": "[{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-78\"}]}]"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2019-10803\",\"sourceIdentifier\":\"report@snyk.io\",\"published\":\"2020-02-28T21:15:13.010\",\"lastModified\":\"2024-11-21T04:19:57.080\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable \\\"opt.branch\\\" is not validated before being provided to the \\\"git\\\" command within \\\"index.js#L139\\\". This could be abused by an attacker to inject arbitrary commands.\"},{\"lang\":\"es\",\"value\":\"push-dir versiones hasta 0.4.1, permite una ejecuci\u00f3n de c\u00f3digo arbitraria. Los argumentos proporcionados como parte de la variable \\\"opt.branch\\\" no son comprobados antes de ser suministrados al comando \\\"git\\\" dentro de \\\"index.js#L139\\\". Esto puede ser violado por parte de un atacante para inyectar comandos arbitrarios.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:N/C:P/I:P/A:P\",\"baseScore\":7.5,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"HIGH\",\"exploitabilityScore\":10.0,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-78\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:push-dir_project:push-dir:*:*:*:*:*:node.js:*:*\",\"versionEndIncluding\":\"0.4.1\",\"matchCriteriaId\":\"495D465A-DC16-40DB-A780-9075E394FBFC\"}]}]}],\"references\":[{\"url\":\"https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139\",\"source\":\"report@snyk.io\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009\",\"source\":\"report@snyk.io\",\"tags\":[\"Exploit\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Third Party Advisory\"]}]}}"
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…