CVEfocus › CVE database › CVE-2021-21311

CVE-2021-21311SSRF in adminer

Known exploited (CISA KEV)CVSS 7.2 HighEPSS 98.5% (in the top 1% of all CVEs)Published 2021-02-11Updated 2025-10-21Assigner: GitHub_M

Adminer is an open-source database management in a single PHP file. In adminer from version 4.0.0 and before 4.7.9 there is a server-side request forgery vulnerability. Users of Adminer versions bundling all drivers (e.g. `adminer.php`) are affected. This is fixed in version 4.7.9.

CWE-918

What to do

This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2025-09-29). If you run an affected version, patch or mitigate now.

Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
4Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04adminerNot affected
vulnerable_code_not_present
Ubuntu 22.04adminerNot affected
vulnerable_code_not_present
Ubuntu 20.04adminerFix pending4.7.6-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-21311
Ubuntu 18.04adminerFix pending4.6.2-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-21311
Ubuntu 16.04adminerFix pending4.2.1-1ubuntu1+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-21311
Ubuntu 14.04adminerFix pending
Debian 14adminerFixed4.7.9-1DEBIAN-CVE-2021-21311
Debian 13adminerFixed4.7.9-1DEBIAN-CVE-2021-21311
Debian 12adminerFixed4.7.9-1DEBIAN-CVE-2021-21311
Packagist libraryvrana/adminerFixed4.7.9GHSA-x5r2-hj5c-8jx6

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.