CVE & CISA-KEV Catalog

CVE-2024-40627

MEDIUM
5.8
CVSS v3
NVD

Description

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

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeChanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Exploit Intelligence

0.56%probability of exploitation in 30 days
44thpercentile

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

CVESeverityCVSSEPSSExploitedFix
CVE-2022-41697Medium5.320%--
CVE-2016-9499Medium5.37.8%-Fix
CVE-2019-19030Medium5.31.9%-Fix
CVE-2022-0564Medium5.31.4%-Fix
CVE-2021-20049High7.51.3%-Fix
CVE-2021-39189Medium5.31.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
CVE-2024-40627 severity badge

Markdown

[![CVE-2024-40627](https://tridentstack.com/cve/badge/CVE-2024-40627.svg)](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.

See how it worksStart freeThis CVE lookup is free and always will be.

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.