CVE-2021-32575: Github.com/hashicorp/nomad Improper Network Isolation Vulnerability
MODERATECVE-2021-32575 is a MODERATE (CVSS 6.5) improper network isolation vulnerability (CWE-1100: Insufficient Isolation of System-Dependent Functions) affecting Github.com/hashicorp/nomad libraries in the Go ecosystem. The issue involves improper network isolation in hashicorp nomad. Remediation is available by upgrading affected packages to version 1.0.5, 0.12.12.
CVE-2021-32575 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2021-32575
To remediate this vulnerability, upgrade all affected Github.com/hashicorp/nomad dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/hashicorp/nomad to 1.0.5
Upgrade github.com/hashicorp/nomad to 0.12.12
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/hashicorp/nomad
How to Check if You Are Affected
To determine whether your application is affected by CVE-2021-32575, inspect your project dependencies for Github.com/hashicorp/nomad:
inspect dependencies for github.com/hashicorp/nomad
Analyze the terminal output to locate any version of Github.com/hashicorp/nomad in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1100: Insufficient Isolation of System-Dependent Functions, where the product or code does not isolate system-dependent functionality into separate standalone modules. In Github.com/hashicorp/nomad, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2021-32575 Affected Github.com/hashicorp/nomad Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/hashicorp/nomad
|
Go |
≥ 1.0.0
< 1.0.5
|
1.0.5
|
|
github.com/hashicorp/nomad
|
Go |
< 0.12.12
|
0.12.12
|
References
Frequently Asked Questions
What is CVE-2021-32575?
Which Github.com/hashicorp/nomad versions are affected?
What version fixes CVE-2021-32575?
Is github.com/hashicorp/nomad affected?
What is the CVSS score of CVE-2021-32575?
What CWE is associated with CVE-2021-32575?
How can I check Go dependencies for CVE-2021-32575?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vf6q-9f2f-mwhv",
"modified" : "2021-06-23T18:01:24Z",
"published" : "2021-06-24T20:28:21Z",
"aliases" : [ "CVE-2021-32575" ],
"summary" : "Improper network isolation in Hashicorp Nomad",
"details" : "HashiCorp Nomad and Nomad Enterprise up to version 1.0.4 bridge networking mode allows ARP spoofing from other bridged tasks on the same node. Fixed in 0.12.12, 1.0.5, and 1.1.0 RC1.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/hashicorp/nomad"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.0.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/hashicorp/nomad"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.12.12"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-32575"
}, {
"type" : "WEB",
"url" : "https://discuss.hashicorp.com/t/hcsec-2021-14-nomad-bridge-networking-mode-allows-arp-spoofing-from-other-bridged-tasks-on-same-node/24296"
}, {
"type" : "WEB",
"url" : "https://www.hashicorp.com/blog/category/nomad"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1100" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-06-18T18:39:21Z",
"nvd_published_at" : "2021-06-17T19:15:00Z"
}
}