Menu

Star on GitHub · 3.4k

CVE-2023-52906

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: net/sched: act_mpls: Fix warning during failed attribute validation The 'TCA_MPLS_LABEL' attribute is of 'NLA_U32' type, but ha…

Published Aug 21, 2024EPSS 0.25%

Overview

CVE-2023-52906 is a high-severity vulnerability. It was published on August 21, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, 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/sched: act_mpls: Fix warning during failed attribute validation

The 'TCA_MPLS_LABEL' attribute is of 'NLA_U32' type, but has a

validation type of 'NLA_VALIDATE_FUNCTION'. This is an invalid

combination according to the comment above 'struct nla_policy':

"

Meaning of `validate' field, use via NLA_POLICY_VALIDATE_FN:

NLA_BINARY Validation function called for the attribute.

All other Unused - but note that it's a union

"

This can trigger the warning [1] in nla_get_range_unsigned() when

validation of the attribute fails. Despite being of 'NLA_U32' type, the

associated 'min'/'max' fields in the policy are negative as they are

aliased by the 'validate' field.

Fix by changing the attribute type to 'NLA_BINARY' which is consistent

with the above comment and all other users of NLA_POLICY_VALIDATE_FN().

As a result, move the length validation to the validation function.

No regressions in MPLS

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-2023-52906?

CVE-2023-52906 is a high-severity vulnerability. It was published on August 21, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2023-52906?

This vulnerability has a CVSS 3.1 base score of 7.8, 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-2023-52906?

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-2023-52906?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-52906 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 2023

View all
Watch the demo →