1. CVE archive
  2. 2021
  3. CVE-2021-1981

CVE-2021-1981

9.1 Critical severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H 9.1 – Critical

Description

Possible buffer over read due to improper IE size check of Bearer capability IE in MT setup request from network in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon Mobile

Affected products

VendorProductVersionPlatform
qualcomm apq8017 firmware all –
qualcomm ar8035 firmware all –
qualcomm msm8917 firmware all –
qualcomm qca6390 firmware all –
qualcomm qca6391 firmware all –
qualcomm qca6421 firmware all –
qualcomm qca6426 firmware all –
qualcomm qca6431 firmware all –
qualcomm qca6436 firmware all –
qualcomm qca6574a firmware all –
qualcomm qca6574au firmware all –
qualcomm qca6595au firmware all –
qualcomm qca6696 firmware all –
qualcomm qca8081 firmware all –
qualcomm qca8337 firmware all –
qualcomm qcm6125 firmware all –
qualcomm qcm6490 firmware all –
qualcomm qcs410 firmware all –
qualcomm qcs610 firmware all –
qualcomm qcs6125 firmware all –
qualcomm qcs6490 firmware all –
qualcomm qcx315 firmware all –
qualcomm qsm8350 firmware all –
qualcomm qualcomm215 firmware all –
qualcomm sa515m firmware all –
qualcomm sd 675 firmware all –
qualcomm sd205 firmware all –
qualcomm sd210 firmware all –
qualcomm sd429 firmware all –
qualcomm sd439 firmware all –
qualcomm sd480 firmware all –
qualcomm sd665 firmware all –
qualcomm sd670 firmware all –
qualcomm sd675 firmware all –
qualcomm sd678 firmware all –
qualcomm sd690 5g firmware all –
qualcomm sd720g firmware all –
qualcomm sd730 firmware all –
qualcomm sd750g firmware all –
qualcomm sd765 firmware all –
qualcomm sd765g firmware all –
qualcomm sd768g firmware all –
qualcomm sd778g firmware all –
qualcomm sd845 firmware all –
qualcomm sd855 firmware all –
qualcomm sd865 5g firmware all –
qualcomm sd870 firmware all –
qualcomm sd888 5g firmware all –
qualcomm sdx55 firmware all –
qualcomm sdx55m firmware all –
qualcomm sdx65 firmware all –
qualcomm sdxr2 5g firmware all –
qualcomm sm6250 firmware all –
qualcomm sm6250p firmware all –
qualcomm sm6375 firmware all –
qualcomm sm7250 firmware all –
qualcomm sm7325 firmware all –
qualcomm sm8450 firmware all –
qualcomm sm8450p firmware all –
qualcomm wcd9326 firmware all –
qualcomm wcd9340 firmware all –
qualcomm wcd9341 firmware all –
qualcomm wcd9360 firmware all –
qualcomm wcd9370 firmware all –
qualcomm wcd9371 firmware all –
qualcomm wcd9375 firmware all –
qualcomm wcd9380 firmware all –
qualcomm wcd9385 firmware all –
qualcomm wcn3610 firmware all –
qualcomm wcn3615 firmware all –
qualcomm wcn3660b firmware all –
qualcomm wcn3680b firmware all –
qualcomm wcn3910 firmware all –
qualcomm wcn3950 firmware all –
qualcomm wcn3980 firmware all –
qualcomm wcn3988 firmware all –
qualcomm wcn3990 firmware all –
qualcomm wcn3991 firmware all –
qualcomm wcn3998 firmware all –
qualcomm wcn6750 firmware all –
qualcomm wcn6850 firmware all –
qualcomm wcn6851 firmware all –
qualcomm wcn6855 firmware all –
qualcomm wcn6856 firmware all –
qualcomm wcn7850 firmware all –
qualcomm wcn7851 firmware all –
qualcomm wsa8810 firmware all –
qualcomm wsa8815 firmware all –
qualcomm wsa8830 firmware all –
qualcomm wsa8835 firmware all –
All 448 Qualcomm Qcm6125 Firmware vulnerabilities

Vulnerability type

CWE-125 Out-of-bounds Read

The product reads data past the end, or before the beginning, of the intended buffer.

Impact on systems

ScopeImpact
Confidentiality Read Memory
An attacker could get secret values such as cryptographic keys, PII, memory addresses, or other information that could be used in additional attacks.
Confidentiality Bypass Protection Mechanism
Out-of-bounds memory could contain memory addresses or other information that can be used to bypass ASLR and other protection mechanisms in order to improve the reliability of exploiting a separate weakness for code execution.
Availability DoS: Crash, Exit, or Restart
An attacker could cause a segmentation fault or crash by causing memory to be read outside of the bounds of the buffer. This is especially likely when the code reads a variable amount of data and assumes that a sentinel exists to stop the read operation, such as a NUL in a string.
Other Varies by Context
The read operation could produce other undefined or unexpected results.

How to prevent it

Implementation · Input Validation Assume all input is malicious. Use an accept known good input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, boat may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as red or blue. Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright. To reduce the likelihood of introducing an out-of-bounds read, ensure that you validate and ensure correct calculations for any length argument, buffer size calculation, or offset. Be especially careful of relying on a sentinel (i.e. special character such as NUL) in untrusted inputs.
Architecture and Design · Language Selection Use a language that provides appropriate memory abstractions.

All 10,513 CWE-125 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org