Vulnerability details

CVE-2024-7957

danswer-ai danswer-ai/danswer

Arbitrary File Overwrite in danswer-ai/danswer

CVSS 3.0
9.1Critical

Official description

An arbitrary file overwrite vulnerability exists in the ZulipConnector of danswer-ai/danswer, affecting the latest version. The vulnerability arises from the load_credentials method, where user-controlled input for realm_name and zuliprc_content is used to construct file paths and write file contents. This allows attackers to overwrite or create arbitrary files if a zuliprc- directory already exists in the temporary directory.

CVSS scores

ScoreVersionSourceVector
9.1Critical 3.0 CVEProject cvelistV5 (CNA) (@huntr_ai) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected products

VendorProductVersionsSource
danswer-ai danswer-ai/danswer v ≤ latest CVEProject cvelistV5 (CNA)

References and advisories

1
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2025-03-20
Last updated
2025-03-20
State
Published
Assigner (CNA)
@huntr_ai

Exploit prediction (EPSS)

0.95%
Probability of exploitation in 30 days
61.4%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
Yes
Exploitation
Proof of concept
Technical impact
Partial

Weaknesses (CWE)

  • CWE-29
    Path Traversal: '\..\filename'