# CVE-2024-8007: Openstack-tripleo-common: rhosp director disables tls verification for registry mirrors

> Attackers can deploy compromised container images via MITM attacks because TLS verification is disabled for registry mirrors in OpenStack director.

- **Severity:** High 8.1 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 21 Aug 2024
- **Updated:** 25 Feb 2026
- **Also known as:** GHSA-w89j-rfr2-3vwq, RHSA-2024:9990, RHSA-2024:9991

## What is CVE-2024-8007?

CVE-2024-8007 is a high-severity vulnerability in Red Hat OpenStack Platform 16.1, published on 21 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

A flaw was found in the openstack-tripleo-common component of the Red Hat OpenStack Platform (RHOSP) director. This vulnerability allows an attacker to deploy potentially compromised container images via disabling TLS certificate verification for registry mirrors, which could enable a man-in-the-middle (MITM) attack.

Weakness: CWE-295 (Improper Certificate Validation)

## Which versions are affected by CVE-2024-8007?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `openstack-tripleo-common` | Red Hat:openstack:17.1::el8 | All versions | 0:15.4.1-17.1.20240911093743.e5b18f2.el8ost |
| `openstack-tripleo-common-container-base` | Red Hat:openstack:17.1::el8 | All versions | 0:15.4.1-17.1.20240911093743.e5b18f2.el8ost |
| `openstack-tripleo-common-containers` | Red Hat:openstack:17.1::el8 | All versions | 0:15.4.1-17.1.20240911093743.e5b18f2.el8ost |
| `python-tripleoclient` | Red Hat:openstack:17.1::el8 | All versions | 0:16.5.1-17.1.20240913093745.f3599d0.el8ost |
| `python3-tripleo-common` | Red Hat:openstack:17.1::el8 | All versions | 0:15.4.1-17.1.20240911093743.e5b18f2.el8ost |
| `python3-tripleoclient` | Red Hat:openstack:17.1::el8 | All versions | 0:16.5.1-17.1.20240913093745.f3599d0.el8ost |
| `openstack-tripleo-common` | Red Hat:openstack:17.1::el9 | All versions | 0:15.4.1-17.1.20240911100820.e5b18f2.el9ost |
| `openstack-tripleo-common-container-base` | Red Hat:openstack:17.1::el9 | All versions | 0:15.4.1-17.1.20240911100820.e5b18f2.el9ost |
| `openstack-tripleo-common-containers` | Red Hat:openstack:17.1::el9 | All versions | 0:15.4.1-17.1.20240911100820.e5b18f2.el9ost |
| `openstack-tripleo-common-devtools` | Red Hat:openstack:17.1::el9 | All versions | 0:15.4.1-17.1.20240911100820.e5b18f2.el9ost |
| `python-tripleoclient` | Red Hat:openstack:17.1::el9 | All versions | 0:16.5.1-17.1.20240913100806.f3599d0.el9ost |
| `python3-tripleo-common` | Red Hat:openstack:17.1::el9 | All versions | 0:15.4.1-17.1.20240911100820.e5b18f2.el9ost |
| `python3-tripleoclient` | Red Hat:openstack:17.1::el9 | All versions | 0:16.5.1-17.1.20240913100806.f3599d0.el9ost |

Products: Redhat Openstack Platform.

## How do I fix CVE-2024-8007?

Apply the vendor's patch.

## Is CVE-2024-8007 being exploited?

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

## Other vulnerabilities in Red Hat OpenStack Platform 16.1

- [CVE-2020-10731](https://insights.sbomify.com/CVE-2020-10731/): Misconfiguration in nova libvirt container provided by the Red Hat OpenStack Platform (critical 9.9)
- [CVE-2017-15114](https://insights.sbomify.com/CVE-2017-15114/): Missing authorization in n/a (high 8.1)
- [CVE-2022-3596](https://insights.sbomify.com/CVE-2022-3596/): Instack-undercloud: rsync leaks information to undercloud (high 7.5)
- [CVE-2023-6725](https://insights.sbomify.com/CVE-2023-6725/): Tripleo-ansible: bind keys are world readable (medium 5.5)
- [CVE-2022-3261](https://insights.sbomify.com/CVE-2022-3261/): Plain-text passwords saved in /var/log/messages (medium 4.4)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-8007 and fix it if it is affected.

What it is: CVE-2024-8007 is a high-severity vulnerability in Red Hat OpenStack Platform 16.1, published on 21 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2024-8007 in the wild and no public exploit code.

Affected product: Red Hat OpenStack Platform 16.1. 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-2024-8007/ (Markdown: https://insights.sbomify.com/CVE-2024-8007/index.md)
```

## Sources

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

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