CVE-2021-23133
Last modified
CVE-2021-23133 is a high-severity vulnerability rated 7/10 on the CVSS scale. 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. EPSS estimates a 0.48% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.10, < 4.14.232 |
| Linux | Linux Kernel | >= 4.15, < 4.19.189 |
| Linux | Linux Kernel | >= 4.20, < 5.4.114 |
| Linux | Linux Kernel | >= 5.5, < 5.10.32 |
| Linux | Linux Kernel | >= 5.11, < 5.11.16 |
| Fedoraproject | Fedora | 32 |
| Fedoraproject | Fedora | 33 |
| Fedoraproject | Fedora | 34 |
| Debian | Debian Linux | 9.0 |
| Netapp | Cloud Backup | All versions |
| Netapp | Solidfire \& Hci Management Node | All versions |
| Broadcom | Brocade Fabric Operating System | All versions |
| Netapp | H410c Firmware | All versions |
| Netapp | H300s Firmware | All versions |
| Netapp | H500s Firmware | All versions |
| Netapp | H700s Firmware | All versions |
| Netapp | H300e Firmware | All versions |
| Netapp | H500e Firmware | All versions |
| Netapp | H700e Firmware | All versions |
| Netapp | H410s Firmware | All versions |
| Netapp | Solidfire Baseboard Management Controller Firmware | All versions |
References
- http://www.openwall.com/lists/oss-security/2021/05/10/1Mailing List, Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2021/05/10/2Mailing List, Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2021/05/10/3Mailing List, Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2021/05/10/4Mailing List, Patch, Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b166a20b07382b8bc1dcee2a448715c9c2c81b5bMailing List, Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2021/06/msg00019.htmlMitigation, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/06/msg00020.htmlMitigation, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210611-0008/Third Party Advisory
- https://www.openwall.com/lists/oss-security/2021/04/18/2Exploit, Mailing List, Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2021/05/10/1Mailing List, Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2021/05/10/2Mailing List, Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2021/05/10/3Mailing List, Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2021/05/10/4Mailing List, Patch, Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b166a20b07382b8bc1dcee2a448715c9c2c81b5bMailing List, Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2021/06/msg00019.htmlMitigation, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/06/msg00020.htmlMitigation, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210611-0008/Third Party Advisory
- https://www.openwall.com/lists/oss-security/2021/04/18/2Exploit, Mailing List, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-23133?
How severe is CVE-2021-23133?
How do I fix CVE-2021-23133?
Are you affected by CVE-2021-23133?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
