// For flags

CVE-2022-21701

Privileged Escalation in Istio

Severity Score

8.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Istio es una plataforma abierta para conectar, administrar y asegurar microservicios. En las versiones 1.12.0 y 1.12.1 Istio es vulnerable a un ataque de escalada de privilegios. Los usuarios que presentan permiso "CREATE" para los objetos "gateways.gateway.networking.k8s.io" pueden escalar este privilegio para crear otros recursos a los que no tienen acceso, como "Pod". Esta vulnerabilidad afecta sólo a una característica de nivel Alpha, la API de Kubernetes Gateway. No es lo mismo que el tipo de Gateway de Istio (gateways.networking.istio.io), que no es vulnerable. Se recomienda a los usuarios que actualicen para resolver este problema. Los usuarios que no puedan actualizar deberán implementar alguna de las siguientes medidas que evitarán esta vulnerabilidad: Eliminar el CustomResourceDefinition de gateways.gateway.networking.k8s.io, establecer la variable de entorno PILOT_ENABLE_GATEWAY_API_DEPLOYMENT_CONTROLLER=true en Istiod, o eliminar los permisos CREATE para los objetos de gateways.gateway.networking.k8s.io de los usuarios que no sean confiables

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
Attack Vector
Network
Attack Complexity
Medium
Authentication
Single
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2021-11-16 CVE Reserved
  • 2022-01-19 CVE Published
  • 2023-08-12 EPSS Updated
  • 2024-08-03 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-863: Incorrect Authorization
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Istio
Search vendor "Istio"
Istio
Search vendor "Istio" for product "Istio"
1.12.0
Search vendor "Istio" for product "Istio" and version "1.12.0"
-
Affected
Istio
Search vendor "Istio"
Istio
Search vendor "Istio" for product "Istio"
1.12.0
Search vendor "Istio" for product "Istio" and version "1.12.0"
alpha0
Affected
Istio
Search vendor "Istio"
Istio
Search vendor "Istio" for product "Istio"
1.12.0
Search vendor "Istio" for product "Istio" and version "1.12.0"
alpha1
Affected
Istio
Search vendor "Istio"
Istio
Search vendor "Istio" for product "Istio"
1.12.0
Search vendor "Istio" for product "Istio" and version "1.12.0"
alpha5
Affected
Istio
Search vendor "Istio"
Istio
Search vendor "Istio" for product "Istio"
1.12.0
Search vendor "Istio" for product "Istio" and version "1.12.0"
beta0
Affected
Istio
Search vendor "Istio"
Istio
Search vendor "Istio" for product "Istio"
1.12.0
Search vendor "Istio" for product "Istio" and version "1.12.0"
beta1
Affected
Istio
Search vendor "Istio"
Istio
Search vendor "Istio" for product "Istio"
1.12.0
Search vendor "Istio" for product "Istio" and version "1.12.0"
beta2
Affected
Istio
Search vendor "Istio"
Istio
Search vendor "Istio" for product "Istio"
1.12.0
Search vendor "Istio" for product "Istio" and version "1.12.0"
rc1
Affected
Istio
Search vendor "Istio"
Istio
Search vendor "Istio" for product "Istio"
1.12.1
Search vendor "Istio" for product "Istio" and version "1.12.1"
-
Affected