Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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