漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
CedarJava has a policy injection vulnerability
Vulnerability Description
CedarJava is an open source Java implementation of the Cedar policy language, used for fine-grained authorization decisions. In versions prior to 2.3.6, 3.4.1 and 4.9.0, under certain circumstances, improper input handling could allow Cedar-expression injection via unescaped toCedarExpr(). The toCedarExpr() method on Cedar Value types does not escape special characters (" or \) when converting values to Cedar source code. If an integrator uses toCedarExpr() to build policy text at runtime from user-controlled values, an actor could inject arbitrary Cedar expressions. For example, injecting || true into a permit ... when { ... } clause could make the permit unconditional, or injecting && false into a forbid clause could prevent the forbid from triggering. This issue requires the integrator to use toCedarExpr() to build policy text at runtime from user-controlled input. This vulnerability has been fixed in versions 2.3.6, 3.4.1, and 4.9.0.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Vulnerability Title
CedarJava 代码注入漏洞
Vulnerability Description
Cedar CedarJava是Cedar组织的一款消息队列中间件。 CedarJava 2.3.6之前版本、3.4.1之前版本和4.9.0之前版本存在代码注入漏洞,该漏洞源于输入处理不当,导致toCedarExpr()方法在将值转换为Cedar源代码时未转义特殊字符,可能允许Cedar表达式注入,从而注入任意Cedar表达式。
CVSS Information
N/A
Vulnerability Type
N/A