CVE-2017-18191 · mitre
CVE-2017-18191
An issue was discovered in OpenStack Nova 15.x through 15.1.0 and 16.x through 16.1.1. By detaching and reattaching an encrypted volume, an attacker may access the underlying raw volume and corrupt the LUKS header, resulting in a denial of service attack on the compute host. (The same code error also results in data loss, but that is not a vulnerability because the user loses their own data.) All Nova setups supporting encrypted volumes are affected.
Published 2018-02-19, last changed 2026-06-17.
How to fix
Upgrade to a fixed version: nova 15.1.1, 16.1.2 (PyPI) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in openstack/nova by 0225a61fc4, 5b64a19361, cd3eb60c2c. Functions changed by the fix: _swap_volume, get_volume_id, swap_volume, _get_volume_encryption, cleanup, _connect_volume, _disconnect_volume, _attach_encryptor, _detach_encryptor, attach_volume, detach_volume, _get_guest_storage_config. Regression tests: nova/tests/unit/compute/test_compute_mgr.py, nova/tests/unit/virt/libvirt/test_driver.py, nova/tests/unit/virt/test_block_device.py, nova/tests/unit/virt/test_virt_drivers.py. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2018-02-19 | Published |
| 2022-05-13 | Package advisory GHSA-ffmh-r67w-m88f |
| 2026-06-17 | Record last changed |
| 2026-07-02 | Package advisory PYSEC-2026-689 |
| 2026-11-30 | EPSS when our history starts: 3.72% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-ffmh-r67w-m88f | nova (PyPI) | 15.1.1 |
| GHSA-ffmh-r67w-m88f | nova (PyPI) | 16.1.2 |
| PYSEC-2026-689 | nova (PyPI) | 15.1.1, 16.1.2 |
Also known as: GHSA-ffmh-r67w-m88f, PYSEC-2026-689
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-46448 | 2026-06-16 | 8.5 | same package: nova (PyPI) |
| CVE-2026-24708 | 2026-02-18 | 8.2 | same package: nova (PyPI) |
| CVE-2024-40767 | 2024-07-24 | 6.5 | same package: nova (PyPI) |
| CVE-2024-32498 | 2024-07-05 | 6.5 | same package: nova (PyPI) |
| CVE-2022-47951 | 2023-01-26 | 5.7 | same package: nova (PyPI) |
| CVE-2022-37394 | 2022-08-03 | 3.3 | same package: nova (PyPI) |
| CVE-2021-3654 | 2022-03-02 | 6.1 | same package: nova (PyPI) |
| CVE-2020-17376 | 2020-08-26 | 8.3 | same package: nova (PyPI) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-18191, or call /api/v1/vulnerabilities/CVE-2017-18191. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.