Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-21221

5.9 · MEDIUM
Published Mar 17, 2022 fasthttp_project CWE-22 EPSS 2.50% (84th pctl)

Overview

CVE-2022-21221 is a medium-severity vulnerability affecting fasthttp_project fasthttp. It was published on March 17, 2022 and has a CVSS 3.1 base score of 5.9 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.9, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from fasthttp_project. Update fasthttp to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
fasthttp_project fasthttp >= 0, < 1.34.0 Affected

Frequently Asked Questions

What is CVE-2022-21221?

CVE-2022-21221 is a medium-severity vulnerability affecting fasthttp_project fasthttp. It was published on March 17, 2022 and has a CVSS 3.1 base score of 5.9 (MEDIUM).

How severe is CVE-2022-21221?

This vulnerability has a CVSS 3.1 base score of 5.9, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2022-21221?

Check the references section for vendor advisories and patches from fasthttp_project. Update fasthttp to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-21221?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-21221 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.