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
Published Jan 30, 2020
9.8
CRITICALCVSS 3.1
EPSS 2.28%
Description
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.
Affected products
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 2.28% (0.02277) | 82.52th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.28% (0.02277) | 80.78th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.55% (0.01555) | 79.74th | v4 (v2025.03.14) |
| Mar 29, 2025 | 3.34% (0.03343) | 78.64th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.71% (0.00706) | 80.59th | v3 (v2023.03.01) |
| May 2, 2024 | 0.71% (0.00706) | 80.17th | v3 (v2023.03.01) |
| Nov 18, 2023 | 0.71% (0.00706) | 78.16th | v3 (v2023.03.01) |
| Jun 18, 2023 | 0.59% (0.00591) | 75.27th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.42% (0.00417) | 70.08th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.02% (0.01018) | 38.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.02% (0.01018) | 36.86th | v2 (v2022.01.01) |
| Feb 4, 2022 | 15.35% (0.15351) | 91.59th | v2 (v2022.01.01) |
| Feb 3, 2022 | 4.50% (0.04504) | 76.47th | v1 |
| Jan 6, 2022 | 4.50% (0.04504) | 76.26th | v1 |
| Sep 1, 2021 | 1.04% (0.01040) | 64.49th | v1 |
| Apr 14, 2021 | 1.04% (0.01040) | 0.00th | v1 |
References (4)
- https://github.com/ossec/ossec-hids/issues/1814 x_refsource_MISCThird Party Advisory
- https://github.com/ossec/ossec-hids/issues/1821 x_refsource_MISCThird Party Advisory
- https://security.gentoo.org/glsa/202007-33 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.ossec.net/ x_refsource_MISCVendor Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/ossec/ossec-hids/issues/1814 | x_refsource_MISCThird Party Advisory | |
| https://github.com/ossec/ossec-hids/issues/1821 | x_refsource_MISCThird Party Advisory | |
| https://security.gentoo.org/glsa/202007-33 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://www.ossec.net/ | x_refsource_MISCVendor Advisory |
Change history (0)
No recorded changes yet.