Vulnerability Description
Servor 1.0.0 through 4.0.2 contains a path traversal vulnerability that allows unauthenticated remote attackers to escape the served root by sending URL-encoded dot segments. Attackers can send %2e%2e/ sequences, which decodeURI() decodes before path.join() in serveStaticFile and serveDirectoryListing, to read arbitrary files and list directories outside the root.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/lukejacksonn/servor
- https://github.com/lukejacksonn/servor/commit/ec7d824ea6903c0fb97a452045bbb83351
- https://github.com/lukejacksonn/servor/pull/70
- https://www.vulncheck.com/advisories/servor-1.0.0-through-4.0.2-unauthenticated-
FAQ
What is CVE-2021-48011?
CVE-2021-48011 is a vulnerability with a CVSS score of 7.5 (HIGH). Servor 1.0.0 through 4.0.2 contains a path traversal vulnerability that allows unauthenticated remote attackers to escape the served root by sending URL-encoded dot segments. Attackers can send %2e%2e...
How severe is CVE-2021-48011?
CVE-2021-48011 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-48011?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.