HTTP Request Smuggling Affecting @fastify/reply-from package, versions <9.6.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-FASTIFYREPLYFROM-6146944
  • published9 Jan 2024
  • disclosed8 Jan 2024
  • creditqwerty472123

Introduced: 8 Jan 2024

CVE-2023-51701  (opens in a new tab)
CWE-444  (opens in a new tab)

How to fix?

Upgrade @fastify/reply-from to version 9.6.0 or higher.

Overview

@fastify/reply-from is a forward your HTTP request to another server, for fastify

Affected versions of this package are vulnerable to HTTP Request Smuggling due to improper handling of the ContentType header with additional whitespace and charset information. An attacker can bypass security checks by crafting a header that exploits this behavior.

CVSS Scores

version 3.1