CVE-2021-29625

NameCVE-2021-29625
DescriptionAdminer is open-source database management software. A cross-site scripting vulnerability in Adminer versions 4.6.1 to 4.8.0 affects users of MySQL, MariaDB, PgSQL and SQLite. XSS is in most cases prevented by strict CSP in all modern browsers. The only exception is when Adminer is using a `pdo_` extension to communicate with the database (it is used if the native extensions are not enabled). In browsers without CSP, Adminer versions 4.6.1 to 4.8.0 are affected. The vulnerability is patched in version 4.8.1. As workarounds, one can use a browser supporting strict CSP or enable the native PHP extensions (e.g. `mysqli`) or disable displaying PHP errors (`display_errors`).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs988886

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
adminer (PTS)stretch4.2.5-3+deb9u1vulnerable
stretch (security)4.2.5-3+deb9u2vulnerable
buster4.7.1-1vulnerable
bullseye, sid4.7.9-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
adminersource(unstable)4.7.9-2988886

Notes

[buster] - adminer <no-dsa> (Minor issue)
[stretch] - adminer <no-dsa> (Minor issue)
https://github.com/vrana/adminer/security/advisories/GHSA-2v82-5746-vwqc
https://github.com/vrana/adminer/commit/4043092ec2c0de2258d60a99d0c5958637d051a7

Search for package or bug name: Reporting problems