Amenazas en vivo

Todas las CVE / Openpolicyagent

CVE-2022-36085Openpolicyagent Open Policy Agent

Crítica 9.8 Sin autenticación

Prioridad
74
CVSS 3.1
9.8
EPSS
1.6%
probabilidad de explotación en 30 días · percentil 76
Requiere autenticación
No
Publicada
8 sep 2022
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-20, CWE-693
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: no · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Qué pasa

Open Policy Agent (OPA) is an open source, general-purpose policy engine. The Rego compiler provides a (deprecated) `WithUnsafeBuiltins` function, which allows users to provide a set of built-in functions that should be deemed unsafe — and as such rejected — by the compiler if encountered in the policy compilation stage. A bypass of this protection has been found, where the use of the `with` keyword to mock such a built-in function (a feature introduced in OPA v0.40.0), isn’t taken into account by `WithUnsafeBuiltins`. Multiple conditions need to be met in order to create an adverse effect. Version 0.43.1 contains a patch for this issue. As a workaround, avoid using the `WithUnsafeBuiltins` function and use the `capabilities` feature instead.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Open Policy Agent.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Go github.com/open-policy-agent/opa ≥ 0.40.0 < 0.43.1 0.43.1 go get github.com/open-policy-agent/opa@v0.43.1
Go github.com/open-policy-agent/opa ≥ 0.40.0 < 0.44.0 0.44.0 go get github.com/open-policy-agent/opa@v0.44.0

Según OSV / GitHub Advisories (GHSA-f524-rf33-2jjr, GO-2022-0978). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
openpolicyagentopen_policy_agent≥ 0.40.0 < 0.43.1

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.