Cedar-policy cedar-java
CedarJava has policy injection, type confusion, and incorrect equality comparison vulnerabilities
CedarJava is an open source Java implementation of the Cedar policy language, used for fine-grained authorization decisions. In versions prior to 4.9.0, the EntityIdentifier.equals() has inverted null/self branches which could lead to incorrect equality comparisons. The EntityIdentifier.equals() method has inverted logic for null and self-reference checks, returning true for null comparisons and false for self-comparisons. This does not affect Cedar authorization decisions (computed in Rust from JSON), but could affect integrators who perform their own equality checks on entity identifiers. This issue has been fixed in version 4.9.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.9.0
Fixed in 4.9.0
Mitigation
Upgrade cedar-java to 4.9.0 or later.
References
- Vendor advisory github.com/cedar-policy/cedar-java/security/ad…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.