PT-2021-14418 · Unknown · @Fastify/Reply-From
Corey Farrell
·
Published
2021-03-02
·
Updated
2021-03-09
·
CVE-2021-21321
CVSS v3.1
10
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
fastify-reply-from versions prior to 4.0.2
Description
The issue allows an attacker to escape the prefix of the proxied backend service by crafting a specific URL. For example, if the base URL of the proxied server is "/pub/", an attacker can access "/priv" on the target service, which should not be possible.
Recommendations
For versions prior to 4.0.2, update to version 4.0.2 or later to resolve the issue. As a temporary workaround, consider restricting access to sensitive areas of the proxied backend service until the update can be applied.
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
@Fastify/Reply-From