{"id":"GHSA-x5r2-hj5c-8jx6","aliases":["CVE-2021-21311"],"title":"SSRF in adminer","description":"### Impact\nUsers of Adminer versions bundling all drivers (e.g. `adminer.php`) are affected.\n\n### Patches\nPatched by ccd2374b, included in version [4.7.9](https://github.com/vrana/adminer/releases/tag/v4.7.9).\n\n### Workarounds\n* Use a single driver version (e.g. `adminer-mysql.php`).\n* Protect access to Adminer also by other means, e.g. by HTTP password, IP address limiting or by OTP [plugin](https://www.adminer.org/plugins/).\n\n### References\nhttps://github.com/vrana/adminer/files/5957311/Adminer.SSRF.pdf\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Comment at ccd2374b.","severity":"high","score":7.2,"published":"2021-02-11T20:42:59.000Z","modified":"2026-09-10T03:49:14.190Z","withdrawn":false,"knownExploited":true,"affected":[{"ecosystem":"Packagist","name":"vrana/adminer","ranges":[{"events":[{"introduced":"0"},{"fixed":"4.7.9"}],"type":"ECOSYSTEM"}],"versions":["v4.2.0","v4.2.1","v4.2.2","v4.2.3","v4.2.4","v4.2.5","v4.3.0","v4.3.1","v4.4.0","v4.5.0","v4.6.0","v4.6.1","v4.6.2","v4.6.3","v4.7.0","v4.7.1","v4.7.2","v4.7.3","v4.7.4","v4.7.5","v4.7.6","v4.7.7","v4.7.8"],"fixed":["4.7.9"]}],"sourceAffected":[],"references":["https://github.com/vrana/adminer/security/advisories/GHSA-x5r2-hj5c-8jx6","https://nvd.nist.gov/vuln/detail/CVE-2021-21311","https://github.com/vrana/adminer/commit/ccd2374b0b12bd547417bf0dacdf153826c83351","https://github.com/vrana/adminer","https://github.com/vrana/adminer/files/5957311/Adminer.SSRF.pdf","https://lists.debian.org/debian-lts-announce/2021/03/msg00002.html","https://packagist.org/packages/vrana/adminer","https://sourceforge.net/p/adminer/news/2021/02/adminer-479-released","https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21311"],"sources":[{"name":"OSV","id":"GHSA-x5r2-hj5c-8jx6","modified":"2026-09-10T03:49:14.190623191Z","url":"https://osv.dev/vulnerability/GHSA-x5r2-hj5c-8jx6"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N/E:H","score":7.2}]}