10

CVE-2021-21322: Prefix escape

Modified
AliasesGHSA-c4qr-gmr9-v23w
Published 02-03-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-21322 is a critical (CVSS 10.0) Improper Input Validation vulnerability in fastify-http-proxy_project fastify-http-proxy. EPSS estimates a 1.65% chance of exploitation in the next 30 days, higher than 77.3% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 10 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
10.0/10
010
Critical · v3.1 (CVE.org)
EPSS score
1.65%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 02-03-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

fastify-http-proxy is an npm package which is a fastify plugin for proxying your http requests to another server, with hooks. By crafting a specific URL, it is possible to escape the prefix of the proxied backend service. If the base url of the proxied server is `/pub/`, a user expect that accessing `/priv` on the target service would not be possible. In affected versions, it is possible. This is fixed in version 4.3.1.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.65%

Chance of exploitation in the next 30 days

Percentile

77%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 1.63% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Fastify1 product
Fastify-http-proxy_project1 product
Npm1 product
  • fastify-http-proxy< 4.3.1

3 vendors · 3 products

References

4 links