CVE-2019-11244: K8s.io/client go Kubernetes Unsafe Cacheing Vulnerability
MODERATECVE-2019-11244 is a MODERATE (CVSS 5.0) kubernetes unsafe cacheing vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting K8s.io/client go libraries in the Go ecosystem. The issue involves kubernetes unsafe cacheing. Remediation is available by upgrading affected packages to version 1.12.9.
CVE-2019-11244 at a Glance
Security Impact
CVSS: 5.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N).
How to Fix CVE-2019-11244
To remediate this vulnerability, upgrade all affected K8s.io/client go 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 k8s.io/client-go to 1.12.9
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for k8s.io/client-go
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-11244, inspect your project dependencies for K8s.io/client go:
inspect dependencies for k8s.io/client-go
Analyze the terminal output to locate any version of K8s.io/client go in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.12.9), 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 K8s.io/client go, 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-2019-11244 Affected K8s.io/client go Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
k8s.io/client-go
|
Go |
≥ 1.8.0
< 1.12.9
|
1.12.9
|
References
Frequently Asked Questions
What is CVE-2019-11244?
Which K8s.io/client go versions are affected?
What version fixes CVE-2019-11244?
Is k8s.io/client-go affected?
What is the CVSS score of CVE-2019-11244?
What CWE is associated with CVE-2019-11244?
How can I check Go dependencies for CVE-2019-11244?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2575-pghm-6qqx",
"modified" : "2023-09-18T20:18:54Z",
"published" : "2022-02-15T01:57:18Z",
"aliases" : [ "CVE-2019-11244" ],
"summary" : "Kubernetes Unsafe Cacheing ",
"details" : "In Kubernetes v1.8.x-v1.14.x, schema info is cached by kubectl in the location specified by `--cache-dir` (defaulting to `$HOME/.kube/http-cache`), written with world-writeable permissions (`rw-rw-rw-`). If `--cache-dir` is specified and pointed at a different location accessible to other users/groups, the written files may be modified by other users/groups and disrupt the kubectl invocation. ",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "k8s.io/client-go"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.8.0"
}, {
"fixed" : "1.12.9"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-11244"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/issues/76676"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/pull/77874"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/pull/77874/commits/f228ae3364729caed59087e23c42868454bc3ff4"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/client-go/commit/790a4f63632139cf6731014d00a9a8338f1fbd7d"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2019:3942"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2020:0020"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2020:0074"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20190509-0002"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/108064"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-524", "CWE-732" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-07T17:22:21Z",
"nvd_published_at" : null
}
}