GHSA-9m6v-8fxc-4r44
Sulu: Used API Keys may be available via Admin API
Quick fix
GHSA-9m6v-8fxc-4r44 — sulu/sulu: upgrade to the fixed version with the command below.
composer require sulu/sulu:^3.0.6Details
### Impact
The users endpoint controller exposes a project's apiKey field to the logged-in user, provided they have permission for that endpoint. This only has impact if a project itself uses that specific field, Sulu itself does nothing with it and has no authentication per apiKey in its core.
### Patches
A patch is released with Version 2.6.23 and 3.0.5.
### Workarounds
Remove the field descriptor by patch the UserController.php File in Sulu Security Bundle.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/sulu/sulu"]}'