CVE-2021-28040

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-28040
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28040.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-28040
Published
2021-03-05T18:15:13Z
Modified
2025-01-14T09:02:33.607422Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/ossec/ossec-hids

Affected ranges

Type
GIT
Repo
https://github.com/ossec/ossec-hids
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

2.*

2.7-beta2
2.8.1
2.8.2
2.9.0-beta01
2.9.0-beta02
2.9.0-beta03
2.9.0-beta04

3.*

3.0.0
3.0beta01
3.0beta02
3.0beta03
3.1.0
3.2.0
3.3.0
3.4.0
3.5.0
3.6.0

Other

AgentConfigProfile-beta
MultpileProfileWithOverwriting
OSSEC_HIDS_0_4
snapshot/20150112
v1_1_0
v_09
v_0_8

v2.*

v2.5.0-beta1
v2.6.0_Final_plus_enhancements
v2.7
v2.7-beta1
v2.7.1
v2.8.0
v2.9.0beta05