CVE-2025-22871 Affecting golang-tests package, versions <0:1.23.9-1.module+el8.10.0+1987+42f155bb


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.02% (5th 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-ROCKY8-GOLANGTESTS-11332117
  • published30 Jul 2025
  • disclosed8 Apr 2025

Introduced: 8 Apr 2025

CVE-2025-22871  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 golang-tests to version 0:1.23.9-1.module+el8.10.0+1987+42f155bb or higher.
This issue was patched in RLSA-2025:8478.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-tests package and not the golang-tests package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 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