Missing Authorization Affecting chainlit package, versions [,1.3.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

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 ID SNYK-PYTHON-CHAINLIT-8320952
  • published 1 Nov 2024
  • disclosed 1 Nov 2024
  • credit Unknown

Introduced: 1 Nov 2024

New CVE NOT AVAILABLE CWE-862 Open this link in a new tab

How to fix?

Upgrade chainlit to version 1.3.1 or higher.

Overview

chainlit is a Build Conversational AI.

Affected versions of this package are vulnerable to Missing Authorization due to improper user verification in the get_file endpoint. This flaw allows unauthorized users to access and retrieve session files by guessing or obtaining valid session_ids, potentially leading to data breaches.

Note: Exploitability is high if session_ids are predictable.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    Low
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None