What’s Vulnerable › Vulnerabilities
CVE-2023-49275: Wazuh vulnerable to NULL Pointer Dereference in wazuh-analysisd
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-04-19 · updated 2026-06-17
- Weakness: CWE-476
Description
Wazuh is a free and open source platform used for threat prevention, detection, and response. A NULL pointer dereference was detected during fuzzing of the analysis engine, allowing malicious clients to DoS the analysis engine. The bug occurs when `analysisd` receives a syscollector message with the `hotfix` `msg_type` but lacking a `timestamp`. It uses `cJSON_GetObjectItem()` to get the `timestamp` object item and dereferences it without checking for a `NULL` value. A malicious client can DoS the analysis engine. This vulnerability is fixed in 4.7.1.
Affected products
- wazuh: from 3.2.0 before 4.7.1 — fixed in 4.7.1
How to fix
Upgrade to a fixed version: wazuh 4.7.1. Check the vendor advisory for mitigations.
References
- https://github.com/wazuh/wazuh/blob/e1d5231b31b68a75f3b8b33f833155b362411078/src/analysisd/decoders/syscollector.c#L1573
- https://github.com/wazuh/wazuh/blob/e1d5231b31b68a75f3b8b33f833155b362411078/src/analysisd/decoders/syscollector.c#L1578
- https://github.com/wazuh/wazuh/security/advisories/GHSA-4mq7-w9r6-9975
- https://github.com/wazuh/wazuh/blob/e1d5231b31b68a75f3b8b33f833155b362411078/src/analysisd/decoders/syscollector.c#L1573
- https://github.com/wazuh/wazuh/blob/e1d5231b31b68a75f3b8b33f833155b362411078/src/analysisd/decoders/syscollector.c#L1578
- https://github.com/wazuh/wazuh/security/advisories/GHSA-4mq7-w9r6-9975
Get alerted when CVE-2023-49275 or the next vulnerability affects your stack