CVE-2020-7221
 
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
2Exploited in Wild
-Decision
Descriptions
mysql_install_db in MariaDB 10.4.7 through 10.4.11 allows privilege escalation from the mysql user account to root because chown and chmod are performed unsafely, as demonstrated by a symlink attack on a chmod 04755 of auth_pam_tool_dir/auth_pam_tool. NOTE: this does not affect the Oracle MySQL product, which implements mysql_install_db differently.
mysql_install_db en MariaDB versiones 10.4.7 hasta 10.4.11, permite una escalada de privilegios de la cuenta de usuario mysql a root porque chown y chmod se realizan de forma no segura, como es demostrado por un ataque de tipo symlink en un chmod 04755 de auth_pam_tool_dir/auth_pam_tool. NOTA: esto no afecta el producto Oracle MySQL, que implementa mysql_install_db de manera diferente.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2020-01-17 CVE Reserved
- 2020-02-04 CVE Published
- 2023-03-08 EPSS Updated
- 2024-08-04 CVE Updated
- 2024-08-04 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-59: Improper Link Resolution Before File Access ('Link Following')
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://github.com/MariaDB/server/commit/9d18b6246755472c8324bf3e20e234e08ac45618 | Third Party Advisory |
URL | Date | SRC |
---|---|---|
https://bugzilla.suse.com/show_bug.cgi?id=1160868 | 2024-08-04 | |
https://seclists.org/oss-sec/2020/q1/55 | 2024-08-04 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Mariadb Search vendor "Mariadb" | Mariadb Search vendor "Mariadb" for product "Mariadb" | >= 10.4.7 <= 10.4.11 Search vendor "Mariadb" for product "Mariadb" and version " >= 10.4.7 <= 10.4.11" | - |
Affected
|