Host file writes via colliding archive headers
Published Aug 14, 2024 · Updated Jan 9, 2025
Path traversal in HashiCorp Nomad and Nomad Enterprise allows remote authenticated users to write files outside allocation directories. During allocation migration, the unpacker fails to remove an existing path before processing another archive header for the same file, letting the later write resolve beyond the allocation directory. Exploitation requires access to or compromise of the source Nomad client agent, and the resulting impact is limited to unauthorized host-file modification.
Summary
What happened
Path traversal in HashiCorp Nomad and Nomad Enterprise allows remote authenticated users to write files outside allocation directories. During allocation migration, the unpacker fails to remove an existing path before processing another archive header for the same file, letting the later write resolve beyond the allocation directory. Exploitation requires access to or compromise of the source Nomad client agent, and the resulting impact is limited to unauthorized host-file modification.
The record
- CVE
- CVE-2024-7625
- Published
- Aug 14, 2024
- Updated
- Jan 9, 2025
- Vendor
- HashiCorp
- Product
- Nomad
- Classifications
- CWE-610, T1565.001
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Aug 14, 2024CVE publishedPublication date reported by the CVE source.
- Jan 9, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.6.1 <1.8.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo