Incorrect Authorization Affecting servicemesh-galley package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.1% (43rd 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 Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-SERVICEMESHGALLEY-4408269
  • published26 Mar 2023
  • disclosed18 Jan 2022

Introduced: 18 Jan 2022

CVE-2022-21701  (opens in a new tab)
CWE-863  (opens in a new tab)
CWE-1220  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:8 servicemesh-galley.

NVD Description

Note: Versions mentioned in the description apply only to the upstream servicemesh-galley package and not the servicemesh-galley package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

Istio is an open platform to connect, manage, and secure microservices. In versions 1.12.0 and 1.12.1 Istio is vulnerable to a privilege escalation attack. Users who have CREATE permission for gateways.gateway.networking.k8s.io objects can escalate this privilege to create other resources that they may not have access to, such as Pod. This vulnerability impacts only an Alpha level feature, the Kubernetes Gateway API. This is not the same as the Istio Gateway type (gateways.networking.istio.io), which is not vulnerable. Users are advised to upgrade to resolve this issue. Users unable to upgrade should implement any of the following which will prevent this vulnerability: Remove the gateways.gateway.networking.k8s.io CustomResourceDefinition, set PILOT_ENABLE_GATEWAY_API_DEPLOYMENT_CONTROLLER=true environment variable in Istiod, or remove CREATE permissions for gateways.gateway.networking.k8s.io objects from untrusted users.

CVSS Scores

version 3.1