Cleartext Storage of Sensitive Information Affecting github.com/juju/utils/v4/winrm package, versions >=4.0.1 <4.0.4


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
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 Learn

Learn about Cleartext Storage of Sensitive Information vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMJUJUUTILSV4WINRM-10703711
  • published11 Jul 2025
  • disclosed1 Jul 2025
  • creditUnknown

Introduced: 1 Jul 2025

NewCVE-2025-6224  (opens in a new tab)
CWE-312  (opens in a new tab)

How to fix?

Upgrade github.com/juju/utils/v4/winrm to version 4.0.4 or higher.

Overview

Affected versions of this package are vulnerable to Cleartext Storage of Sensitive Information via the cert.NewLeaf function. An attacker can obtain sensitive private key material by intercepting certificates transmitted in plaintext during a TLS handshake, allowing impersonation of either the server or client.

CVSS Base Scores

version 4.0
version 3.1