Menu

Star on GitHub · 3.2k

CVE-2021-46912

7.3 · HIGH

In the Linux kernel, the following vulnerability has been resolved: net: Make tcp_allowed_congestion_control readonly in non-init netns Currently, tcp_allowed_congestion_control is global and wri…

Published Feb 27, 2024CWE-476EPSS 0.24%

Overview

CVE-2021-46912 is a high-severity vulnerability. It was published on February 27, 2024 and has a CVSS 3.1 base score of 7.3 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.3, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

net: Make tcp_allowed_congestion_control readonly in non-init netns

Currently, tcp_allowed_congestion_control is global and writable;

writing to it in any net namespace will leak into all other net

namespaces.

tcp_available_congestion_control and tcp_allowed_congestion_control are

the only sysctls in ipv4_net_table (the per-netns sysctl table) with a

NULL data pointer; their handlers (proc_tcp_available_congestion_control

and proc_allowed_congestion_control) have no other way of referencing a

struct net. Thus, they operate globally.

Because ipv4_net_table does not use designated initializers, there is no

easy way to fix up this one "bad" table entry. However, the data pointer

updating logic shouldn't be applied to NULL pointers anyway, so we

instead force these entries to be read-only.

These sysctls used to exist in ipv4_table (init-net only), but they were

moved to the per-net ipv4_net_table, presumably without r

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2021-46912?

CVE-2021-46912 is a high-severity vulnerability. It was published on February 27, 2024 and has a CVSS 3.1 base score of 7.3 (HIGH).

How severe is CVE-2021-46912?

This vulnerability has a CVSS 3.1 base score of 7.3, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-46912?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-46912?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-46912 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2021

View all