Search criteria
1 vulnerability by traceroute_project
CVE-2018-21268 (GCVE-0-2018-21268)
Vulnerability from cvelistv5 – Published: 2020-06-25 16:56 – Updated: 2024-08-05 12:26
VLAI
Summary
The traceroute (aka node-traceroute) package through 1.0.0 for Node.js allows remote command injection via the host parameter. This occurs because the Child.exec() method, which is considered to be not entirely safe, is used. In particular, an OS command can be placed after a newline character.
Severity
10 (Critical)
CWE
- n/a
Assigner
References
8 references
| URL | Tags |
|---|---|
| https://www.linkedin.com/posts/op-innovate_shell-… | x_refsource_MISC |
| https://www.op-c.net/2020/06/17/shell-command-inj… | x_refsource_MISC |
| https://medium.com/%40shay_62828/shell-command-in… | x_refsource_MISC |
| https://github.com/jaw187/node-traceroute/tags | x_refsource_MISC |
| https://www.npmjs.com/package/traceroute | x_refsource_MISC |
| https://www.npmjs.com/advisories/1465 | x_refsource_MISC |
| https://snyk.io/vuln/npm:traceroute:20160311 | x_refsource_MISC |
| https://github.com/jaw187/node-traceroute/commit/… | x_refsource_MISC |
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-05T12:26:39.592Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://www.linkedin.com/posts/op-innovate_shell-command-injection-through-traceroute-activity-6678956453086191616-Rcpy"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://www.op-c.net/2020/06/17/shell-command-injection-through-traceroute-npm-package/"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://medium.com/%40shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/jaw187/node-traceroute/tags"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://www.npmjs.com/package/traceroute"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://www.npmjs.com/advisories/1465"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://snyk.io/vuln/npm:traceroute:20160311"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/jaw187/node-traceroute/commit/b99ee024a01a40d3d20a92ad3769cc78a3f6386f"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "n/a",
"vendor": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "The traceroute (aka node-traceroute) package through 1.0.0 for Node.js allows remote command injection via the host parameter. This occurs because the Child.exec() method, which is considered to be not entirely safe, is used. In particular, an OS command can be placed after a newline character."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 10,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AC:L/AV:N/A:L/C:H/I:H/PR:N/S:C/UI:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "n/a",
"lang": "en",
"type": "text"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2020-06-25T16:56:53.000Z",
"orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"shortName": "mitre"
},
"references": [
{
"tags": [
"x_refsource_MISC"
],
"url": "https://www.linkedin.com/posts/op-innovate_shell-command-injection-through-traceroute-activity-6678956453086191616-Rcpy"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://www.op-c.net/2020/06/17/shell-command-injection-through-traceroute-npm-package/"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://medium.com/%40shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/jaw187/node-traceroute/tags"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://www.npmjs.com/package/traceroute"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://www.npmjs.com/advisories/1465"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://snyk.io/vuln/npm:traceroute:20160311"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/jaw187/node-traceroute/commit/b99ee024a01a40d3d20a92ad3769cc78a3f6386f"
}
],
"x_legacyV4Record": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2018-21268",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "The traceroute (aka node-traceroute) package through 1.0.0 for Node.js allows remote command injection via the host parameter. This occurs because the Child.exec() method, which is considered to be not entirely safe, is used. In particular, an OS command can be placed after a newline character."
}
]
},
"impact": {
"cvss": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AC:L/AV:N/A:L/C:H/I:H/PR:N/S:C/UI:N",
"version": "3.0"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://www.linkedin.com/posts/op-innovate_shell-command-injection-through-traceroute-activity-6678956453086191616-Rcpy",
"refsource": "MISC",
"url": "https://www.linkedin.com/posts/op-innovate_shell-command-injection-through-traceroute-activity-6678956453086191616-Rcpy"
},
{
"name": "https://www.op-c.net/2020/06/17/shell-command-injection-through-traceroute-npm-package/",
"refsource": "MISC",
"url": "https://www.op-c.net/2020/06/17/shell-command-injection-through-traceroute-npm-package/"
},
{
"name": "https://medium.com/@shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3",
"refsource": "MISC",
"url": "https://medium.com/@shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3"
},
{
"name": "https://github.com/jaw187/node-traceroute/tags",
"refsource": "MISC",
"url": "https://github.com/jaw187/node-traceroute/tags"
},
{
"name": "https://www.npmjs.com/package/traceroute",
"refsource": "MISC",
"url": "https://www.npmjs.com/package/traceroute"
},
{
"name": "https://www.npmjs.com/advisories/1465",
"refsource": "MISC",
"url": "https://www.npmjs.com/advisories/1465"
},
{
"name": "https://snyk.io/vuln/npm:traceroute:20160311",
"refsource": "MISC",
"url": "https://snyk.io/vuln/npm:traceroute:20160311"
},
{
"name": "https://github.com/jaw187/node-traceroute/commit/b99ee024a01a40d3d20a92ad3769cc78a3f6386f",
"refsource": "MISC",
"url": "https://github.com/jaw187/node-traceroute/commit/b99ee024a01a40d3d20a92ad3769cc78a3f6386f"
}
]
}
}
}
},
"cveMetadata": {
"assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"assignerShortName": "mitre",
"cveId": "CVE-2018-21268",
"datePublished": "2020-06-25T16:56:53.000Z",
"dateReserved": "2020-06-25T00:00:00.000Z",
"dateUpdated": "2024-08-05T12:26:39.592Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}