PT-2021-17726 · Ossec · Ossec

Lockedbyte

·

Published

2021-03-05

·

Updated

2021-03-09

·

CVE-2021-28040

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions: OSSEC version 3.6.0
Description: An issue was discovered in the os xml.c component, where an uncontrolled recursion vulnerability occurs when a large number of opening and closing XML tags is used. This happens because recursion is used in the ReadElem function without restriction, allowing an attacker to trigger a segmentation fault once unmapped memory is reached.
Recommendations: For OSSEC version 3.6.0, consider restricting the use of the ReadElem function in os xml.c to prevent uncontrolled recursion until a patch is available. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Uncontrolled Recursion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-28040

Affected Products

Ossec