Live threats

All CVEs / Ossec

CVE-2020-8445Ossec

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.3%
probability of exploitation in 30 days · percentile 84
Auth required
No
Published
Jan 30, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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 when viewed through vulnerable terminal emulators. This may be an unauthenticated remote attack for certain types and origins of logged data.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ossec.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ossecossec≥ 2.7 ≤ 3.5.0

Official sources

References

Links published by the sources. Open them with care.