CVE-2023-51701 @fastify-reply-from JSON Content-Type parsing confusion
HighCVSS 7.5
EPSS 0.48%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
fastify-reply-from is a Fastify plugin to forward the current HTTP request to another server. A reverse proxy server built with @fastify/reply-from could misinterpret the incoming body by passing an header ContentType: application/json ; charset=utf-8. This can lead to bypass of security checks. This vulnerability has been patched in '@fastify/reply-from` version 9.6.0.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| fastify @fastify/reply-from | < 9.6.0 | 9.6.0 | Fixed |
| fastify @fastify/reply-from(npm) | < 9.6.0 | 9.6.0 | Fixed |
| fastify-reply-from | = < 9.6.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| fastify @fastify/reply-from(npm) | < 9.6.0 | 9.6.0 |
| fastify-reply-from | = < 9.6.0 | No fix listed |
| fastify @fastify/reply-from | < 9.6.0 | 9.6.0 |
References
- https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-v2v2-hph8-q5xp vendor-advisory
- github.com patch
- https://github.com/fastify/fastify-reply-from/releases/tag/v9.6.0 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product