{"id":"CVE-2021-21384","state":"PUBLISHED","title":"Null characters not escaped in shescape","description":"shescape is a simple shell escape package for JavaScript. In shescape before version 1.1.3, anyone using _Shescape_ to defend against shell injection may still be vulnerable against shell injection if the attacker manages to insert a into the payload. For an example see the referenced GitHub Security Advisory. The problem has been patched in version 1.1.3. No further changes are required.","publishedAt":"2021-03-18T23:50:13.000Z","updatedAt":"2024-08-03T18:09:15.790Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["ericcornelissen shescape"],"affected":[{"vendor":"ericcornelissen","product":"shescape","versions":[{"version":"< 1.1.3","status":"affected"}]}],"references":["https://github.com/ericcornelissen/shescape/security/advisories/GHSA-f2rp-38vg-j3gh","https://github.com/ericcornelissen/shescape/commit/07a069a66423809cbedd61d980c11ca44a29ea2b","https://github.com/ericcornelissen/shescape/releases/tag/v1.1.3","https://www.npmjs.com/package/shescape"],"weaknesses":["CWE-88"],"ingestedAt":"2026-10-29T19:47:59.168Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/21xxx/CVE-2021-21384.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-21384","state":"PUBLISHED","datePublished":"2021-03-18T23:50:13.000Z","dateUpdated":"2024-08-03T18:09:15.790Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-12-22T00:00:00.000Z"},"containers":{"cna":{"title":"Null characters not escaped in shescape","descriptions":[{"lang":"en","value":"shescape is a simple shell escape package for JavaScript. In shescape before version 1.1.3, anyone using _Shescape_ to defend against shell injection may still be vulnerable against shell injection if the attacker manages to insert a into the payload. For an example see the referenced GitHub Security Advisory. The problem has been patched in version 1.1.3. No further changes are required."}],"affected":[{"vendor":"ericcornelissen","product":"shescape","versions":[{"version":"< 1.1.3","status":"affected"}]}],"references":[{"url":"https://github.com/ericcornelissen/shescape/security/advisories/GHSA-f2rp-38vg-j3gh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ericcornelissen/shescape/commit/07a069a66423809cbedd61d980c11ca44a29ea2b","tags":["x_refsource_MISC"]},{"url":"https://github.com/ericcornelissen/shescape/releases/tag/v1.1.3","tags":["x_refsource_MISC"]},{"url":"https://www.npmjs.com/package/shescape","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-88","description":"CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-03-18T23:50:13.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-f2rp-38vg-j3gh","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-21384","STATE":"PUBLIC","TITLE":"Null characters not escaped in shescape"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"shescape","version":{"version_data":[{"version_value":"< 1.1.3"}]}}]},"vendor_name":"ericcornelissen"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"shescape is a simple shell escape package for JavaScript. In shescape before version 1.1.3, anyone using _Shescape_ to defend against shell injection may still be vulnerable against shell injection if the attacker manages to insert a into the payload. For an example see the referenced GitHub Security Advisory. The problem has been patched in version 1.1.3. No further changes are required."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')"}]}]},"references":{"reference_data":[{"name":"https://github.com/ericcornelissen/shescape/security/advisories/GHSA-f2rp-38vg-j3gh","refsource":"CONFIRM","url":"https://github.com/ericcornelissen/shescape/security/advisories/GHSA-f2rp-38vg-j3gh"},{"name":"https://github.com/ericcornelissen/shescape/commit/07a069a66423809cbedd61d980c11ca44a29ea2b","refsource":"MISC","url":"https://github.com/ericcornelissen/shescape/commit/07a069a66423809cbedd61d980c11ca44a29ea2b"},{"name":"https://github.com/ericcornelissen/shescape/releases/tag/v1.1.3","refsource":"MISC","url":"https://github.com/ericcornelissen/shescape/releases/tag/v1.1.3"},{"name":"https://www.npmjs.com/package/shescape","refsource":"MISC","url":"https://www.npmjs.com/package/shescape"}]},"source":{"advisory":"GHSA-f2rp-38vg-j3gh","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/ericcornelissen/shescape/security/advisories/GHSA-f2rp-38vg-j3gh","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/ericcornelissen/shescape/commit/07a069a66423809cbedd61d980c11ca44a29ea2b","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/ericcornelissen/shescape/releases/tag/v1.1.3","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.npmjs.com/package/shescape","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T18:09:15.790Z"}}]}}}