# CVE-2017-5715: Information disclosure in Microprocessors with Speculative Execution

> Local attackers can exploit speculative execution side-channels to read sensitive memory, requiring microcode or OS patches.

- **Severity:** Medium 5.6 (`CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 4 Jan 2018
- **Updated:** 6 May 2025
- **Also known as:** ALPINE-CVE-2017-5715, DEBIAN-CVE-2017-5715, DLA-2148-1, DLA-2743-1, MGASA-2018-0079, MGASA-2018-0124, MGASA-2018-0176, MGASA-2018-0260, RHBA-2018:0042, RHBA-2018:0831, RHEA-2018:0690, RHEA-2018:0704, RHEA-2018:0874, RHSA-2018:0023, RHSA-2018:1196, SUSE-RU-2018:0779-1, SUSE-RU-2018:0821-1, SUSE-SU-2018:0007-1, SUSE-SU-2018:0008-1, SUSE-SU-2018:0020-1, SUSE-SU-2018:0036-1, SUSE-SU-2018:0041-1, SUSE-SU-2018:0051-1, SUSE-SU-2018:0056-1, SUSE-SU-2018:0068-1, SUSE-SU-2018:0705-1, SUSE-SU-2018:0708-1, SUSE-SU-2018:0757-1, SUSE-SU-2018:1465-1, SUSE-SU-2018:1486-1, SUSE-SU-2018:1498-1, SUSE-SU-2018:1503-1, SUSE-SU-2018:1571-1, SUSE-SU-2018:1571-2, SUSE-SU-2018:1759-1, SUSE-SU-2018:1784-1, SUSE-SU-2018:1822-1, SUSE-SU-2018:2189-1, SUSE-SU-2018:2631-1, SUSE-SU-2018:2631-2, SUSE-SU-2019:13999-1, UBUNTU-CVE-2017-5715, USN-3531-1, USN-3531-3, USN-3560-1, USN-3561-1, USN-3594-1, USN-3690-1

## What is CVE-2017-5715?

CVE-2017-5715 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 4 Jan 2018. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

Systems with microprocessors utilizing speculative execution and indirect branch prediction may allow unauthorized disclosure of information to an attacker with local user access via a side-channel analysis.

Weakness: CWE-203 (Observable Discrepancy)

## Which versions are affected by CVE-2017-5715?

It affects 220 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `dracut` | Red Hat:enterprise_linux:7::client | All versions | 0:033-502.el7_4.1 |
| `dracut-caps` | Red Hat:enterprise_linux:7::client | All versions | 0:033-502.el7_4.1 |
| `dracut-config-generic` | Red Hat:enterprise_linux:7::client | All versions | 0:033-502.el7_4.1 |
| `dracut-config-rescue` | Red Hat:enterprise_linux:7::client | All versions | 0:033-502.el7_4.1 |
| `dracut-debuginfo` | Red Hat:enterprise_linux:7::client | All versions | 0:033-502.el7_4.1 |
| `dracut-fips` | Red Hat:enterprise_linux:7::client | All versions | 0:033-502.el7_4.1 |
| `dracut-fips-aesni` | Red Hat:enterprise_linux:7::client | All versions | 0:033-502.el7_4.1 |
| `dracut-network` | Red Hat:enterprise_linux:7::client | All versions | 0:033-502.el7_4.1 |
| `dracut-tools` | Red Hat:enterprise_linux:7::client | All versions | 0:033-502.el7_4.1 |
| `iwl100-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:39.31.5.1-62.el7 |
| `iwl1000-firmware` | Red Hat:enterprise_linux:7::client | All versions | 1:39.31.5.1-62.el7 |
| `iwl105-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:18.168.6.1-62.el7 |
| `iwl135-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:18.168.6.1-62.el7 |
| `iwl2000-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:18.168.6.1-62.el7 |
| `iwl2030-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:18.168.6.1-62.el7 |
| `iwl3160-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:22.0.7.0-62.el7 |
| `iwl3945-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:15.32.2.9-62.el7 |
| `iwl4965-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:228.61.2.24-62.el7 |
| `iwl5000-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:8.83.5.1_1-62.el7 |
| `iwl5150-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:8.24.2.2-62.el7 |
| `iwl6000-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:9.221.4.1-62.el7 |
| `iwl6000g2a-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:17.168.5.3-62.el7 |
| `iwl6000g2b-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:17.168.5.2-62.el7 |
| `iwl6050-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:41.28.5.1-62.el7 |
| `iwl7260-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:22.0.7.0-62.el7 |
| `iwl7265-firmware` | Red Hat:enterprise_linux:7::client | All versions | 0:22.0.7.0-62.el7 |
| `libvirt` | Red Hat:enterprise_linux:7::client | All versions | 0:3.9.0-14.el7 |
| `libvirt-admin` | Red Hat:enterprise_linux:7::client | All versions | 0:3.9.0-14.el7 |
| `libvirt-client` | Red Hat:enterprise_linux:7::client | All versions | 0:3.9.0-14.el7 |
| `libvirt-daemon` | Red Hat:enterprise_linux:7::client | All versions | 0:3.9.0-14.el7 |
| `libvirt-daemon-config-network` | Red Hat:enterprise_linux:7::client | All versions | 0:3.9.0-14.el7 |
| `libvirt-daemon-config-nwfilter` | Red Hat:enterprise_linux:7::client | All versions | 0:3.9.0-14.el7 |
| `libvirt-daemon-driver-interface` | Red Hat:enterprise_linux:7::client | All versions | 0:3.9.0-14.el7 |
| `libvirt-daemon-driver-lxc` | Red Hat:enterprise_linux:7::client | All versions | 0:3.9.0-14.el7 |
| `libvirt-daemon-driver-network` | Red Hat:enterprise_linux:7::client | All versions | 0:3.9.0-14.el7 |
| `libvirt-daemon-driver-nodedev` | Red Hat:enterprise_linux:7::client | All versions | 0:3.9.0-14.el7 |
| `libvirt-daemon-driver-nwfilter` | Red Hat:enterprise_linux:7::client | All versions | 0:3.9.0-14.el7 |
| `libvirt-daemon-driver-qemu` | Red Hat:enterprise_linux:7::client | All versions | 0:3.9.0-14.el7 |
| `libvirt-daemon-driver-secret` | Red Hat:enterprise_linux:7::client | All versions | 0:3.9.0-14.el7 |
| `libvirt-daemon-driver-storage` | Red Hat:enterprise_linux:7::client | All versions | 0:3.9.0-14.el7 |

Products: Arm Cortex-A, Canonical Ubuntu Linux, Debian Debian Linux, Intel Atom C, Intel Atom E, Intel Atom X3, Intel Atom X5-E3930, Intel Atom X5-E3940, Intel Atom X7-E3950, Intel Atom Z, Intel Celeron J, Intel Celeron N, Intel Core I3, Intel Core I5, Intel Core I7, Intel Core M, Intel Core M3, Intel Core M5, Intel Core M7, Intel Pentium J and 200 more.

## How do I fix CVE-2017-5715?

Apply the vendor's patch.

## Is CVE-2017-5715 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-5715 exists.

Public exploit code:

- Spectre exploit (github_poc): https://github.com/opsxcq/exploit-cve-2017-5715
- a list of BIOS/Firmware fixes adressing CVE-2017-5715, CVE-2017-5753, CVE-2017-5754 (github_poc): https://github.com/mathse/meltdown-spectre-bios-list
- Multiple CPUs - 'Spectre' Information Disclosure (exploitdb)
- Assesses a system for the "speculative execution" vulnerabilities described in CVE-2017-5715, CVE-2017-5753, CVE-2017-5754 (github_poc): https://github.com/GregAskew/SpeculativeExecutionAssessment
- https://github.com/GalloLuigi/Analisi-CVE-2017-5715 (github_poc): https://github.com/GalloLuigi/Analisi-CVE-2017-5715
- Research and hands-on PoC of Spectre Variant 2 (CVE-2017-5715), a hardware side-channel vulnerability exploiting CPU speculative execution and branch prediction. Includes lab setup, vulnerability identification, exploit walkthrough, cache-timing analysis, demo video, and mitigation strategies. (github_poc): https://github.com/iamshivambhatt/Hardware-Vulnerability-with-Proof-of-Concept-

## Other vulnerabilities in Canonical Ubuntu Linux

- [CVE-2018-3693](https://insights.sbomify.com/CVE-2018-3693/): Information disclosure in Most Modern Operating Systems (medium 5.6)
- [CVE-2018-3640](https://insights.sbomify.com/CVE-2018-3640/): Information disclosure in Multiple (medium 5.6)
- [CVE-2018-9056](https://insights.sbomify.com/CVE-2018-9056/): Information disclosure in n/a (medium 5.6)
- [CVE-2017-5754](https://insights.sbomify.com/CVE-2017-5754/): Information disclosure in Most Modern Operating Systems (medium 5.6)
- [CVE-2018-3639](https://insights.sbomify.com/CVE-2018-3639/): Information disclosure in Multiple (medium 5.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2017-5715 and fix it if it is affected.

What it is: CVE-2017-5715 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 4 Jan 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-5715 exists.

Affected product: Canonical Ubuntu Linux. 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-2017-5715/ (Markdown: https://insights.sbomify.com/CVE-2017-5715/index.md)
```

## Sources

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

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