{"id":"GHSA-gwmc-6795-qghj","summary":"HashiCorp Nomad Artifact Download Race Condition","details":"HashiCorp Nomad and Nomad Enterprise 0.3.0 through 1.0.17, 1.1.11, and 1.2.5 artifact download functionality has a race condition such that the Nomad client agent could download the wrong artifact into the wrong destination. This issue is fixed in 1.0.18, 1.1.12, and 1.2.6.","aliases":["CVE-2022-24686","GO-2022-0600"],"modified":"2024-08-21T15:41:50.046177Z","published":"2022-02-15T00:02:46Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-03-18T18:21:52Z","nvd_published_at":"2022-02-14T14:15:00Z","cwe_ids":["CWE-362"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24686"},{"type":"WEB","url":"https://github.com/hashicorp/nomad/issues/12036"},{"type":"WEB","url":"https://discuss.hashicorp.com"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2022-01-nomad-artifact-download-race-condition/35559"},{"type":"PACKAGE","url":"https://github.com/hashicorp/nomad"},{"type":"WEB","url":"https://github.com/hashicorp/nomad/releases/tag/v1.2.6"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220318-0008"}],"affected":[{"package":{"name":"github.com/hashicorp/nomad","ecosystem":"Go","purl":"pkg:golang/github.com/hashicorp/nomad"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.3.0"},{"fixed":"1.0.18"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-gwmc-6795-qghj/GHSA-gwmc-6795-qghj.json"}},{"package":{"name":"github.com/hashicorp/nomad","ecosystem":"Go","purl":"pkg:golang/github.com/hashicorp/nomad"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.1.0"},{"fixed":"1.1.12"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-gwmc-6795-qghj/GHSA-gwmc-6795-qghj.json"}},{"package":{"name":"github.com/hashicorp/nomad","ecosystem":"Go","purl":"pkg:golang/github.com/hashicorp/nomad"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.2.0"},{"fixed":"1.2.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-gwmc-6795-qghj/GHSA-gwmc-6795-qghj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}