CVE-2024-7957 CRITICAL

CVE-2024-7957: Arbitrary File Overwrite in danswer-ai/danswer

Vendor Danswer-Ai
Product danswer-ai/danswer
Weakness CWE-29
Published March 20, 2025
Last update March 20, 2025

CVSS base score

9.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity High

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 20, 2025 CVE published
March 20, 2025 Record updated