cve.bz

CVE-2021-21321

10.0 criticalEPSS 1.8%

Critical (10.0) in fastify-reply-from project fastify-reply-from. EPSS 1.8% chance of exploitation in the next 30 days. Fixed in fastify-reply-from 4.0.2.

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.

Severity

CVSS 3.1

10.0 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
1.8% chance of exploitation in the next 30 days; higher than 78% of CVEs (scores of 2026-10-31)
CWE
CWE-20
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qmw8-3v4g-gwj4npmfastify-reply-from<4.0.24.0.2

References

Check your stackJSON