CVE-2020-1742: Withdrawn Advisory Kubernetes-nmstate Insecure Privilege Management Vulnerability
HIGHCVE-2020-1742 is a HIGH (CVSS 7.0) kubernetes-nmstate insecure privilege management vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Withdrawn Advisory libraries in the Go ecosystem. The issue involves kubernetes-nmstate insecure privilege management. Remediation is available in the latest vendor maintenance releases.
CVE-2020-1742 at a Glance
Security Impact
CVSS: 7.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2020-1742
To remediate this vulnerability, upgrade all affected Withdrawn Advisory 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/nmstate/kubernetes-nmstate to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/nmstate/kubernetes-nmstate
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-1742, inspect your project dependencies for Withdrawn Advisory:
inspect dependencies for github.com/nmstate/kubernetes-nmstate
Analyze the terminal output to locate any version of Withdrawn Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In Withdrawn Advisory, 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-2020-1742 Affected Withdrawn Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/nmstate/kubernetes-nmstate
|
Go |
|
|
References
Frequently Asked Questions
What is CVE-2020-1742?
Which Withdrawn Advisory versions are affected?
What version fixes CVE-2020-1742?
Is github.com/nmstate/kubernetes-nmstate affected?
What is the CVSS score of CVE-2020-1742?
What CWE is associated with CVE-2020-1742?
How can I check Go dependencies for CVE-2020-1742?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jw82-xjgr-g6f8",
"modified" : "2023-08-23T21:44:47Z",
"published" : "2022-05-24T19:04:13Z",
"withdrawn" : "2023-08-23T21:44:47Z",
"aliases" : [ "CVE-2020-1742" ],
"summary" : "Withdrawn Advisory: kubernetes-nmstate Insecure Privilege Management",
"details" : "## Withdrawn Advisory\nThis advisory has been withdrawn. This link is maintained to preserve external references.\n\n## Original Description\nAn insecure modification vulnerability flaw was found in containers using nmstate/kubernetes-nmstate-handler. An attacker with access to the container could use this flaw to modify /etc/passwd and escalate their privileges. Versions before kubernetes-nmstate-handler-container-v2.3.0-30 are affected.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/nmstate/kubernetes-nmstate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "< 2.3.0-30"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-1742"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1803608"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269", "CWE-732" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-13T23:17:51Z",
"nvd_published_at" : "2021-06-07T20:15:00Z"
}
}