{"id":"GO-2022-0355","revision":"20b7fd9340fd4469b748bec45f370daa","records":[{"revision":"20b7fd9340fd4469b748bec45f370daa","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2022-0355","aliases":["CVE-2022-21221","GHSA-fx95-883v-4q4h","SNYK-GOLANG-GITHUBCOMVALYALAFASTHTTP-2407866"],"title":"Path traversal in github.com/valyala/fasthttp","description":"The fasthttp.FS request handler is vulnerable to directory traversal attacks on Windows systems, and can serve files from outside the provided root directory.\n\nURL path normalization does not handle Windows path separators (backslashes), permitting an attacker to construct requests with relative paths.","state":0,"publishedAt":"2022-07-27T20:26:59+00:00","modifiedAt":"2026-07-08T06:49:38.0335111+00:00","affected":[{"ecosystem":"Go","name":"github.com/valyala/fasthttp","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.34.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/valyala/fasthttp/commit/6b5bc7bb304975147b4af68df54ac214ed2554c1","https://github.com/valyala/fasthttp/issues/1226","https://github.com/valyala/fasthttp/releases/tag/v1.34.0","https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMVALYALAFASTHTTP-2407866"],"sourceUrl":"https://osv.dev/vulnerability/GO-2022-0355","license":"OSV · upstream source license applies","key":"osv:GO-2022-0355","identifiers":["GO-2022-0355","CVE-2022-21221","GHSA-fx95-883v-4q4h","SNYK-GOLANG-GITHUBCOMVALYALAFASTHTTP-2407866"]},"retained":false,"historicalAffected":[]}],"coverage":[]}