CVE-2021-21322CWE-20

Prefix escape

Critical · published March 2, 2021

CVSS v3.1
10.0
EPSS
2%
Percentile
76.0
In the wild
Unconfirmed
What it is

🔥 A crafty URL can sneak past your security setup! An attacker can escape the intended path of your proxied backend service, accessing data they shouldn't. 🚨 Think of it like a restaurant where the menu clearly states that a specific dish is off-limits. But somehow, a hungry diner finds a way around the rules and gets served that dish anyway—definitely not the intended experience! This flaw could allow an attacker to access sensitive endpoints they should never reach, potentially exposing confidential data or even compromising the service entirely. It's absolutely devastating for your application's integrity!

Put simply

Think of it like a restaurant where the menu clearly states that a specific dish is off-limits. But somehow, a hungry diner finds a way around the rules and gets served that dish anyway—definitely not the intended experience! This CVE in the fastify-http-proxy npm package lets attackers craft URLs that bypass intended routing, allowing access to restricted areas of a target server, which shouldn't be possible under normal circumstances.

What to do

This flaw could allow an attacker to access sensitive endpoints they should never reach, potentially exposing confidential data or even compromising the service entirely. It's absolutely devastating for your application's integrity! Upgrade fastify-http-proxy to version 4.3.1 immediately. Review your proxy configuration to ensure there are no remaining vulnerabilities, and consider implementing additional validation checks on your routes. You’ve got this! Patch up and keep your service secure! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.01627 · 76.0th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2021-03-02T03:35Z
EPSS history
Timeline
  • 02 MAR 03:35Z
    Prefix escape
    cvelistv5