{ "id": "CVE-2023-26152", "sourceIdentifier": "report@snyk.io", "published": "2023-10-03T05:15:50.580", "lastModified": "2023-11-07T04:09:29.220", "vulnStatus": "Modified", "descriptions": [ { "lang": "en", "value": "All versions of the package static-server are vulnerable to Directory Traversal due to improper input sanitization passed via the validPath function of server.js." }, { "lang": "es", "value": "Todas las versiones del paquete static-server son vulnerables a Directory Traversal debido a una sanitizaci\u00f3n de entrada inadecuada pasada a trav\u00e9s de la funci\u00f3n validPath de server.js." } ], "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" } ] }, { "source": "report@snyk.io", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-22" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:nbluis:static-server:*:*:*:*:*:node.js:*:*", "versionEndIncluding": "3.0.0", "matchCriteriaId": "67CD3612-917D-4363-903B-40F649A46F11" } ] } ] } ], "references": [ { "url": "https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d", "source": "report@snyk.io", "tags": [ "Exploit", "Third Party Advisory" ] }, { "url": "https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223", "source": "report@snyk.io", "tags": [ "Product" ] }, { "url": "https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341", "source": "report@snyk.io", "tags": [ "Exploit", "Third Party Advisory" ] } ] }