Skip to content
Heist/ feed
Back to feed
Low

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-42331

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
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-42331
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:28 UTC · Revision 1

Source evidence

CVE-2024-42331

core-osv · Original source

Published 27 Nov 2024, 12:15 UTC

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.

osv:CVE-2024-42331
Complete source record
{
  "id": "33dbca3cea00c776ee63c7ea3c88ae27468af25bb15820362d3b5de504517ce6",
  "url": "https://osv.dev/vulnerability/CVE-2024-42331",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-42331",
    "summary": "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.",
    "evidence": "osv:CVE-2024-42331",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2024-42331",
      "aliases": [
        "CVE-2024-42331"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/zabbix/zabbix",
              "type": "GIT",
              "events": [
                {
                  "introduced": "49955f1fb5c9168a8a24b053f7ade6b3d903143c"
                },
                {
                  "fixed": "f383737f1083e25756c6afaaa8abff05ad11eb50"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:zabbix:zabbix:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "fixed": "7.0.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.0.4rc1",
            "7.0.3",
            "7.0.3rc1",
            "7.0.2",
            "7.0.2rc2",
            "7.0.2rc1",
            "7.0.1",
            "7.0.1rc2",
            "7.0.1rc1",
            "7.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42331.json",
            "vanir_signatures": [
              {
                "id": "CVE-2024-42331-efef764d",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "158703392381671019955663987886552441761",
                    "260539109617570610531885982419177346223",
                    "24620959945945567121836211561936761519",
                    "167792423538235293008428595269249306508",
                    "192204268449565753401476537568276663620",
                    "222572340168714685842508309588394178632"
                  ]
                },
                "source": "https://github.com/zabbix/zabbix/commit/f383737f1083e25756c6afaaa8abff05ad11eb50",
                "target": {
                  "file": "src/zabbix_java/src/com/zabbix/gateway/GeneralInformation.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:36:25Z"
          }
        }
      ],
      "modified": "2026-10-24T14:36:25.802163545Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2024/12/msg00005.html",
        "https://support.zabbix.com/browse/ZBX-25627"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2024-42331",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443793,
  "published_at": "2024-11-27T12:15:21.133+00:00"
}