CWE-117: Improper Output Neutralization for Logs, page 4
Filter
The product constructs a log message from external input, but it does not neutralize or incorrectly neutralizes special elements when the message is written to a log file.
What the weakness is: CWE-117 at MITRE. OWASP Top 10: A09:2025 Logging & Alerting Failures. All weaknesses
Related attack patterns (CAPEC): 3
- CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
- CAPEC-93 Log Injection-Tampering-Forging Likelihood: High · Severity: High
- CAPEC-268 Audit Log Manipulation
The attack patterns MITRE's CAPEC relates to CWE-117, as MITRE names them. Credits.
Ask an AI about CWE-117
Show the prompt
Explain CWE-117: Improper Output Neutralization for Logs and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/117.html and https://cve.bz/cve/cwe/117?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 6.5CVE-2019-10213redhat openshift container platformEPSS 1.0%
OpenShift Container Platform, versions 4.1 and 4.2, does not sanitize secret data written to pod logs when the log level in a given operator is set to Debug or higher. A low privileged user could read pod logs to discover secret material i…
- 5.5CVE-2019-14858redhatEPSS 0.4%
A vulnerability was found in Ansible engine 2.x up to 2.8 and Ansible tower 3.x up to 3.5. When a module has an argument_spec with sub parameters marked as no_log, passing an invalid parameter name to the module will cause the task to fail…
- 7.8CVE-2019-14846EPSS 0.5%
In Ansible, all Ansible Engine versions up to ansible-engine 2.8.5, ansible-engine 2.7.13, ansible-engine 2.6.19, were logging at the DEBUG level which lead to a disclosure of credentials if a plugin used a library that logged credentials …
- 4.3CVE-2018-10932intel lldptoolEPSS 1.0%
lldptool version 1.0.1 and older can print a raw, unsanitized attacker controlled buffer when mngAddr information is displayed. This may allow an attacker to inject shell control characters into the buffer and impact the behavior of the te…