Vulnerabilities in pkg:golang/k8s.io/apiextensions-apiserver

PACKAGE
Advisory Identifier: GHSA-fp37-c92q-4pwq
Advisory Summary

CVE-2019-11247 is a HIGH (CVSS 8.1) kubernetes kube-apiserver unauthorized access vulnerability (CWE-863: Incorrect Authorization) affecting K8s.io/apiextensions apiserver libraries in the Go ecosystem. The issue involves kubernetes kube-apiserver unauthorized access. Remediation is available by upgrading affected packages to version 0.13.9, 0.14.5, 0.15.2.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/k8s.io/apiextensions-apiserver

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/k8s.io/apiextensions-apiserver. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-fp37-c92q-4pwq CVE-2019-11247 HIGH Kubernetes kube-apiserver unauthorized access

CVE-2019-11247 at a Glance

CVE Identifier CVE-2019-11247
GHSA Identifier GHSA-fp37-c92q-4pwq
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-863: Incorrect Authorization
Affected Product K8s.io/apiextensions apiserver
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2019-11247

To remediate this vulnerability, upgrade all affected K8s.io/apiextensions apiserver dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

k8s.io/apiextensions-apiserver fixed: 0.13.9
Upgrade k8s.io/apiextensions-apiserver to 0.13.9
k8s.io/apiextensions-apiserver fixed: 0.14.5
Upgrade k8s.io/apiextensions-apiserver to 0.14.5
k8s.io/apiextensions-apiserver fixed: 0.15.2
Upgrade k8s.io/apiextensions-apiserver to 0.15.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for k8s.io/apiextensions-apiserver

How to Check if You Are Affected

To determine whether your application is affected by CVE-2019-11247, inspect your project dependencies for K8s.io/apiextensions apiserver:

inspect dependencies for k8s.io/apiextensions-apiserver

Analyze the terminal output to locate any version of K8s.io/apiextensions apiserver in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.13.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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In K8s.io/apiextensions apiserver, 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

The Kubernetes kube-apiserver mistakenly allows access to a cluster-scoped custom resource if the request is made as if the resource were namespaced. Authorizations for the resource accessed in this manner are enforced using roles and role bindings within the namespace, meaning that a user with access only to a resource in one namespace could create, view update or delete the cluster-scoped resource (according to their namespace role privileges). Kubernetes affected versions include versions prior to 1.13.9, versions prior to 1.14.5, versions prior to 1.15.2, and versions 1.7, 1.8, 1.9, 1.10, 1.11, 1.12.

CVE-2019-11247 Affected K8s.io/apiextensions apiserver Versions

3 component(s)
Fixed Versions:
0.13.90.14.50.15.2
Product / Package Ecosystem Affected Versions Fixed Version
k8s.io/apiextensions-apiserver
Go
≥ 0.7.0
< 0.13.9
0.13.9
k8s.io/apiextensions-apiserver
Go
≥ 0.14.0
< 0.14.5
0.14.5
k8s.io/apiextensions-apiserver
Go
≥ 0.15.0
< 0.15.2
0.15.2

References

NVD — CVE-2019-11247 NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-11247
K8s.io/apiextensions apiserver Source Repository REPOSITORY
https://github.com/kubernetes/kubernetes/issues/80983
K8s.io/apiextensions apiserver Source Repository REPOSITORY
https://github.com/kubernetes/kubernetes/pull/80750
K8s.io/apiextensions apiserver Source Repository REPOSITORY
https://github.com/kubernetes/kubernetes/pull/80850
K8s.io/apiextensions apiserver Source Repository REPOSITORY
https://github.com/kubernetes/kubernetes/pull/80851
K8s.io/apiextensions apiserver Source Repository REPOSITORY
https://github.com/kubernetes/kubernetes/pull/80852
Security Fix Commit FIX COMMIT
https://github.com/kubernetes/apiextensions-apiserver/commit/b9b7d2b3f32f8edbeb47b8726710eeb868bce196
access.redhat.com/errata/rhba-2019:28... WEB
https://access.redhat.com/errata/RHBA-2019:2816
access.redhat.com/errata/rhba-2019:28... WEB
https://access.redhat.com/errata/RHBA-2019:2824
access.redhat.com/errata/rhsa-2019:26... WEB
https://access.redhat.com/errata/RHSA-2019:2690
access.redhat.com/errata/rhsa-2019:27... WEB
https://access.redhat.com/errata/RHSA-2019:2769
K8s.io/apiextensions apiserver Source Repository REPOSITORY
https://github.com/kubernetes/apiextensions-apiserver
K8s.io/apiextensions apiserver Security Information SECURITY
https://groups.google.com/d/msg/kubernetes-security-announce/vUtEcSEY6SM/v2ZZxsmtFQAJ
K8s.io/apiextensions apiserver Security Information SECURITY
https://security.netapp.com/advisory/ntap-20190919-0003

Frequently Asked Questions

What is CVE-2019-11247?
CVE-2019-11247 is a security vulnerability in K8s.io/apiextensions apiserver involving Kubernetes kube-apiserver unauthorized access under CWE-863: Incorrect Authorization.
Which K8s.io/apiextensions apiserver versions are affected?
Affected versions include releases prior to 0.13.9, 0.14.5, 0.15.2 across affected packages: k8s.io/apiextensions-apiserver.
What version fixes CVE-2019-11247?
Upgrading to 0.13.9, 0.14.5, 0.15.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is k8s.io/apiextensions-apiserver affected?
Yes, k8s.io/apiextensions-apiserver is affected in releases prior to 0.13.9, 0.14.5, 0.15.2. Upgrade your dependency to 0.13.9, 0.14.5, 0.15.2 or later.
What is the CVSS score of CVE-2019-11247?
CVE-2019-11247 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2019-11247?
CVE-2019-11247 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check Go dependencies for CVE-2019-11247?
Run the dependency tree command: 'inspect dependencies for k8s.io/apiextensions-apiserver'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-fp37-c92q-4pwq",
  "modified" : "2023-09-25T19:56:20Z",
  "published" : "2022-05-24T16:55:06Z",
  "aliases" : [ "CVE-2019-11247" ],
  "summary" : "Kubernetes kube-apiserver unauthorized access",
  "details" : "The Kubernetes kube-apiserver mistakenly allows access to a cluster-scoped custom resource if the request is made as if the resource were namespaced. Authorizations for the resource accessed in this manner are enforced using roles and role bindings within the namespace, meaning that a user with access only to a resource in one namespace could create, view update or delete the cluster-scoped resource (according to their namespace role privileges). Kubernetes affected versions include versions prior to 1.13.9, versions prior to 1.14.5, versions prior to 1.15.2, and versions 1.7, 1.8, 1.9, 1.10, 1.11, 1.12.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "k8s.io/apiextensions-apiserver"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.7.0"
      }, {
        "fixed" : "0.13.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "k8s.io/apiextensions-apiserver"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.14.0"
      }, {
        "fixed" : "0.14.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "k8s.io/apiextensions-apiserver"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.15.0"
      }, {
        "fixed" : "0.15.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-11247"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubernetes/kubernetes/issues/80983"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubernetes/kubernetes/pull/80750"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubernetes/kubernetes/pull/80850"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubernetes/kubernetes/pull/80851"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubernetes/kubernetes/pull/80852"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubernetes/apiextensions-apiserver/commit/b9b7d2b3f32f8edbeb47b8726710eeb868bce196"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHBA-2019:2816"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHBA-2019:2824"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2690"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2769"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/kubernetes/apiextensions-apiserver"
  }, {
    "type" : "WEB",
    "url" : "https://groups.google.com/d/msg/kubernetes-security-announce/vUtEcSEY6SM/v2ZZxsmtFQAJ"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20190919-0003"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-17T23:39:36Z",
    "nvd_published_at" : "2019-08-29T01:15:00Z"
  }
}