Improper Certificate Validation Affecting golang-tests package, versions <0:1.25.5-1.module+el8.10.0+40071+153b71d1


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.02% (4th 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-15074430
  • published24 Jan 2026
  • disclosed2 Dec 2025

Introduced: 2 Dec 2025

CVE-2025-61729  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 golang-tests to version 0:1.25.5-1.module+el8.10.0+40071+153b71d1 or higher.
This issue was patched in RLSA-2026:0921.

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.

Within HostnameError.Error(), when constructing an error string, there is no limit to the number of hosts that will be printed out. Furthermore, the error string is constructed by repeated string concatenation, leading to quadratic runtime. Therefore, a certificate provided by a malicious actor can result in excessive resource consumption.

CVSS Base Scores

version 3.1