fastify-reply-from is an npm package which is a fastify plugin to forward the current http request to another server. In fastify-reply-from before version 4.0.2, 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.0.2.
References
Link | Resource |
---|---|
https://github.com/fastify/fastify-reply-from/commit/dea227dda606900cc01870d08541b4dcc69d3889 | Patch Third Party Advisory |
https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-qmw8-3v4g-gwj4 | Third Party Advisory |
https://www.npmjs.com/package/fastify-reply-from | Product Third Party Advisory |
https://github.com/fastify/fastify-reply-from/commit/dea227dda606900cc01870d08541b4dcc69d3889 | Patch Third Party Advisory |
https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-qmw8-3v4g-gwj4 | Third Party Advisory |
https://www.npmjs.com/package/fastify-reply-from | Product Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
21 Nov 2024, 05:48
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/fastify/fastify-reply-from/commit/dea227dda606900cc01870d08541b4dcc69d3889 - Patch, Third Party Advisory | |
References | () https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-qmw8-3v4g-gwj4 - Third Party Advisory | |
References | () https://www.npmjs.com/package/fastify-reply-from - Product, Third Party Advisory |
Information
Published : 2021-03-02 04:15
Updated : 2024-11-21 05:48
NVD link : CVE-2021-21321
Mitre link : CVE-2021-21321
CVE.ORG link : CVE-2021-21321
JSON object : View
Products Affected
fastify-reply-from_project
- fastify-reply-from
CWE
CWE-20
Improper Input Validation