CVE-2024-7957

CRITICALCVSS 9.1/10EPSS 0.88%

Last modified

CVE-2024-7957 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 0.88% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.0
9.1/10

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

EPSS Probability
0.88%

54.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2024-7957?
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.
How severe is CVE-2024-7957?
CVE-2024-7957 has a CVSS score of 9.1/10 (CRITICAL severity). The EPSS model estimates a 0.88% probability of exploitation in the next 30 days.
How do I fix CVE-2024-7957?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-7957?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST