CVE-2024-7625: Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking

Published Aug 14, 2024
·
Updated

In HashiCorp Nomad and Nomad Enterprise from 0.6.1 up to 1.6.13, 1.7.10, and 1.8.2, the archive unpacking process is vulnerable to writes outside the allocation directory during migration of allocation directories when multiple archive headers target the same file. This vulnerability, CVE-2024-7625, is fixed in Nomad 1.6.14, 1.7.11, and 1.8.3. Access or compromise of the Nomad client agent at the source allocation first is a prerequisite for leveraging this vulnerability.

Affected Software

9 affected componentsFixes available
go/github.com/hashicorp/nomad>=1.8.0<1.8.3
1.8.3
go/github.com/hashicorp/nomad>=1.7.0<1.7.11
1.7.11
go/github.com/hashicorp/nomad>=0.6.1<1.6.14
1.6.14
HashiCorp Nomad>=0.6.1<1.6.14
HashiCorp Nomad>=0.6.1<1.6.14
HashiCorp Nomad>=1.7.0<1.7.11
HashiCorp Nomad>=1.7.0<1.7.11
HashiCorp Nomad>=1.8.0<=1.8.3
HashiCorp Nomad>=1.8.0<1.8.3

Event History

Aug 14, 2024
CVE Published
via MITRE·11:20 PM
Data Sourced
via MITRE·11:20 PM
DescriptionSeverityWeakness
Aug 15, 2024
Data Sourced
via NVD·12:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:15 AM
Affected Software
Advisory Published
via GitHub·12:30 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-7625?

The severity of CVE-2024-7625 is considered high due to the potential for unauthorized writes outside the allocation directory.

2

How do I fix CVE-2024-7625?

To fix CVE-2024-7625, upgrade to version 1.8.3, 1.7.11, or 1.6.14 of HashiCorp Nomad.

3

What versions of HashiCorp Nomad are affected by CVE-2024-7625?

CVE-2024-7625 affects versions from 0.6.1 up to 1.6.13, 1.7.10, and 1.8.2 of HashiCorp Nomad.

4

What type of vulnerability is CVE-2024-7625?

CVE-2024-7625 is a directory traversal vulnerability related to archive unpacking that can lead to file corruption or unauthorized access.

5

Is CVE-2024-7625 present in Nomad Enterprise?

Yes, CVE-2024-7625 is present in both HashiCorp Nomad and Nomad Enterprise within the affected versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203