SQL injection In cakephp/database
Description
CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver
Impact
The FunctionsBuilder::jsonValue($field, $jsonPath) methods with the Postgres driver is vulnerable to SQL injection if user controlled data is supplied to the $jsonPath parameter.
Patches
5.1.10, 5.2.15, 5.3.7
Workarounds
Don't provide user controlled data to these functions/parameters.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
packagist | 5.3.7, 5.2.15, 5.1.10 | ||
packagist | 5.3.7, 5.2.15, 5.1.10 | ||
debian 11 | - |
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1. 2. 3. 4. 5. 6. 7. 8.