openpolicyagent open_policy_agent 输入验证不恰当

admin 2023-11-30 06:06:49 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 openpolicyagent open_policy_agent 输入验证不恰当

CVE编号

CVE-2022-36085

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-09-08
漏洞描述
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.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/open-policy-agent/opa/commit/25a597bc3f4985162e7f65f9c3659...
https://github.com/open-policy-agent/opa/commit/3e8c754ed007b22393cf65e48751a...
https://github.com/open-policy-agent/opa/pull/4540
https://github.com/open-policy-agent/opa/pull/4616
https://github.com/open-policy-agent/opa/releases/tag/v0.43.1
https://github.com/open-policy-agent/opa/security/advisories/GHSA-f524-rf33-2jjr
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 openpolicyagent open_policy_agent * From (including) 0.40.0 Up to (excluding) 0.43.1
阿里云评分 6.7
  • 攻击路径 远程
  • 攻击复杂度 容易
  • 权限要求 无需权限
  • 影响范围 全局影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-20 输入验证不恰当
CWE-693 保护机制失效
NVD-CWE-noinfo
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0