CVE-2024-40627
MEDIUMDescription
Fastapi OPA is an opensource fastapi middleware which includes auth flow. HTTP `OPTIONS` requests are always allowed by `OpaMiddleware`, even when they lack authentication, and are passed through directly to the application. `OpaMiddleware` allows all HTTP `OPTIONS` requests without evaluating it against any policy. If an application provides different responses to HTTP `OPTIONS` requests based on an entity existing (such as to indicate whether an entity is writable on a system level), an unauthenticated attacker could discover which entities exist within an application. This issue has been addressed in release version 2.0.1. All users are advised to upgrade. There are no known workarounds for this vulnerability.
How to fix
No published remediation has been found for this vulnerability's affected products yet.
Mitigation guidance may be in the linked vendor advisories in the References section below.
TridentStack Control tracks known vulnerabilities across your Windows, macOS, and Linux fleet and shows the fix as soon as one is published. See how it works
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 44% of all known CVEs.
References
Related Vulnerabilities
Other CWE-204 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2022-41697 | Medium | 5.3 | 20% | - | - |
| CVE-2016-9499 | Medium | 5.3 | 7.8% | - | Fix |
| CVE-2019-19030 | Medium | 5.3 | 1.9% | - | Fix |
| CVE-2022-0564 | Medium | 5.3 | 1.4% | - | Fix |
| CVE-2021-20049 | High | 7.5 | 1.3% | - | Fix |
| CVE-2021-39189 | Medium | 5.3 | 1.3% | - | Fix |
Common questions
How do I fix CVE-2024-40627?
No published fix for CVE-2024-40627 has been found yet. Check the linked vendor advisories for guidance as it becomes available.
Is CVE-2024-40627 being actively exploited?
Not that we know of. CVE-2024-40627 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.56% is the estimated probability that it will be exploited in the next 30 days. That is higher than 44% of all scored CVEs.
How severe is CVE-2024-40627?
CVE-2024-40627 has a CVSS v3 base score of 5.8, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
Embed a live status badge for CVE-2024-40627
Markdown
[](https://tridentstack.com/cve/CVE-2024-40627)HTML
<a href="https://tridentstack.com/cve/CVE-2024-40627"><img src="https://tridentstack.com/cve/badge/CVE-2024-40627.svg" alt="CVE-2024-40627"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.