CVE-2021-21322: fastify-http-proxy_project fastify-http-proxy Improper Input Validation
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.63% chance of exploitation in the next 30 days, higher than 75.8% of scored vulnerabilities.
Timeline
- 02-03-2021PublishedVulnerability first disclosed.
- 03-08-2024Last 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- OSV · NpmEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
1.63%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
0.00 pp
From 1.63% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Fastify1 product
- fastify-http-proxy< 4.3.1
Fastify-http-proxy_project1 product
- fastify-http-proxy< 4.3.1
Npm1 product
- fastify-http-proxy< 4.3.1
3 vendors · 3 products
References
4 links- github.com/fastify/fastify-http-proxy/security/advisories/GHSA-c4qr-gmr9-v23wX Refsource CONFIRMWEBThird Party Advisory
- github.com/fastify/fastify-http-proxy/commit/02d9b43c770aa16bc44470edecfaeb7c17985016X Refsource MISCWEBPatchThird Party Advisory