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 (77.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 78th percentile — 77.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.018 · newest: 0.018 · change: 0.000
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)
Frequently asked questions
- What is CVE-2021-21321?
- CVE-2021-21321 is a critical-severity vulnerability in Fastify Fastify-Reply-From, classified under Improper Input Validation. CVSS score: 10.0/10. Published 2021-03-02.
- How severe is CVE-2021-21321?
- Critical severity. CVSS v3 base score is 10.0 out of 10.