CVE-2024-42331
Fixed in a distro release EPSS <1%CVSS 3.3
In the src/libs/zbxembed/browser.c file, the es_browser_ctor method retrieves a heap pointer from the Duktape JavaScript engine. This heap pointer is subsequently utilized by the browser_push_error method in the src/libs/zbxembed/browser_error.c file. A use-after-free bug can occur at this stage if the wd->browser heap pointer is freed by garbage collection.
Products: Zabbix
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 11 | zabbix | 1:5.0.45+dfsg-1+deb11u1 |
| Debian 12 | zabbix | no fix |
| Debian 13 | zabbix | 1:7.0.5+dfsg-1 |
| Debian 14 | zabbix | 1:7.0.5+dfsg-1 |
| Ubuntu Pro 14.04 LTS | zabbix | no fix |
| Ubuntu Pro 16.04 LTS | zabbix | no fix |
| Ubuntu Pro 18.04 LTS | zabbix | no fix |
| Ubuntu Pro 20.04 LTS | zabbix | no fix |
| Ubuntu Pro 22.04 LTS | zabbix | no fix |