First published: Tue Feb 23 2021(Updated: )
A flaw was found in fastify-reply-from. Escaping of the prefix of the proxied backend service is possible allowing an attacker, using a specially crafted URL, to gain access to directories that would otherwise be out of bounds. The highest threat from this vulnerability is to data confidentiality and integrity.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/fastify-reply-from | <4.0.2 | 4.0.2 |
Fastify Reply-from | <4.0.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-21321 is rated as a high severity vulnerability due to its potential to expose sensitive files and directories.
To fix CVE-2021-21321, upgrade the fastify-reply-from package to version 4.0.2 or later.
CVE-2021-21321 affects the fastify-reply-from package specifically versions prior to 4.0.2.
CVE-2021-21321 allows attackers to exploit improperly handled URL prefixes to access restricted directories.
Yes, CVE-2021-21321 can be exploited remotely using specially crafted URLs.