CVE-2020-8445: In OSSEC-HIDS 2.7 through 3.5.0, the OS_CleanMSG function in ossec-analysisd doesn't remove or encode terminal
CVE-2020-8445 is a critical-severity flaw (CVSS 9.8) affecting ossec. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In OSSEC-HIDS 2.7 through 3.5.0, the OS_CleanMSG function in ossec-analysisd doesn't remove or encode terminal control characters or newlines from processed log messages. In many cases, those characters are later logged. Because newlines (\n) are permitted in messages processed by ossec-analysisd, it may be possible to inject nested events into the ossec log. Use of terminal control characters may allow obfuscating events or executing commands wh
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.3% (top 17%) |
| CISA exploited list | No |
| Weakness | CWE-20 |
| Published | 2020-01-30 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-8445?
ossec: upgrade to newer than 3.5.0. Exact commands for each OS are on this page.
Is CVE-2020-8445 being exploited?
CVE-2020-8445 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-8445 affect?
CVE-2020-8445 affects ossec. Severity is critical (CVSS 9.8). In OSSEC-HIDS 2.7 through 3.5.0, the OS_CleanMSG function in ossec-analysisd doesn't remove or encode terminal control characters or newlines from processed log messages. In many cases, those characters are later logged. Because newlines (\
How urgent is CVE-2020-8445?
Priority 60/100. Critical severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2021-28040 HIGH 7.5 DOWNGRADE An issue was discovered in OSSEC 3.6.0
- CVE-2020-8448 MEDIUM 5.5 UPGRADE In OSSEC-HIDS 2.7 through 3.5.0, the server component responsible for log analysis (ossec-analysisd) is vulner
- CVE-2020-8447 CRITICAL 9.8 UPGRADE In OSSEC-HIDS 2.7 through 3.5.0, the server component responsible for log analysis (ossec-analysisd) is vulner
- CVE-2020-8446 MEDIUM 5.5 UPGRADE In OSSEC-HIDS 2.7 through 3.5.0, the server component responsible for log analysis (ossec-analysisd) is vulner
- CVE-2020-8444 CRITICAL 9.8 UPGRADE In OSSEC-HIDS 2.7 through 3.5.0, the server component responsible for log analysis (ossec-analysisd) is vulner