Servor 1.0.0 through 4.0.2 Unauthenticated Path Traversal via URL-Encoded Dot Segments
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.
CVE-2021-48011
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2021-48011
servor
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/lukejacksonn/servor",
"vendor": "lukejacksonn",
"product": "servor",
"versions": [
{
"status": "affected",
"version": "1.0.0",
"versionType": "semver",
"lessThanOrEqual": "4.0.2"
}
],
"packageURL": "pkg:npm/servor",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2021-48011
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #20323 · Revision 1
- Added to Heist Feed
- Publisher date