10

CVE-2021-21321: fastify-reply-from_project fastify-reply-from Improper Input Validation

CVSS: 10.0v3.1CriticalModified
AliasesGHSA-qmw8-3v4g-gwj4
Published 02-03-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-21321 is a critical (CVSS 10.0) Improper Input Validation vulnerability in fastify-reply-from_project fastify-reply-from. EPSS estimates a 1.82% chance of exploitation in the next 30 days, higher than 78.4% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
10.0/10
010
Critical · v3.1 (CVE.org)
EPSS score
1.82%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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-reply-from is an npm package which is a fastify plugin to forward the current http request to another server. In fastify-reply-from before version 4.0.2, 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.0.2.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.82%

Chance of exploitation in the next 30 days

Percentile

78%

Versus all other CVEs

30-day change

0.00 pp

From 1.82% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.82%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Fastify1 product
Fastify-reply-from_project1 product
Npm1 product
  • fastify-reply-from< 4.0.2

3 vendors · 3 products

References

4 links