Improper input validation in Fastify Fastify-Reply-From
CVE-2021-21321
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.
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.018, 79.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Fastify Fastify-Reply-From — versions < 4.0.2
- Fastify-Reply-From Project
Weakness classification (CWE)
References
- github.com/fastify/fastify-reply-from/security/advisories/GHSA-qmw8-3v4g-gwj4 (Third Party Advisory)
- www.npmjs.com/package/fastify-reply-from (Product, Third Party Advisory)
- github.com/fastify/fastify-reply-from/commit/dea227dda606900cc01870d08541b4dcc6… (Patch, Third Party Advisory)