{ "id": "CVE-2023-26111", "sourceIdentifier": "report@snyk.io", "published": "2023-03-06T05:15:12.920", "lastModified": "2023-03-10T22:43:29.727", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "All versions of the package @nubosoftware/node-static; all versions of the package node-static are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function." } ], "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:N/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE", "baseScore": 7.5, "baseSeverity": "HIGH" }, "exploitabilityScore": 3.9, "impactScore": 3.6 }, { "source": "report@snyk.io", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE", "baseScore": 7.5, "baseSeverity": "HIGH" }, "exploitabilityScore": 3.9, "impactScore": 3.6 } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-22" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:\\@nubosoftware\\/node-static_project:\\@nubosoftware\\/node-static:-:*:*:*:*:node.js:*:*", "matchCriteriaId": "A6C388A6-611C-43A6-9974-74E328554E18" }, { "vulnerable": true, "criteria": "cpe:2.3:a:node-static_project:node-static:-:*:*:*:*:node.js:*:*", "matchCriteriaId": "954E5123-26DC-4031-9A2E-BF7998864795" } ] } ] } ], "references": [ { "url": "https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bc", "source": "report@snyk.io", "tags": [ "Exploit", "Third Party Advisory" ] }, { "url": "https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-L163", "source": "report@snyk.io", "tags": [ "Broken Link" ] }, { "url": "https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928", "source": "report@snyk.io", "tags": [ "Exploit", "Third Party Advisory" ] }, { "url": "https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927", "source": "report@snyk.io", "tags": [ "Exploit", "Third Party Advisory" ] } ] }