Vulnerability in Ossec
CVE-2021-28040
An issue was discovered in OSSEC 3.6.0. An uncontrolled recursion vulnerability in os_xml.c occurs when a large number of opening and closing XML tags is used. Because recursion is used in _ReadElem without restriction, an attacker can trigger a segmentation fault once unmapped memory is reached.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.012, 68.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ossec — versions 3.6.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (FUAZA/ECE9069_Presentation_2). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/ossec/ossec-hids/issues/1953 (Exploit, Third Party Advisory, Issue Tracking)