{"id":"CVE-2023-51701","published":"2024-01-08T13:55:05Z","modified":"2025-06-03T14:37:39Z","title":"@fastify-reply-from JSON Content-Type parsing confusion","vendor":"fastify","product":"fastify-reply-from","tier":"tail","description":{"text":"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. \n","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00479,"percentile":0.42245,"provenance":"source"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"references":[{"url":"https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-v2v2-hph8-q5xp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/fastify/fastify-reply-from/releases/tag/v9.6.0","tags":["x_refsource_MISC"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":8.45},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"fastify","affectedVersions":[{"vendor":"fastify","product":"fastify-reply-from","versions":["< 9.6.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-05-08T15:43:47.541104Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@fastify/reply-from","vulnerableRanges":["<9.6.0"],"patched":["9.6.0"],"from":["GHSA-v2v2-hph8-q5xp"],"provenance":"source"}],"summary":{"text":"The flaw lies in the fastify-reply-from plugin, which forwards HTTP requests from a Fastify-based reverse proxy to another server, where it can misinterpret the incoming request body when a crafted JSON Content-Type header with extra whitespace and a charset parameter is supplied. An unauthenticated remote attacker with network access can send such a request without any user interaction or non-default configuration, which can lead to bypass of security checks in the proxy.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:58Z"},"euvd":{"id":"EUVD-2024-0427","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-fastify-reply-from-cve-2023-51701","children":[{"from":"CVE-2023-51701","to":"CVE-2025-66415","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/fastify/fastify-reply-from/commit/cbd7c17c09e6476268e34f5e499a6b923e8acc18","https://github.com/fastify/fastify-reply-from/commit/4d9795cd5b57a36756d37b7f036eae369f69fa66"],"basis":"shared function","functions":["from"]}]}]}}