Intel

AIKIDO-2024-10205

zenstack is vulnerable to Improper Access Control

Improper Access Control Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 6, 2024

91

Critical Risk

This Affects:

jszenstack
0.1.0 - 2.3.3
Fixed in 2.4.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to improper access control. ZenStack internally uses { AND: [] } to represent constant true and { OR: [] } for constant false. However, Prisma provides inconsistent query results in certain nesting combinations, which can allow unauthenticated users to read from tables.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

zenstack is vulnerable to Improper Access Control in versions 0.1.0 - 2.3.3.

How to fix this

Upgrade the zenstack library to the patch version.