All CVEs / Fastify-reply-from Project
CVE-2021-21321Fastify-reply-from Project Fastify-reply-from
Critical 10.0 No auth needed
Follow: this CVE · Fastify-reply-from Project · Fastify-reply-from Project Fastify-reply-from We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 10.0
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 80
- Auth required
- No
- Published
- Mar 2, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Fastify-reply-from.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | fastify-reply-from |
< 4.0.2 |
4.0.2 |
npm install fastify-reply-from@4.0.2 |
Per OSV / GitHub Advisories (GHSA-qmw8-3v4g-gwj4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| fastify-reply-from_project | fastify-reply-from | < 4.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- www.npmjs.com Product Third Party Advisory