VDB

CVE-2021-23133

CVE-2021-23133 PUBLISHED CVSS 6.7 MEDIUM

Linux Kernel sctp_destroy_sock race condition

Reported by palo_alto · Published April 22, 2021

A race condition in Linux kernel SCTP sockets (net/sctp/socket.c) before 5.12-rc8 can lead to kernel privilege escalation from the context of a network service or an unprivileged process. If sctp_destroy_sock is called without sock_net(sk)->sctp.addr_wq_lock then an element is removed from the auto_asconf_splist list without any proper locking. This can be exploited by an attacker with network service privileges to escalate to root or from the context of an unprivileged user directly if a BPF_CGROUP_INET_SOCK_CREATE is attached which denies creation of some SCTP socket.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux-zenArch Linux5.12.4.zen1-1
kernelAmazon Linux4.14.232-176.381.amzn2
kernel-develAmazon Linux4.14.232-176.381.amzn2
perfAmazon Linux4.14.232-176.381.amzn2
linuxArch Linux5.12.4.arch1-1
kernel-toolsAmazon Linux4.14.232-176.381.amzn2
linux-ltsArch Linux5.10.37-1
kernel-tools-develAmazon Linux4.14.232-176.381.amzn2
python-perfAmazon Linux4.14.232-176.381.amzn2
kernel-livepatch-4.14.232-176.381Amazon Linux1.0-0.amzn2
linux-hardenedArch Linux5.11.21.hardened1-1
kernel-headersAmazon Linux4.14.232-176.381.amzn2

49 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
6.7
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
Linux KernelLinux Kernelunspecified
archlinux-zen0
amazon:2kernel0
amazon:2kernel-devel0
Linux KernelLinux Kernel*
amazon:2perf0
archlinux0
amazon:2kernel-tools0
archlinux-lts0
amazon:2kernel-tools-devel0
amazon:2python-perf0
amazon:2kernel-livepatch-4.14.232-176.3810
archlinux-hardened0
amazon:2kernel-headers0

Timeline

  • Apr 18, 2021 CVE Published
  • Apr 27, 2021 EPSS Score (30 in total, the first dated here)
  • Aug 19, 2024 CVE Updated
  • Mar 7, 2026 Distribution Patch (14 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (17 in total, the first dated here)
  • Aug 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-23133
vulnetix vdb fixes CVE-2021-23133

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-23133/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›