Name | CVE-2024-42331 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3984-1 |
Debian Bugs | 1088689 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
zabbix (PTS) | jessie, jessie (lts) | 1:2.2.23+dfsg-0+deb8u9 | fixed |
| stretch (security) | 1:3.0.32+dfsg-0+deb9u3 | fixed |
| stretch (lts), stretch | 1:3.0.32+dfsg-0+deb9u8 | fixed |
| buster (security), buster, buster (lts) | 1:4.0.4+dfsg-1+deb10u5 | fixed |
| bullseye | 1:5.0.8+dfsg-1 | vulnerable |
| bullseye (security) | 1:5.0.45+dfsg-1+deb11u1 | fixed |
| bookworm | 1:6.0.14+dfsg-1 | vulnerable |
| sid, trixie | 1:7.0.6+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
zabbix | source | jessie | (not affected) | | | |
zabbix | source | stretch | (not affected) | | | |
zabbix | source | buster | (not affected) | | | |
zabbix | source | bullseye | 1:5.0.45+dfsg-1+deb11u1 | | DLA-3984-1 | |
zabbix | source | (unstable) | 1:7.0.5+dfsg-1 | | | 1088689 |
Notes
https://support.zabbix.com/browse/ZBX-25627
Fixed by (merge commit): https://github.com/zabbix/zabbix/commit/e1bcc14d49a779587b6f31dddaf1ccbba4008d20 (7.0.4rc1)
and additionally https://github.com/zabbix/zabbix/commit/e731ed95fda7572ebae5eaffaa70f41e8f897e0d (7.0.4rc1)
[buster] - zabbix <not-affected> (vulnerable feature introduced later)
[stretch] - zabbix <not-affected> (vulnerable feature introduced later)
[jessie] - zabbix <not-affected> (vulnerable feature introduced later)
duktape library introduced with https://github.com/zabbix/zabbix/commit/d43b04665c1ade5b4a9f49db750b8ca6c82e9de2 (5.0.0alpha1)