Improper access control in Fastify-http-proxy - CVE-2021-21322

 

Improper access control in Fastify-http-proxy - CVE-2021-21322

Published: February 23, 2021 / Updated: July 20, 2026


Vulnerability identifier: #VU138400
CSH Severity: High
CVSS v4 BT: 8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Amber]
CVE-ID: CVE-2021-21322
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to access unintended proxied backend resources and disclose or modify sensitive information.

The vulnerability exists due to improper access control in the URL prefix handling of fastify-http-proxy when processing a specially crafted URL. A remote attacker can send a specially crafted request to access unintended proxied backend resources and disclose or modify sensitive information.


Affected software

Fastify-http-proxy
Red Hat Advanced Cluster Management for Kubernetes

How to mitigate CVE-2021-21322

Install security update from vendor's website.

Fastify-http-proxy - addressed in versions 4.3.1, 7.2.0
Red Hat Advanced Cluster Management for Kubernetes - update to 2.2.2

External References

Related Security Bulletins