2023-04-24 12:24:31 +02:00
{
"id" : "CVE-2023-26111" ,
"sourceIdentifier" : "report@snyk.io" ,
"published" : "2023-03-06T05:15:12.920" ,
2023-11-07 21:03:21 +00:00
"lastModified" : "2023-11-07T04:09:21.793" ,
"vulnStatus" : "Modified" ,
2023-04-24 12:24:31 +02:00
"descriptions" : [
{
"lang" : "en" ,
2023-11-07 21:03:21 +00:00
"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.\r\r"
2023-04-24 12:24:31 +02:00
}
] ,
"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
} ,
{
2024-04-04 08:46:00 +00:00
"source" : "report@snyk.io" ,
2023-04-24 12:24:31 +02:00
"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"
}
]
2023-11-07 21:03:21 +00:00
} ,
{
2024-04-04 08:46:00 +00:00
"source" : "report@snyk.io" ,
2023-11-07 21:03:21 +00:00
"type" : "Secondary" ,
"description" : [
{
"lang" : "en" ,
"value" : "CWE-22"
}
]
2023-04-24 12:24:31 +02:00
}
] ,
"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"
]
}
]
}