Improper Certificate Validation Affecting golang-bin package, versions <0:1.24.4-1.el9_6


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.01% (2nd 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-CENTOS9-GOLANGBIN-10350247
  • published13 Jun 2025
  • disclosed11 Jun 2025

Introduced: 11 Jun 2025

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

How to fix?

Upgrade Centos:9 golang-bin to version 0:1.24.4-1.el9_6 or higher.

NVD Description

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

Calling Verify with a VerifyOptions.KeyUsages that contains ExtKeyUsageAny unintentionally disabledpolicy validation. This only affected certificate chains which contain policy graphs, which are rather uncommon.

CVSS Base Scores

version 3.1