GitHub Advisoryadvisory · Packagist

GHSA-vh6j-wv25-8qxr Flow Bugfix Releases for Entity Security

HIGH Published 2024-06-05 Modified 2024-06-05 Official page ↗
Ecosystem
Packagist
Packages
typo3/flow
Severity
High
Reviewed
2024-06-05

Affected packages

• Packagist typo3/flow: >= 3.0.0, < 3.0.12 → fixed in 3.0.12 • Packagist typo3/flow: >= 3.1.0, < 3.1.10 → fixed in 3.1.10 • Packagist typo3/flow: >= 3.2.0, < 3.2.13 → fixed in 3.2.13 • Packagist typo3/flow: >= 3.3.0, < 3.3.13 → fixed in 3.3.13 • Packagist typo3/flow: >= 4.0.0, < 4.0.6 → fixed in 4.0.6

Description

If you had used entity security and wanted to secure entities not just based on the user's role, but on some property of the user (like the company he belongs to), entity security did not work properly together with the doctrine query cache. This could lead to other users re-using SQL queries from the cache which were built for other users; and thus users could see entities which were not destined for them.

References