Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/hashicorp/nomad: GHSA-25qx-vfw2-fw8r #3073

Closed
GoVulnBot opened this issue Aug 15, 2024 · 1 comment
Assignees
Labels

Comments

@GoVulnBot
Copy link

Advisory GHSA-25qx-vfw2-fw8r references a vulnerability in the following Go modules:

Module
github.com/hashicorp/nomad

Description:
In HashiCorp Nomad and Nomad Enterprise from 0.6.1 up to 1.16.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.

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/hashicorp/nomad
      versions:
        - introduced: 0.6.1
        - introduced: 1.7.0
        - introduced: 1.8.0
        - fixed: 1.8.3
      non_go_versions:
        - fixed: 1.6.14
        - fixed: 1.7.11
      vulnerable_at: 1.8.2
summary: |-
    Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths
    Through Archive Unpacking in github.com/hashicorp/nomad
cves:
    - CVE-2024-7625
ghsas:
    - GHSA-25qx-vfw2-fw8r
references:
    - advisory: https://github.com/advisories/GHSA-25qx-vfw2-fw8r
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-7625
    - web: https://discuss.hashicorp.com/t/hcsec-2024-17-nomad-vulnerable-to-allocation-directory-escape-on-non-existing-file-paths-through-archive-unpacking/69293
source:
    id: GHSA-25qx-vfw2-fw8r
    created: 2024-08-15T22:01:17.280902884Z
review_status: UNREVIEWED

@tatianab tatianab self-assigned this Aug 19, 2024
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/606775 mentions this issue: data/reports: add 4 reports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants