First published: Fri Mar 05 2021(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
OSSEC | =3.6.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-28040 has a high severity due to its potential to cause a denial of service through a segmentation fault.
To fix CVE-2021-28040, update to a patched version of OSSEC that controls recursion in XML processing.
CVE-2021-28040 specifically affects OSSEC version 3.6.0.
CVE-2021-28040 facilitates a denial of service attack through uncontrolled recursion in XML parsing.
While CVE-2021-28040 primarily leads to service disruption, it does not directly allow for unauthorized data access.