CCE-95608-6Platform: cpe:/o:debian:debian_linux:11.x, cpe:/o:ubuntu:ubuntu_linux:16.04, cpe:/o:ubuntu:ubuntu_linux:18.04, cpe:/o:ubuntu:ubuntu_linux:20.04, cpe:/o:ubuntu:ubuntu_linux:22.04, cpe:/o:ubuntu:ubuntu_linux:23.04 | Date: (C)2021-03-08 (M)2023-09-01 |
The nodev mount option specifies that the filesystem cannot contain special devices.
Rationale:
Since the /dev/shm filesystem is not intended to support devices, set this option to ensure that users cannot attempt to create special devices in /dev/shm partitions.
Fix:
Run the following command to remount /dev/shm:
# mount -o remount,nodev /dev/shm
Also the content shown by following command should present in /etc/fstab appropriately:
# echo "$(grep /dev/shm /etc/mtab)"
Parameter:
[yes/no]
Technical Mechanism:
Run the following command to remount /dev/shm:
# mount -o remount,nodev /dev/shm
CCSS Severity: | CCSS Metrics: |
CCSS Score : 5.5 | Attack Vector: LOCAL |
Exploit Score: 1.8 | Attack Complexity: LOW |
Impact Score: 3.6 | Privileges Required: LOW |
Severity: MEDIUM | User Interaction: NONE |
Vector: AV:L/AC:L/PR:L/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:68661 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:70743 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:92327 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:85187 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:70654 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:87340 |