# CVE-2018-5383: Bluetooth implementations may not sufficiently validate elliptic curve parameters during Diffie-Hellman key exchange

> Remote attackers can obtain encryption keys due to insufficient validation of elliptic curve parameters in Bluetooth implementations on affected operating systems.

- **Severity:** High 8.0 (`CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 7 Aug 2018
- **Updated:** 16 Sep 2024
- **Also known as:** DEBIAN-CVE-2018-5383, DLA-1747-1, GHSA-3jm5-8qwr-jvwm, RHSA-2019:2169, SUSE-SU-2019:0422-1, SUSE-SU-2019:0427-1, SUSE-SU-2019:0427-2, SUSE-SU-2019:0466-1, UBUNTU-CVE-2018-5383, USN-4351-1

## What is CVE-2018-5383?

CVE-2018-5383 is a high-severity vulnerability in Apple Iphone Os, published on 7 Aug 2018. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

Bluetooth firmware or operating system software drivers in macOS versions before 10.13, High Sierra and iOS versions before 11.4, and Android versions before the 2018-06-05 patch may not sufficiently validate elliptic curve parameters used to generate public keys during a Diffie-Hellman key exchange, which may allow a remote attacker to obtain the encryption key used by the device.

Weakness: CWE-347 (Improper Verification of Cryptographic Signature), CWE-325 (Missing Cryptographic Step)

## Which versions are affected by CVE-2018-5383?

It affects 4 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `iwl100-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:39.31.5.1-72.el7 |
| `iwl1000-firmware` | Red Hat:enterprise_linux:7::client | All versions | 1:39.31.5.1-72.el7 |
| `iwl105-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:18.168.6.1-72.el7 |
| `iwl135-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:18.168.6.1-72.el7 |
| `iwl2000-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:18.168.6.1-72.el7 |
| `iwl2030-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:18.168.6.1-72.el7 |
| `iwl3160-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:22.0.7.0-72.el7 |
| `iwl3945-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:15.32.2.9-72.el7 |
| `iwl4965-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:228.61.2.24-72.el7 |
| `iwl5000-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:8.83.5.1_1-72.el7 |
| `iwl5150-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:8.24.2.2-72.el7 |
| `iwl6000-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:9.221.4.1-72.el7 |
| `iwl6000g2a-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:17.168.5.3-72.el7 |
| `iwl6000g2b-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:17.168.5.2-72.el7 |
| `iwl6050-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:41.28.5.1-72.el7 |
| `iwl7260-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:22.0.7.0-72.el7 |
| `iwl7265-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:22.0.7.0-72.el7 |
| `linux-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:20190429-72.gitddde598.el7 |
| `iwl100-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 0:39.31.5.1-72.el7 |
| `iwl1000-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 1:39.31.5.1-72.el7 |
| `iwl105-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 0:18.168.6.1-72.el7 |
| `iwl135-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 0:18.168.6.1-72.el7 |
| `iwl2000-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 0:18.168.6.1-72.el7 |
| `iwl2030-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 0:18.168.6.1-72.el7 |
| `iwl3160-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 0:22.0.7.0-72.el7 |
| `iwl3945-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 0:15.32.2.9-72.el7 |
| `iwl4965-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 0:228.61.2.24-72.el7 |
| `iwl5000-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 0:8.83.5.1_1-72.el7 |
| `iwl5150-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 0:8.24.2.2-72.el7 |
| `iwl6000-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 0:9.221.4.1-72.el7 |
| `iwl6000g2a-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 0:17.168.5.3-72.el7 |
| `iwl6000g2b-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 0:17.168.5.2-72.el7 |
| `iwl6050-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 0:41.28.5.1-72.el7 |
| `iwl7260-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 0:22.0.7.0-72.el7 |
| `iwl7265-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 0:22.0.7.0-72.el7 |
| `linux-firmware` | Red Hat:enterprise_linux:7::computenode | All versions | 0:20190429-72.gitddde598.el7 |
| `iwl100-firmware` | Red Hat:enterprise_linux:7::server | All versions | 0:39.31.5.1-72.el7 |
| `iwl1000-firmware` | Red Hat:enterprise_linux:7::server | All versions | 1:39.31.5.1-72.el7 |
| `iwl105-firmware` | Red Hat:enterprise_linux:7::server | All versions | 0:18.168.6.1-72.el7 |
| `iwl135-firmware` | Red Hat:enterprise_linux:7::server | All versions | 0:18.168.6.1-72.el7 |

Products: Apple Iphone Os, Apple Mac Os X, Google Android, Ti Wl18xx Bluetooth Service Pack.

## How do I fix CVE-2018-5383?

Apply the vendor's patch.

## Is CVE-2018-5383 being exploited?

There is no known exploitation of CVE-2018-5383 in the wild and no public exploit code.

## Other vulnerabilities in Apple Iphone Os

- [CVE-2021-30666](https://insights.sbomify.com/CVE-2021-30666/): Apple iOS WebKit Buffer Overflow (high 8.8, exploited in the wild)
- [CVE-2021-30761](https://insights.sbomify.com/CVE-2021-30761/): Apple iOS WebKit Memory Corruption (high 8.8, exploited in the wild)
- [CVE-2021-30762](https://insights.sbomify.com/CVE-2021-30762/): Apple iOS WebKit Use-After-Free (high 8.8, exploited in the wild)
- [CVE-2016-4657](https://insights.sbomify.com/CVE-2016-4657/): Apple iOS Webkit Memory Corruption (high 8.8, exploited in the wild)
- [CVE-2019-7286](https://insights.sbomify.com/CVE-2019-7286/): Apple Multiple Products Memory Corruption (high 7.8, exploited in the wild)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2018-5383 and fix it if it is affected.

What it is: CVE-2018-5383 is a high-severity vulnerability in Apple Iphone Os, published on 7 Aug 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2018-5383 in the wild and no public exploit code.

Affected product: Apple Iphone Os. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2018-5383/ (Markdown: https://insights.sbomify.com/CVE-2018-5383/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2018-5383
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2018-5383
- OSV: https://osv.dev/vulnerability/CVE-2018-5383

---
From sbomify Insights: https://insights.sbomify.com/CVE-2018-5383/
Summaries are generated and may contain mistakes; the official description above is the record.
