Incorrect Default Permissions Affecting github.com/kumahq/kuma/pkg/plugins/runtime/k8s/controllers/gatewayapi package, versions <2.7.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Default Permissions vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMKUMAHQKUMAPKGPLUGINSRUNTIMEK8SCONTROLLERSGATEWAYAPI-8515887
  • published15 Dec 2024
  • disclosed25 Jul 2024
  • creditHouqiyuA

Introduced: 25 Jul 2024

CVE-2024-36542  (opens in a new tab)
CWE-276  (opens in a new tab)

How to fix?

Upgrade github.com/kumahq/kuma/pkg/plugins/runtime/k8s/controllers/gatewayapi to version 2.7.1 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Default Permissions for clusterRole, which has ServiceAccount permissions on the underlying k8s infrastructure. An attacker in possession of the ServiceAccount token can escalate privileges on the underlying cluster.

CVSS Scores

version 4.0
version 3.1