CyberSecBulletin
CVE-2022-25718NVD status: Modified

Snapdragon Auto, Snapdragon Connectivity…: Unchecked Return Value

CVE-2022-25718 is a critical-severity unchecked return value vulnerability in Snapdragon Auto, Snapdragon Connectivity, Snapdragon Consumer Electronics Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon IoT, Snapdragon Mobile, Snapdragon Voice & Music, Snapdragon Wearables, Snapdragon Wired Infrastructure and Networking from Qualcomm, with a CVSS 3.1 base score of 9.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected Snapdragon Auto, Snapdragon Connectivity, Snapdragon Consumer Electronics Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon IoT, Snapdragon Mobile, Snapdragon Voice & Music, Snapdragon Wearables, Snapdragon Wired Infrastructure and Networking versions: APQ8009; APQ8009W; APQ8016, and others listed below. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.5% chance of exploitation within 30 days, which is low compared with other CVEs.

Patch this week

Critical severity: a successful attack would have severe impact.

What to do

  1. Check which version of Snapdragon Auto, Snapdragon Connectivity, Snapdragon Consumer Electronics Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon IoT, Snapdragon Mobile, Snapdragon Voice & Music, Snapdragon Wearables, Snapdragon Wired Infrastructure and Networking you run against the affected versions below, and install the vendor's latest release.
  2. Read the advisory on qualcomm.com for workarounds and exact fixed builds.
  3. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
QualcommSnapdragon Auto, Snapdragon Connectivity, Snapdragon Consumer Electronics Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon IoT, Snapdragon Mobile, Snapdragon Voice & Music, Snapdragon Wearables, Snapdragon Wired Infrastructure and NetworkingAPQ8009; APQ8009W; APQ8016; APQ8017; APQ8037; APQ8052; APQ8053; APQ8056; and 32 more rangesNot stated
QualcommApq8009 FirmwareNot specified in the recordNot stated
QualcommApq8009w FirmwareNot specified in the recordNot stated
QualcommApq8016 FirmwareNot specified in the recordNot stated
QualcommApq8017 FirmwareNot specified in the recordNot stated
QualcommApq8037 FirmwareNot specified in the recordNot stated
QualcommApq8052 FirmwareNot specified in the recordNot stated
QualcommApq8053 FirmwareNot specified in the recordNot stated
QualcommApq8056 FirmwareNot specified in the recordNot stated
QualcommApq8064au FirmwareNot specified in the recordNot stated
QualcommApq8076 FirmwareNot specified in the recordNot stated
QualcommApq8092 FirmwareNot specified in the recordNot stated
QualcommApq8094 FirmwareNot specified in the recordNot stated
QualcommApq8096au FirmwareNot specified in the recordNot stated
QualcommAr8031 FirmwareNot specified in the recordNot stated
QualcommCsra6620 FirmwareNot specified in the recordNot stated
QualcommCsra6640 FirmwareNot specified in the recordNot stated
QualcommCsrb31024 FirmwareNot specified in the recordNot stated
QualcommMdm8215 FirmwareNot specified in the recordNot stated
QualcommMdm9205 FirmwareNot specified in the recordNot stated
QualcommMdm9206 FirmwareNot specified in the recordNot stated
QualcommMdm9215 FirmwareNot specified in the recordNot stated
QualcommMdm9250 FirmwareNot specified in the recordNot stated
QualcommMdm9310 FirmwareNot specified in the recordNot stated
QualcommMdm9607 FirmwareNot specified in the recordNot stated

Version data comes from the organisation that assigned the CVE; 35 further products are omitted here. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.19.1CriticalCNA (qualcomm.com)
CVSS 3.19.8CriticalNVD

Official description

Cryptographic issue in WLAN due to improper check on return value while authentication handshake in Snapdragon Auto, Snapdragon Connectivity, Snapdragon Consumer Electronics Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon IoT, Snapdragon Mobile, Snapdragon Voice & Music, Snapdragon Wearables, Snapdragon Wired Infrastructure and Networking

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Unchecked Return Value

The product does not check the return value from a method or function.

How developers prevent this class of flaw

  • Check the results of all functions that return a value and verify that the value is expected.
  • For any pointers that could have been modified or provided from a function that can return NULL, check the pointer for NULL before use. When working with a multithreaded or otherwise asynchronous environment, ensure that proper locking APIs are used to lock before the check, and unlock when it has finished.
  • Ensure that you account for all possible return values from the function.

More Unchecked Return Value vulnerabilities (CWE-252)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in Snapdragon Auto, Snapdragon Connectivity, Snapdragon Consumer Electronics Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon IoT, Snapdragon Mobile, Snapdragon Voice & Music, Snapdragon Wearables, Snapdragon Wired Infrastructure and Networking

All Snapdragon Auto, Snapdragon Connectivity, Snapdragon Consumer Electronics Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon IoT, Snapdragon Mobile, Snapdragon Voice & Music, Snapdragon Wearables, Snapdragon Wired Infrastructure and Networking vulnerabilities

Recent Unchecked Return Value vulnerabilities

Spotted an error? Tell us.