Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Fastify-Http-Proxy Project | Fastify-Http-Proxy | < 4.3.1 |
Related Weaknesses (CWE)
References
- https://github.com/fastify/fastify-http-proxy/commit/02d9b43c770aa16bc44470edecfPatchThird Party Advisory
- https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-c4qr-gmr9Third Party Advisory
- https://www.npmjs.com/package/fastify-http-proxyProductThird Party Advisory
- https://github.com/fastify/fastify-http-proxy/commit/02d9b43c770aa16bc44470edecfPatchThird Party Advisory
- https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-c4qr-gmr9Third Party Advisory
- https://www.npmjs.com/package/fastify-http-proxyProductThird Party Advisory
FAQ
What is CVE-2021-21322?
CVE-2021-21322 is a vulnerability with a CVSS score of 10.0 (CRITICAL). 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 pro...
How severe is CVE-2021-21322?
CVE-2021-21322 has been rated CRITICAL with a CVSS base score of 10.0/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2021-21322?
Check the references section above for vendor advisories and patch information. Affected products include: Fastify-Http-Proxy Project Fastify-Http-Proxy.