CCE-95478-4Platform: cpe:/o:amazon:linux:2, cpe:/o:centos:centos:7, cpe:/o:oracle:linux:7, cpe:/o:oracle:linux:8, cpe:/o:redhat:enterprise_linux:7, cpe:/o:redhat:enterprise_linux:8, cpe:/o:redhat:enterprise_linux:9 | Date: (C)2021-03-05 (M)2023-07-04 |
Description:The journald system includes the capability of compressing overly large files to avoid filling up the system with logs or making the logs unmanageably large.
Rationale:Uncompressed large files may unexpectedly fill a filesystem leadingto resource unavailability. Compressing logs prior to write can prevent sudden, unexpected filesystem impacts.
Audit:
Review /etc/systemd/journald.confand verify that large files will be compressed
#grep -e ^s*Compress /etc/systemd/journald.conf
Compress=yes
Remediation:
Edit the /etc/systemd/journald.conf file and add the following line:
Compress=yes
Parameter:
[yes/no]
Technical Mechanism:
Edit the /etc/systemd/journald.conf file and add the following line:
Compress=yes
CCSS Severity: | CCSS Metrics: |
CCSS Score : 6.2 | Attack Vector: LOCAL |
Exploit Score: 2.5 | Attack Complexity: LOW |
Impact Score: 3.6 | Privileges Required: NONE |
Severity: MEDIUM | User Interaction: NONE |
Vector: AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | Scope: UNCHANGED |
| Confidentiality: NONE |
| Integrity: NONE |
| Availability: HIGH |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72345 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72924 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:68629 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:84219 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:73029 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72818 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:71979 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72715 |