CVE-2024-42327SQL injection in user.get API
A non-admin user account on the Zabbix frontend with the default User role, or with any other role that gives API access can exploit this vulnerability. An SQLi exists in the CUser class in the addRelatedObjects function, this function is being called from the CUser.get function which is available for every user who has API access.
What to do
Likely to be exploited: EPSS gives a 15% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Debian, Ubuntu have 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | zabbix | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | zabbix | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | zabbix | Fix pending | UBUNTU-CVE-2024-42327 | |
| Ubuntu 20.04 | zabbix | Fix pending | UBUNTU-CVE-2024-42327 | |
| Debian 14 | zabbix | Fixed | 1:7.0.1+dfsg-1 | DEBIAN-CVE-2024-42327 |
| Debian 13 | zabbix | Fixed | 1:7.0.1+dfsg-1 | DEBIAN-CVE-2024-42327 |
| Debian 12 | zabbix | Fix pending | DEBIAN-CVE-2024-42327 | |
| Alpine Linux 3.24 | zabbix | Fixed | 7.0.1-r0 | ALPINE-CVE-2024-42327 |
| Alpine Linux 3.23 | zabbix | Fixed | 7.0.1-r0 | ALPINE-CVE-2024-42327 |
| Alpine Linux 3.22 | zabbix | Fixed | 7.0.1-r0 | ALPINE-CVE-2024-42327 |
| Alpine Linux 3.21 | zabbix | Fixed | 7.0.1-r0 | ALPINE-CVE-2024-42327 |
| Alpine Linux 3.20 | zabbix | Fixed | 6.4.18-r0 | ALPINE-CVE-2024-42327 |
What the vendor says
As published in the CVE record by Zabbix, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Zabbix: affected: 6.0.0 to 6.0.31, 6.4.0 to 6.4.16, 7.0.0 to 7.0.1; fixed in
6.0.32rc1,6.4.17rc1,7.0.2rc1
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.