CVE-2021-41192
Insecure default configuration
Check your servers for CVE-2021-41192
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-41192 affects redash, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Redash is a package for data visualization and sharing. If an admin sets up Redash versions 10.0.0 and prior without explicitly specifying the `REDASH_COOKIE_SECRET` or `REDASH_SECRET_KEY` environment variables, a default value is used for both that is the same across all installations. In such cases, the instance is vulnerable to attackers being able to forge sessions using the known default value. This issue only affects installations where the `REDASH_COOKIE_SECRET or REDASH_SECRET_KEY` environment variables have not been explicitly set. This issue does not affect users of the official Redash cloud images, Redash's Digital Ocean marketplace droplets, or the scripts in the `getredash/setup` repository. These instances automatically generate unique secret keys during installation. One can verify whether one's instance is affected by checking the value of the `REDASH_COOKIE_SECRET` environment variable. If it is `c292a0a3aa32397cdb050e233733900f`, should follow the steps to secure the instance, outlined in the GitHub Security Advisory.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 8.14%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 95.6% of all scored CVEs. Scores of 30 Nov 2026.
Weakness
- CWE-1188 Initialization of a Resource with an Insecure Default
Affected products
As the CNA lists them.
Is my server affected?
Find the installed version of redash and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i redash
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2021-41192 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2021-41192RHEL, Rocky, Alma, Fedora
rpm -q redash
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2021-41192Alpine
apk list --installed | grep -i redashWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2021-41192
trivy image --scanners vuln IMAGE | grep CVE-2021-41192
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Other references
- https://github.com/getredash/redash/commit/ce60d20c4e3d1537581f2f70f1308fe77ab6a214 github.com
- https://ian.sh/redash ian.sh
Source: the record CVE-2021-41192 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse