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.
Critical severity: a successful attack would have severe impact.
What to do
- 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.
- Read the advisory on qualcomm.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Qualcomm | 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 | APQ8009; APQ8009W; APQ8016; APQ8017; APQ8037; APQ8052; APQ8053; APQ8056; and 32 more ranges | Not stated |
| Qualcomm | Apq8009 Firmware | Not specified in the record | Not stated |
| Qualcomm | Apq8009w Firmware | Not specified in the record | Not stated |
| Qualcomm | Apq8016 Firmware | Not specified in the record | Not stated |
| Qualcomm | Apq8017 Firmware | Not specified in the record | Not stated |
| Qualcomm | Apq8037 Firmware | Not specified in the record | Not stated |
| Qualcomm | Apq8052 Firmware | Not specified in the record | Not stated |
| Qualcomm | Apq8053 Firmware | Not specified in the record | Not stated |
| Qualcomm | Apq8056 Firmware | Not specified in the record | Not stated |
| Qualcomm | Apq8064au Firmware | Not specified in the record | Not stated |
| Qualcomm | Apq8076 Firmware | Not specified in the record | Not stated |
| Qualcomm | Apq8092 Firmware | Not specified in the record | Not stated |
| Qualcomm | Apq8094 Firmware | Not specified in the record | Not stated |
| Qualcomm | Apq8096au Firmware | Not specified in the record | Not stated |
| Qualcomm | Ar8031 Firmware | Not specified in the record | Not stated |
| Qualcomm | Csra6620 Firmware | Not specified in the record | Not stated |
| Qualcomm | Csra6640 Firmware | Not specified in the record | Not stated |
| Qualcomm | Csrb31024 Firmware | Not specified in the record | Not stated |
| Qualcomm | Mdm8215 Firmware | Not specified in the record | Not stated |
| Qualcomm | Mdm9205 Firmware | Not specified in the record | Not stated |
| Qualcomm | Mdm9206 Firmware | Not specified in the record | Not stated |
| Qualcomm | Mdm9215 Firmware | Not specified in the record | Not stated |
| Qualcomm | Mdm9250 Firmware | Not specified in the record | Not stated |
| Qualcomm | Mdm9310 Firmware | Not specified in the record | Not stated |
| Qualcomm | Mdm9607 Firmware | Not specified in the record | Not 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 system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 9.1 | Critical | CNA (qualcomm.com) |
| CVSS 3.1 | 9.8 | Critical | NVD |
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.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: total).
- 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
- 9.1 Critical severity
Recent Unchecked Return Value vulnerabilities
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
Spotted an error? Tell us.