Skip to content

Commit 95860bb

Browse files
committed
Ubuntu 24.04 1.1.1.6 Ensure overlayfs kernel module is not available
1 parent 18a737b commit 95860bb

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

components/kernel.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ rules:
110110
- kernel_module_iwlwifi_disabled
111111
- kernel_module_jffs2_disabled
112112
- kernel_module_mac80211_disabled
113+
- kernel_module_overlayfs_disabled
113114
- kernel_module_rds_disabled
114115
- kernel_module_sctp_disabled
115116
- kernel_module_squashfs_disabled

controls/cis_ubuntu2404.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ controls:
6262
levels:
6363
- l2_server
6464
- l2_workstation
65-
status: planned
66-
notes: TODO. Rule does not seem to be implemented, nor does it map to any rules in ubuntu2204 profile.
65+
rules:
66+
- kernel_module_overlayfs_disabled
67+
status: automated
6768

6869
- id: 1.1.1.7
6970
title: Ensure squashfs kernel module is not available (Automated)
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
documentation_complete: true
2+
3+
title: 'Ensure overlayfs kernel module is not available'
4+
5+
description: |-
6+
{{{ describe_module_disable(module="overlayfs") }}}
7+
overlayfs is a Linux filesystem that layers multiple filesystems to create a single
8+
unified view which allows a user to "merge" several mount points into a unified
9+
filesystem.
10+
11+
rationale: |-
12+
The overlayfs has known CVE's. Disabling the overlayfs reduces the local attack
13+
surface by removing support for unnecessary filesystem types and mitigates potential
14+
risks associated with unauthorized execution of setuid files, enhancing the overall
15+
system security.
16+
17+
severity: low
18+
19+
platform: system_with_kernel
20+
21+
template:
22+
name: kernel_module_disabled
23+
vars:
24+
kernmodule: overlayfs

0 commit comments

Comments
 (0)