Skip to content

Add OverlayFS cap_convert_nscap (CVE-2021-3493) #86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions linux-exploit-suggester.sh
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,18 @@ author: GRIMM
EOF
)

EXPLOITS[((n++))]=$(cat <<EOF
Name: ${txtgrn}[CVE-2021-3493]${txtrst} OverlayFS cap_convert_nscap
Reqs: pkg=linux-kernel,ver<5.11,pkg=fuse-overlayfs
Tags: Ubuntu=14.04|16.04|18.04|20.04|20.10
Rank: 1
analysis-url: https://ssd-disclosure.com/ssd-advisory-overlayfs-pe/
src-url: https://raw.githubusercontent.com/briskets/CVE-2021-3493/main/exploit.c
Comments: Requires fuse-overlayfs. Likely specific to Ubuntu kernels only due to a patch which allows unprivileged overlayfs mounts.
author: SSD
EOF
)

EXPLOITS[((n++))]=$(cat <<EOF
Name: ${txtgrn}[CVE-2021-3490]${txtrst} eBPF ALU32 bounds tracking for bitwise ops
Reqs: pkg=linux-kernel,ver>=5.7,ver<5.12,CONFIG_BPF_SYSCALL=y,sysctl:kernel.unprivileged_bpf_disabled!=1
Expand Down