CVE-2021-43267: Input Validation

Published Nov 2, 2021
·
Updated

A flaw was discovered in the cryptographic receive code in the Linux kernel's implementation of transparent interprocess communication. An attacker, with the ability to send TIPC messages to the target, can corrupt memory and escalate privileges on the target system.

Other sources

A flaw was found in the Transparent Inter-Process Communication (TIPC) functionality in the Linux kernel. This flaw can allow an attacker able to send MSGCRYPTO messages to one of the interconnected nodes to exploit insufficient validation of user-supplied key sizes resulting in memory corruption and potentially privilege escalation.

References:

https://github.com/torvalds/linux/commit/fa40d9734a57bcbfa79a280189799f76c88f7bb0 https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.14.16 https://thehackernews.com/2021/11/critical-rce-vulnerability-reported-in.html

— Red Hat

An issue was discovered in net/tipc/crypto.c in the Linux kernel before 5.14.16. The Transparent Inter-Process Communication (TIPC) functionality allows remote attackers to exploit insufficient validation of user-supplied sizes for the MSGCRYPTO message type.

In tipccryptokeyrcv of net/tipc/crypto.c , there is a possible out of bounds write due to a heap buffer overflow. This could lead to remote code execution with System execution privileges needed. User interaction is not needed for exploitation.

— OSV

Affected Software

38 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-348.2.1.rt7.132.el8_5
0:4.18.0-348.2.1.rt7.132.el8_5
redhat/kernel<0:4.18.0-348.2.1.el8_5
0:4.18.0-348.2.1.el8_5
redhat/kernel-rt<0:4.18.0-305.28.1.rt7.100.el8_4
0:4.18.0-305.28.1.rt7.100.el8_4
redhat/kernel<0:4.18.0-305.28.1.el8_4
0:4.18.0-305.28.1.el8_4
Linux Linux kernel>=5.10<5.10.77
Linux Linux kernel>=5.11<5.14.16
Fedoraproject Fedora=34
Fedoraproject Fedora=35
All of the following
NetApp H300s Firmware
NetApp H300s
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H700s Firmware
NetApp H700s
All of the following
NetApp H300e Firmware
NetApp H300e
All of the following
NetApp H500e Firmware
NetApp H500e
All of the following
NetApp H700e Firmware
NetApp H700e
All of the following
NetApp H410s Firmware
NetApp H410s
NetApp H300s Firmware
NetApp H300s
NetApp H500s Firmware
NetApp H500s
NetApp H700s Firmware
NetApp H700s
NetApp H300e Firmware
NetApp H300e
NetApp H500e Firmware
NetApp H500e
NetApp H700e Firmware
NetApp H700e
NetApp H410s Firmware
NetApp H410s
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
android/:linux_kernel:>=:0<:2022-03-05
:2022-03-05

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-348.2.1.rt7.132.el8_5
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-348.2.1.el8_5
  3. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-305.28.1.rt7.100.el8_4
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-305.28.1.el8_4
  5. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  6. Upgrade

    Upgrade android/:linux_kernel: to a version that resolves this vulnerability.

    Fixed in :2022-03-05
  7. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 5.14.16
  8. Configuration

    Add `install tipc /bin/true` to `/etc/modprobe.d/disable-tipc.conf` to prevent automatic loading of the TIPC module.

    Linux TIPC kernel module modprobe install rule = /bin/true
  9. Compensating control

    For systems that require TIPC but do not use TIPC protocol-level encryption, deploy the provided SystemTap sanitization script: build it with `stap -g -p 4 [filename-from-step-1].stp`, distribute the resulting kernel module to affected systems, and run it with `staprun -L <module>`.

  10. Operational

    Restart the system if the tipc module is currently loaded; the module will not be automatically loaded after applying the modprobe configuration.

Event History

Nov 2, 2021
CVE Published
12:00 AM
CVE Published
via MITRE·10:13 PM
Data Sourced
via MITRE·10:13 PM
Description
Nov 4, 2021
Data Sourced
via Red Hat·04:37 PM
DescriptionSeverityAffected Software
Mar 1, 2022
Advisory Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionAffected Software
Mar 26, 2024
News Published
via The Register·01:15 PM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2021-43267?

CVE-2021-43267 has a high severity rating due to its ability to allow an attacker to corrupt memory and escalate privileges.

2

How do I fix CVE-2021-43267?

To remediate CVE-2021-43267, update to the specified secure versions of the Linux kernel as indicated in the affected software section.

3

Which versions of the Linux kernel are affected by CVE-2021-43267?

CVE-2021-43267 affects Linux kernel versions prior to 5.10.77 and between 5.11 and 5.14.16, as well as specific Red Hat kernel versions.

4

Can CVE-2021-43267 be exploited remotely?

Yes, CVE-2021-43267 can be exploited remotely if an attacker can send TIPC messages to the vulnerable system.

5

What types of systems are impacted by CVE-2021-43267?

CVE-2021-43267 impacts various Linux distributions including specific versions of Red Hat, Fedora, and Debian.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203