CVE-2023-51701
highpriority · track · 30EPSS 0.005 · 41 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.3–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-v2v2-hph8-q5xp@fastify/reply-from JSON Content-Type parsing confusion2024-01-08ghsa · osvUS
### Impact The main repo of fastify use [fast-content-type-parse](https://github.com/fastify/fast-content-type-parse) to parse request Content-Type, which will [trim after split](https://github.com/fastify/fast-content-type-parse/blob/2776d054dd48e9ce40b8d5e5ff9b46fee82b95f1/index.js#L59). The [fastify-reply-from](https://github.com/fastify/fastify-reply-from/blob/b79a22d6eb9a0b52cfbe8eb2cb22ad65f5a39e64/index.js#L118C14-L118C14) have not use this repo to unify the parse of Content-Type, which [won't trim](https://github.com/fastify/fastify-reply-from/blob/b79a22d6eb9a0b52cfbe8eb2cb22ad65f5a39e64/index.js#L118C14-L118C14). As a result, 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. ### Patches `@fastify/reply-from` v9.6.0 include the fix. ### Workarounds There are no known workarounds. ### References Hackerone Report: https://hackerone.com/reports/2295770.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-51701/cnnvd
- https://github.com/fastify/fastify-reply-from/releases/tag/v9.6.0cnnvd
- https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-v2v2-hph8-q5xpcnnvd
- https://github.com/fastify/fastify-reply-from/releases/tag/v9.6.0enisa_euvd
- https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-v2v2-hph8-q5xpenisa_euvd
- https://github.com/fastify/fastify-reply-from/releases/tag/v9.6.0Release Notesnvd
- https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-v2v2-hph8-q5xpVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan