
Cloud Vulnerability DB
A community-led vulnerabilities database
An issue was discovered in systemd 253 that affects the log sealing functionality. The vulnerability allows an attacker to truncate a sealed log file and then resume log sealing in such a way that checking the integrity shows no error, despite modifications having been made. This vulnerability is tracked as CVE-2023-31438. It's worth noting that this vulnerability is disputed, as the vendor reportedly denied that the finding constitutes a security vulnerability (NIST NVD).
The vulnerability relates to the forward secure log sealing mechanism in systemd's journald component. Currently, empty epochs are not sealed, which creates a security gap. An attacker can exploit this by truncating a sealed log file and continuing it without any problems being detected during integrity verification. The issue has been assigned a CVSS v3.1 base score of 5.3 (Medium) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N. The vulnerability is classified under CWE-354 (Improper Validation of Integrity Check Value) (NIST NVD, Kastel Security).
If exploited, this vulnerability could allow an attacker to modify log files without detection. Specifically, an attacker could truncate sealed log files and continue logging, with the integrity check showing no errors despite the modifications. This compromises the integrity of the system's audit trail and could allow malicious activities to go undetected (Kastel Security).
A fix has been implemented that verifies sealed log epochs are continuous. The patch was merged into the systemd main branch through pull request #28886. The fix involves adjusting what journald writes into log files while maintaining compatibility with older versions. Organizations using affected versions should upgrade to the patched versions (Systemd PR).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."