Menu

Star on GitHub · 3.2k

CVE-2021-46980

7.1 · HIGH

In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4 commit 4dbc6a4ef06d ("usb: typec: ucsi: save power data obj…

Published Feb 28, 2024CWE-125EPSS 0.23%

Overview

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

This vulnerability has a CVSS 3.1 base score of 7.1, 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:

usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4

commit 4dbc6a4ef06d ("usb: typec: ucsi: save power data objects

in PD mode") introduced retrieval of the PDOs when connected to a

PD-capable source. But only the first 4 PDOs are received since

that is the maximum number that can be fetched at a time given the

MESSAGE_IN length limitation (16 bytes). However, as per the PD spec

a connected source may advertise up to a maximum of 7 PDOs.

If such a source is connected it's possible the PPM could have

negotiated a power contract with one of the PDOs at index greater

than 4, and would be reflected in the request data object's (RDO)

object position field. This would result in an out-of-bounds access

when the rdo_index() is used to index into the src_pdos array in

ucsi_psy_get_voltage_now().

With the help of the UBSAN -fsanitize=array-bounds checker enabled

this exact issue is revealed when connecting to

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-46980?

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

How severe is CVE-2021-46980?

This vulnerability has a CVSS 3.1 base score of 7.1, 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-46980?

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-46980?

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