Debian Security Advisory

DLA-2912-1 libphp-adodb -- LTS security update

Date Reported:
06 Feb 2022
Affected Packages:
Security database references:
In the Debian bugtracking system: Bug 1004376.
In Mitre's CVE dictionary: CVE-2021-3850.
More information:

It was found that in libphp-adodb, a PHP database abstraction layer library, an attacker can inject values into the PostgreSQL connection string by bypassing adodb_addslashes(). The function can be bypassed in phppgadmin, for example, by surrounding the username in quotes and submitting with other parameters injected in between.

For Debian 9 stretch, this problem has been fixed in version 5.20.9-1+deb9u1.

We recommend that you upgrade your libphp-adodb packages.

For the detailed security status of libphp-adodb please refer to its security tracker page at:

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: