Remote Code Execution via crafted Python object in Apache Superset metadata database
CVE-2023-37941 is a deserialization-related vulnerability in Apache Superset affecting versions 1.5.0 through 2.1.0. If an attacker obtains write access to the Superset metadata database, they can persist a specially crafted Python object in that database. When the Superset web backend later processes that object, it may result in remote code execution in the backend process context. The issue is notable because the vulnerable data path relies on the application's trust in objects stored in its internal metadata database.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation may allow remote code execution on the Apache Superset web backend. An attacker who can write malicious serialized Python object data into the metadata database could execute arbitrary code with the privileges of the Superset backend process, potentially leading to full compromise of the Superset application instance, access to application secrets and connected data sources, further lateral movement from the host, and persistence.
If you can’t patch tonight, do this now.
Restrict and monitor access to the Apache Superset metadata database, as exploitation requires write access to that internal database. Ensure only the Superset process and authorized administrators can access it, enforce least privilege for database accounts, rotate credentials if compromise is suspected, and monitor for unauthorized modifications to metadata records or unexpected serialized Python objects. Network-segment the metadata database and prevent direct access from untrusted systems.
Patch, then assume compromise.
Upgrade Apache Superset to version 2.1.1 or later. The provided advisory explicitly states that versions 1.5.0 through 2.1.0 are affected and recommends upgrading to 2.1.1+.
1 exploit validated by Mallory's analysis.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.