Description
## Overview
`gulp-scss-lint` through 1.0.0 allows execution of arbitrary commands. It is possible to inject arbitrary commands to the "exec" function located in "src/command.js" via the provided options.
## Recommendation
Avoid using `gulp-scss-lint` as there is no current safe version of this module
## References
- [CVE](https://nvd.nist.gov/vuln/detail/CVE-2020-7601)
- [GitHub Advisory](https://github.com/advisories/GHSA-g4hj-r7r3-9rwv)
Affected Software
Related
{"id": "NODEJS:1688", "type": "nodejs", "bulletinFamily": "software", "title": "Injection in gulp-scss-lint", "description": "## Overview\n\n`gulp-scss-lint` through 1.0.0 allows execution of arbitrary commands. It is possible to inject arbitrary commands to the "exec" function located in "src/command.js" via the provided options.\n\n## Recommendation\n\nAvoid using `gulp-scss-lint` as there is no current safe version of this module\n\n## References\n\n- [CVE](https://nvd.nist.gov/vuln/detail/CVE-2020-7601)\n- [GitHub Advisory](https://github.com/advisories/GHSA-g4hj-r7r3-9rwv)", "published": "2021-05-07T16:18:45", "modified": "2021-05-07T16:21:08", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "cvss2": {"acInsufInfo": false, "cvssV2": {"accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 7.5, "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0"}, "exploitabilityScore": 10.0, "impactScore": 6.4, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "HIGH", "userInteractionRequired": false}, "cvss3": {"cvssV3": {"attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1"}, "exploitabilityScore": 3.9, "impactScore": 5.9}, "href": "https://www.npmjs.com/advisories/1688", "reporter": "Anonymous", "references": [], "cvelist": ["CVE-2020-7601"], "immutableFields": [], "lastseen": "2021-07-28T14:37:03", "viewCount": 41, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2020-7601"]}, {"type": "github", "idList": ["GHSA-G4HJ-R7R3-9RWV"]}, {"type": "huntr", "idList": ["1-NPM-GULP-SCSS-LINT"]}, {"type": "osv", "idList": ["OSV:GHSA-G4HJ-R7R3-9RWV"]}, {"type": "veracode", "idList": ["VERACODE:22722"]}]}, "score": {"value": 6.8, "vector": "NONE"}, "backreferences": {"references": [{"type": "cert", "idList": ["VU:319816"]}, {"type": "cve", "idList": ["CVE-2019-17606"]}, {"type": "github", "idList": ["GHSA-G4HJ-R7R3-9RWV"]}, {"type": "openvas", "idList": ["OPENVAS:1361412562310108456"]}, {"type": "threatpost", "idList": ["THREATPOST:12B9BFB35BF21AD95E3A7F11B241431F"]}]}, "exploitation": null, "affected_software": {"major_version": [{"name": "gulp-scss-lint", "version": 0}]}, "epss": [{"cve": "CVE-2020-7601", "epss": "0.006390000", "percentile": "0.760210000", "modified": "2023-03-19"}], "vulnersScore": 6.8}, "affectedSoftware": [{"operator": "ge", "version": "0.0.0", "name": "gulp-scss-lint"}], "_state": {"dependencies": 1660012827, "score": 1684015796, "affected_software_major_version": 1666695388, "epss": 1679308852}, "_internal": {"score_hash": "6f564b3684f4bbc047a4c6b7eb6c3682"}}
{"huntr": [{"lastseen": "2023-06-06T16:28:52", "description": "# Overview\n`gulp-scss-lint` is a Lint for your .scss files, this package is vulnerable to Command Injection.\n\nIt is possible to inject arbitrary commands to the exec function located in `src/command.js` via the provided options.\n\n# Proof of Concept by JHU System Security Lab\n```\nvar root = require(\"gulp-scss-lint\");\nvar attack_code = \"echo vulnerable > create.txt\";\nvar opt = {\n \"src\": attack_code\n}\nroot(opt);\n```", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "baseScore": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2020-09-02T00:00:00", "type": "huntr", "title": "Command Injection in juanfran/gulp-scss-lint", "bulletinFamily": "bugbounty", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2020-7601"], "modified": "2020-09-15T13:31:29", "id": "1-NPM-GULP-SCSS-LINT", "href": "https://www.huntr.dev/bounties/1-npm-gulp-scss-lint/", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "github": [{"lastseen": "2023-06-06T15:20:14", "description": "gulp-scss-lint through 1.0.0 allows execution of arbitrary commands. It is possible to inject arbitrary commands to the "exec" function located in "src/command.js" via the provided options.", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "baseScore": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2021-05-07T16:15:37", "type": "github", "title": "OS Command Injection in gulp-scss-lint", "bulletinFamily": "software", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2020-7601"], "modified": "2023-02-16T22:50:33", "id": "GHSA-G4HJ-R7R3-9RWV", "href": "https://github.com/advisories/GHSA-g4hj-r7r3-9rwv", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "osv": [{"lastseen": "2022-05-12T01:06:47", "description": "gulp-scss-lint through 1.0.0 allows execution of arbitrary commands. It is possible to inject arbitrary commands to the "exec" function located in "src/command.js" via the provided options.", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "baseScore": 9.8, "privilegesRequired": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "userInteraction": "NONE", "version": "3.1"}, "impactScore": 5.9}, "published": "2021-05-07T16:15:37", "type": "osv", "title": "OS Command Injection in gulp-scss-lint", "bulletinFamily": "software", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "acInsufInfo": false, "impactScore": 6.4, "obtainUserPrivilege": false}, "cvelist": ["CVE-2020-7601"], "modified": "2021-07-28T20:50:13", "id": "OSV:GHSA-G4HJ-R7R3-9RWV", "href": "https://osv.dev/vulnerability/GHSA-g4hj-r7r3-9rwv", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "cve": [{"lastseen": "2023-06-06T15:02:02", "description": "gulp-scss-lint through 1.0.0 allows execution of arbitrary commands. It is possible to inject arbitrary commands to the \"exec\" function located in \"src/command.js\" via the provided options.", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "baseScore": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2020-03-15T22:15:00", "type": "cve", "title": "CVE-2020-7601", "cwe": ["CWE-78"], "bulletinFamily": "NVD", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2020-7601"], "modified": "2021-07-21T11:39:00", "cpe": ["cpe:/a:gulp-scss-lint_project:gulp-scss-lint:1.0.0"], "id": "CVE-2020-7601", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-7601", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "cpe23": ["cpe:2.3:a:gulp-scss-lint_project:gulp-scss-lint:1.0.0:*:*:*:*:node.js:*:*"]}], "veracode": [{"lastseen": "2023-04-18T11:52:51", "description": "pulverizr is vulnerable to OS Command Injection. The vulnerability exists as the value of `src` is improperly handled by `src/command.js`.\n", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "baseScore": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2020-03-17T06:07:37", "type": "veracode", "title": "OS Command Injection", "bulletinFamily": "software", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2020-7601"], "modified": "2020-10-20T10:17:16", "id": "VERACODE:22722", "href": "https://sca.analysiscenter.veracode.com/vulnerability-database/security/1/1/sid-22722/summary", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}]}