RCE in Obsidian Dataview
CVE-2021-42057
Obsidian Dataview through 0.4.12-hotfix1 allows eval injection. The evalInContext function in executes user input, which allows an attacker to craft malicious Markdown files that will execute arbitrary code once opened. NOTE: 0.4.13 provides a mitigation for some use cases.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.012 (68.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 68th percentile — 68.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: 0.000
Affected products
- Obsidian Dataview — versions 0.4.12
Weakness classification (CWE)
References
- github.com/blacksmithgu/obsidian-dataview/issues/615 (Exploit, Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2021-42057?
- CVE-2021-42057 is a high-severity vulnerability in Obsidian Dataview, classified under Code Injection. CVSS score: 7.8/10. Published 2021-11-04.
- How severe is CVE-2021-42057?
- High severity. CVSS v3 base score is 7.8 out of 10.