Path Traversal in Fasthttp Project

CVE-2022-21221

The package github.com/valyala/fasthttp before 1.34.0 are vulnerable to Directory Traversal via the ServeFile function, due to improper sanitization. It is possible to be exploited by using a backslash %5c character in the path. **Note:** This security issue impacts Windows users only.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.

EPSS exploit prediction

EPSS: 0.025 (84.1th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 84th percentile — 84.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-21221: held from 0.025 to 0.025.

EPSS over last 30 days · oldest: 0.025 · newest: 0.025 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-21221?
CVE-2022-21221 is a medium-severity vulnerability in Fasthttp Project, classified under Path Traversal. CVSS score: 5.9/10. Published 2022-03-17.
How severe is CVE-2022-21221?
Medium severity. CVSS v3 base score is 5.9 out of 10.