Observable Response Discrepancy Affecting fastapi-opa package, versions [,2.0.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-FASTAPIOPA-7456992
  • published16 Jul 2024
  • disclosed15 Jul 2024
  • creditUnknown

Introduced: 15 Jul 2024

CVE-2024-40627  (opens in a new tab)
CWE-204  (opens in a new tab)

How to fix?

Upgrade fastapi-opa to version 2.0.1 or higher.

Overview

fastapi-opa is a Fastapi OPA middleware incl. auth flow.

Affected versions of this package are vulnerable to Observable Response Discrepancy due to allowing all HTTP OPTIONS requests without evaluating it against any policy. An unauthenticated attacker could discover which entities exist within an application.

CVSS Scores

version 4.0
version 3.1