Insertion of Sensitive Information into Log File Affecting github.com/hashicorp/nomad/nomad/structs package, versions <1.9.7


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMHASHICORPNOMADNOMADSTRUCTS-9402854
  • published13 Mar 2025
  • disclosed10 Mar 2025
  • creditUnknown

Introduced: 10 Mar 2025

NewCVE-2025-1296  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade github.com/hashicorp/nomad/nomad/structs to version 1.9.7 or higher.

Overview

github.com/hashicorp/nomad/nomad/structs is a simple and flexible workload orchestrator to deploy and manage containers (docker, podman), non-containerized applications (executable, Java), and virtual machines (qemu) across on-prem and clouds at scale.

Nomad is supported on Linux, Windows, and macOS. A commercial version of Nomad, Nomad Enterprise, is also available

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File in the Auth method, due to missing sanitization, which allows an attacker to access the workload identity token and client secret token in audit logs.

CVSS Base Scores

version 4.0
version 3.1