CVE-2024-7957 Arbitrary File Overwrite in danswer-ai/danswer
CriticalCVSS 9.1
EPSS 0.95%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| danswer-ai/danswer | <= latest | after latest | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| danswer-ai/danswer | <= latest | No fix listed |