CVE-2021-21322
Prefix escape
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
fastify-http-proxy es un paquete npm que es un plugin fastify para enviar sus peticiones http a otro servidor, con hooks. Al diseñar una URL específica, es posible escapar el prefijo del servicio del backend proxy. Si la URL base del servidor proxy es "/pub/", un usuario espera que no sea posible acceder a "/priv" en el servicio objetivo. En versiones afectadas, es posible. Esto es corregido en la versión 4.3.1
A flaw was found in fastify-http-proxy. Escaping the prefix of the proxied backend service is possible by an attacker using a specially crafted URL. The highest threat from this vulnerability is to data confidentiality and integrity.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2020-12-22 CVE Reserved
- 2021-03-02 CVE Published
- 2024-07-20 EPSS Updated
- 2024-08-03 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-20: Improper Input Validation
CAPEC
References (5)
URL | Tag | Source |
---|---|---|
https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-c4qr-gmr9-v23w | Third Party Advisory | |
https://www.npmjs.com/package/fastify-http-proxy | Product |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://github.com/fastify/fastify-http-proxy/commit/02d9b43c770aa16bc44470edecfaeb7c17985016 | 2021-03-08 |
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2021-21322 | 2021-08-06 | |
https://bugzilla.redhat.com/show_bug.cgi?id=1942182 | 2021-08-06 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Fastify-http-proxy Project Search vendor "Fastify-http-proxy Project" | Fastify-http-proxy Search vendor "Fastify-http-proxy Project" for product "Fastify-http-proxy" | < 4.3.1 Search vendor "Fastify-http-proxy Project" for product "Fastify-http-proxy" and version " < 4.3.1" | node.js |
Affected
|