CVE-2022-36085
Protection bypass in github.com/open-policy-agent/opa
7.4
HIGH
CVSS 3.1
EPSS 1.2%
描述
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 rejected by the compiler if encountered in the policy compilation stage. A bypass of this protection is possible when using the "with" keyword to mock a built-in function that isn't taken into account by WithUnsafeBuiltins.
如何修補 CVE-2022-36085
要修補 CVE-2022-36085,請將受影響套件升級到下列已修補版本。
- —升級至 0.43.1 或更新版本
- —升級至 0.44.0 或更新版本
CVE-2022-36085 正在被利用嗎?
低 — EPSS 為 1.2%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- >= 0.40.0, < 0.43.1
- >= 0.40.0, < 0.44.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |