Miggo Logo

CVE-2025-1296: Nomad is vulnerable to unintentional exposure of the workload identity token and client secret token in audit logs

6.5

CVSS Score
3.1

Basic Information

EPSS Score
0.02587%
Published
3/10/2025
Updated
3/14/2025
KEV Status
No
Technology
TechnologyGo

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
github.com/hashicorp/nomadgo<= 1.9.6

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from three key points: 1) The ACL endpoint handler returned raw auth method data containing secrets via GetAuthMethod. 2) The event streaming system logged complete auth method data without filtering. 3) The ACLAuthMethod struct itself lacked inherent secret redaction. The commit fixes these by: 1) Adding Sanitize() calls in the API handler, 2) Adding sanitization in event generation, and 3) Implementing the Sanitize() method to scrub secrets. The high confidence for the first two comes from explicit pre-patch code showing missing sanitization, while the struct-level issue is medium confidence as it's an implicit design flaw.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

Nom** *ommunity *n* Nom** *nt*rpris* (“Nom**”) *r* vuln*r**l* to unint*ntion*l *xposur* o* t** worklo** i**ntity tok*n *n* *li*nt s**r*t tok*n in *u*it lo*s. T*is vuln*r**ility, i**nti*i** *s *V*-****-****, is *ix** in Nom** *ommunity **ition *.*.* *

Reasoning

T** vuln*r**ility st*ms *rom t*r** k*y points: *) T** **L *n*point **n*l*r r*turn** r*w *ut* m*t*o* **t* *ont*inin* s**r*ts vi* `**t*ut*M*t*o*`. *) T** *v*nt str**min* syst*m lo**** *ompl*t* *ut* m*t*o* **t* wit*out *ilt*rin*. *) T** `**L*ut*M*t*o*`