1. CVE archive
  2. 2018
  3. CVE-2018-12005

CVE-2018-12005

5.5 Medium severity CVSS v3.0 · source NVD CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H 5.5 – Medium

Description

An unprivileged user can issue a binder call and cause a system halt in Snapdragon Auto, Snapdragon Compute, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon Mobile, Snapdragon Voice & Music, Snapdragon Wearables in MDM9150, MDM9206, MDM9607, MDM9640, MDM9650, MSM8909W, MSM8996AU, QCS605, Qualcomm 215, SD 210/SD 212/SD 205, SD 425, SD 439 / SD 429, SD 450, SD 625, SD 632, SD 636, SD 675, SD 712 / SD 710 / SD 670, SD 820A, SD 835, SD 845 / SD 850, SD 855, SDA660, SDM439, SDM630, SDM660, SDX20, SDX24, SM7150

Affected products

VendorProductVersionPlatform
qualcomm mdm9150 firmware all –
qualcomm mdm9206 firmware all –
qualcomm mdm9607 firmware all –
qualcomm mdm9640 firmware all –
qualcomm mdm9650 firmware all –
qualcomm msm8909w firmware all –
qualcomm msm8996au firmware all –
qualcomm qcs605 firmware all –
qualcomm qm215 firmware all –
qualcomm sd 205 firmware all –
qualcomm sd 210 firmware all –
qualcomm sd 212 firmware all –
qualcomm sd 425 firmware all –
qualcomm sd 429 firmware all –
qualcomm sd 439 firmware all –
qualcomm sd 450 firmware all –
qualcomm sd 625 firmware all –
qualcomm sd 632 firmware all –
qualcomm sd 636 firmware all –
qualcomm sd 670 firmware all –
qualcomm sd 675 firmware all –
qualcomm sd 710 firmware all –
qualcomm sd 712 firmware all –
qualcomm sd 820a firmware all –
qualcomm sd 835 firmware all –
qualcomm sd 845 firmware all –
qualcomm sd 850 firmware all –
qualcomm sd 855 firmware all –
qualcomm sda660 firmware all –
qualcomm sdm439 firmware all –
qualcomm sdm630 firmware all –
qualcomm sdm660 firmware all –
qualcomm sdx20 firmware all –
qualcomm sdx24 firmware all –
qualcomm sm7150 firmware all –
All 495 Qualcomm Mdm9640 Firmware vulnerabilities

Vulnerability type

CWE-416 Use After Free

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory belongs to the code that operates on the new pointer.

Impact on systems

ScopeImpact
Integrity Modify Memory
The use of previously freed memory may corrupt valid data, if the memory area in question has been allocated and used properly elsewhere.
Availability DoS: Crash, Exit, or Restart
If chunk consolidation occurs after the use of previously freed data, the process may crash when invalid data is used as chunk information.
Confidentiality Read Memory
Read operations on freed memory can sometimes leak sensitive information instead of causing a crash
Integrity, Confidentiality, Availability Execute Unauthorized Code or Commands
If malicious data is entered before chunk consolidation can take place, it may be possible to take advantage of a write-what-where primitive to execute arbitrary code. If the newly allocated data happens to hold a class, in C++ for example, various function pointers may be scattered within the heap data. If one of these function pointers is overwritten with an address to valid shellcode, execution of arbitrary code can be achieved.

How to prevent it

Architecture and Design · Language Selection Choose a language that provides automatic memory management.
Implementation · Attack Surface Reduction When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

All 9,640 CWE-416 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org