Live threats

All CVEs / Fastify-reply-from Project

CVE-2021-21321Fastify-reply-from Project Fastify-reply-from

Critical 10.0 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Fastify-reply-from.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
fastify-reply-from_projectfastify-reply-from< 4.0.2

Official sources

References

Links published by the sources. Open them with care.