HTTP Request Smuggling Affecting golang-src package, versions <0:1.23.8-1.amzn2.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.01% (1st 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-AMZN2-GOLANGSRC-9728088
  • published17 Apr 2025
  • disclosed8 Apr 2025

Introduced: 8 Apr 2025

NewCVE-2025-22871  (opens in a new tab)
CWE-444  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 golang-src to version 0:1.23.8-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2025-2825.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-src package and not the golang-src package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

The net/http package improperly accepts a bare LF as a line terminator in chunked data chunk-size lines. This can permit request smuggling if a net/http server is used in conjunction with a server that incorrectly accepts a bare LF as part of a chunk-ext.

CVSS Base Scores

version 3.1