CVE-2022-3867: Github.com/hashicorp/nomad HashiCorp Nomad Vulnerable To Insufficient Vulnerability
LOWCVE-2022-3867 is a LOW (CVSS 2.7) hashicorp nomad vulnerable to insufficient vulnerability (CWE-613: Insufficient Session Expiration) affecting Github.com/hashicorp/nomad libraries in the Go ecosystem. The issue involves hashicorp nomad vulnerable to insufficient session expiration. Remediation is available by upgrading affected packages to version 1.4.2.
CVE-2022-3867 at a Glance
Security Impact
CVSS: 2.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2022-3867
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.4.2
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-2022-3867, 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.4.2), 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-613: Insufficient Session Expiration, where according to wasc, "insufficient session expiration is when a web site permits an attacker to reuse old session credentials or session ids for authorization.". 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-2022-3867 Affected Github.com/hashicorp/nomad Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/hashicorp/nomad
|
Go |
≥ 1.4.0
< 1.4.2
|
1.4.2
|
References
Frequently Asked Questions
What is CVE-2022-3867?
Which Github.com/hashicorp/nomad versions are affected?
What version fixes CVE-2022-3867?
Is github.com/hashicorp/nomad affected?
What is the CVSS score of CVE-2022-3867?
What CWE is associated with CVE-2022-3867?
How can I check Go dependencies for CVE-2022-3867?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9fmc-5fq4-5jwh",
"modified" : "2022-11-10T23:51:03Z",
"published" : "2022-11-10T12:01:03Z",
"aliases" : [ "CVE-2022-3867" ],
"summary" : "HashiCorp Nomad vulnerable to Insufficient Session Expiration",
"details" : "HashiCorp Nomad and Nomad Enterprise 1.4.0 up to 1.4.1 event stream subscribers using a token with TTL receive updates until token garbage is collected. Fixed in 1.4.2.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/hashicorp/nomad"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.4.0"
}, {
"fixed" : "1.4.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-3867"
}, {
"type" : "WEB",
"url" : "https://github.com/hashicorp/nomad/commit/dd6a4634a9652197fe4182e830f9a737d0ae1216"
}, {
"type" : "WEB",
"url" : "https://discuss.hashicorp.com/t/hcsec-2022-26-nomad-s-event-stream-subscriber-using-acl-token-with-ttl-receive-updates-until-garbage-collected/46168"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hashicorp/nomad"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-613" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2022-11-10T23:51:03Z",
"nvd_published_at" : "2022-11-10T06:15:00Z"
}
}