Improper input validation in Fastify Fastify-Http-Proxy
CVE-2021-21322
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.016, 76.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Fastify Fastify-Http-Proxy — versions < 4.3.1
- Fastify-Http-Proxy Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/fastify/fastify-http-proxy/security/advisories/GHSA-c4qr-gmr9-v23w (Third Party Advisory)
- www.npmjs.com/package/fastify-http-proxy (Product, Third Party Advisory)
- github.com/fastify/fastify-http-proxy/commit/02d9b43c770aa16bc44470edecfaeb7c17… (Patch, Third Party Advisory)