Live threats

All CVEs / Fastify-http-proxy Project

CVE-2021-21322Fastify-http-proxy Project Fastify-http-proxy

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.6%
probability of exploitation in 30 days · percentile 77
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:U/C:H/I:H/A:H

What happens

fastify-http-proxy is an npm package which is a fastify plugin for proxying your http requests to another server, with hooks. 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.3.1.

Original NVD text.

What to do

  1. Apply the vendor's security update for Fastify-http-proxy.
  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-http-proxy < 4.3.1 4.3.1 npm install fastify-http-proxy@4.3.1

Per OSV / GitHub Advisories (GHSA-c4qr-gmr9-v23w). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
fastify-http-proxy_projectfastify-http-proxy< 4.3.1

Official sources

References

Links published by the sources. Open them with care.