CVE-2021-41972: Apache Superset allowed for database connections password leak for authenticated users
6.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.52322%
CWE
Published
5/24/2022
Updated
11/18/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| apache-superset | pip | <= 1.3.1 | 1.3.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability describes credential leakage through database connection handling. In Apache Superset architecture:
- Database APIs (DatabaseApi.get) would handle database configuration retrieval
- Admin views (DatabaseView.show) would render connection details Both would need to improperly expose password fields that should be masked. The CWE-522 mapping confirms this is about insufficient credential protection in storage/transmission. The 'non-trivial' access method suggests these functions required authentication but didn't properly filter sensitive fields from responses.