CVE-2023-51701 json
@fastify-reply-from JSON Content-Type parsing confusion
published 2024-01-08 2 y ago modified 2026-09-10 1 mo ago also GHSA-v2v2-hph8-q5xp , EUVD-2024-0427
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @fastify/reply-from 9.6.0
- fastify reply-from 9.6.0
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.48% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @fastify/reply-from | <9.6.0 |
9.6.0 |
Affected products
- fastify fastify-reply-from
Classification
- Weakness
-
- CWE-444 Inconsistent Interpretation of HTTP Requests
References
-
github.com
/fastify/fastify-reply-from/commit/cbd7c17c09e6476268e34f5e499a6b923e8acc18
web
-
github.com
/fastify/fastify-reply-from/security/advisories/GHSA-v2v2-hph8-q5xp
web, vendor-advisory
-
github.com
/fastify/fastify-reply-from/releases/tag/v9.6.0
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2023-51701
advisory
-
github.com
/fastify/fastify-reply-from
package
Sources
- CVE List CVE-2023-51701
- GitHub Advisory GHSA-v2v2-hph8-q5xp
- NVD CVE-2023-51701
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.