CVE-2021-28040
Last modified
CVE-2021-28040 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.19% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ossec | Ossec | 3.6.0 |
References
- https://github.com/ossec/ossec-hids/issues/1953Exploit, Issue Tracking, Third Party Advisory
- https://github.com/ossec/ossec-hids/issues/1953Exploit, Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-28040?
How severe is CVE-2021-28040?
How do I fix CVE-2021-28040?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-28034An issue was discovered in the stack_dst crate before 0.6.1 …9.8
- CVE-2021-28035An issue was discovered in the stack_dst crate before 0.6.1 …9.8
- CVE-2021-28036An issue was discovered in the quinn crate before 0.7.0 for …7.5
- CVE-2021-28037An issue was discovered in the internment crate before 0.4.2…9.8
- CVE-2021-28038An issue was discovered in the Linux kernel through 5.11.3, …6.5
- CVE-2021-28039An issue was discovered in the Linux kernel 5.9.x through 5.…6.5
- CVE-2021-28041ssh-agent in OpenSSH before 8.5 has a double free that may b…7.1
- CVE-2021-28042Deutsche Post Mailoptimizer 4.3 before 2020-11-09 allows Dir…7.8
- CVE-2021-28047Cross-Site Scripting (XSS) in Administrative Reports in Devo…5.4
- CVE-2021-28048An overly permissive CORS policy in Devolutions Server befor…6.5
- CVE-2021-28052A tenant administrator Hitachi Content Platform (HCP) may mo…4.9
- CVE-2021-28053An issue was discovered in Centreon-Web in Centreon Platform…8.8
Are you affected by CVE-2021-28040?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
