Insecure Default Initialization of Resource Affecting github.com/k3s-io/k3s/pkg/daemons/agent package, versions >=1.32.0-rc1 <1.32.4-rc1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (14th 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-GOLANG-GITHUBCOMK3SIOK3SPKGDAEMONSAGENT-10267877
  • published30 May 2025
  • disclosed25 Apr 2025
  • creditf1veT

Introduced: 25 Apr 2025

CVE-2025-46599  (opens in a new tab)
CWE-1188  (opens in a new tab)

How to fix?

Upgrade github.com/k3s-io/k3s/pkg/daemons/agent to version 1.32.4-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Insecure Default Initialization of Resource due to the misconfiguration of the ReadOnlyPort setting. An attacker can gain unauthorized access to exposed credentials by connecting to the open port without authentication.

CVSS Base Scores

version 4.0
version 3.1