CVE-2023-1712CWE-547

Use of Hard-coded, Security-relevant Constants in deepset-ai/haystack

Critical · published March 30, 2023

CVSS v3.0
9.1
EPSS
1%
Percentile
57.8
In the wild
Unconfirmed
What it is

🚨 Hard-coded secrets are lurking in deepset-ai/haystack, and they're a recipe for disaster if left unchecked! 🔥 Think of it like a restaurant that keeps its secret recipe written on a public menu — anyone can access it and replicate the dish without breaking a sweat! An attacker could exploit these hard-coded constants to gain unauthorized access or compromise sensitive operations, leading to potential data breaches or malicious activities. This vulnerability could be absolutely devastating if the constants are linked to security-sensitive functions, putting your entire application at risk.

Put simply

Think of it like a restaurant that keeps its secret recipe written on a public menu — anyone can access it and replicate the dish without breaking a sweat! This vulnerability arises from hard-coded, security-relevant constants in the deepset-ai/haystack repository prior to version 0.1.30. These constants can be leveraged by an attacker to manipulate security checks or bypass authentication altogether.

What to do

An attacker could exploit these hard-coded constants to gain unauthorized access or compromise sensitive operations, leading to potential data breaches or malicious activities. This vulnerability could be absolutely devastating if the constants are linked to security-sensitive functions, putting your entire application at risk. Update your haystack dependency to version 0.1.30 or later immediately. Review your code to ensure no other hard-coded security constants exist, and consider implementing a secret management solution to handle sensitive information securely. You've got this! With these steps, you'll bolster your defenses and keep your application safe! 🛡️

The record
Technical detail
CVSS v3.0
9.1 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00850 · 57.8th percentile
Weakness
CWE-547 · Use of Hard-coded, Security-relevant Constants
Published
2023-03-30T00:00Z
EPSS history
Timeline
  • 30 MAR 00:00Z
    Use of Hard-coded, Security-relevant Constants in deepset-ai/haystack
    cvelistv5