adodb/adodb-php
Affected
- introduced
0, fixed5.22.9(ecosystem)
Fixed versions
5.22.9
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2025-46337
SQL injection in ADOdb PostgreSQL driver pg_insert_id() method
Improper escaping of a query parameter may allow an attacker to execute arbitrary SQL statements when the code using ADOdb connects to a PostgreSQL database and calls pg_insert_id() with user-supplied data.
Note that the indicated Severity corresponds to a worst-case usage scenario.
Impact
PostgreSQL drivers (postgres64, postgres7, postgres8, postgres9).
Patches
Vulnerability is fixed in ADOdb 5.22.9 (11107d6d6e5160b62e05dff8a3a2678cf0e3a426).
Workarounds
Only pass controlled data to pg_insert_id() method's $fieldname parameter, or escape it with pg_escape_identifier() first.
References
Credits
Thanks to Marco Nappi (@mrcnpp) for reporting this vulnerability.
Critical Basis: The source's own band: CRITICAL
0, fixed 5.22.9 (ecosystem)5.22.9
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0