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.
References
Link Resource
https://github.com/blacksmithgu/obsidian-dataview/issues/615 Exploit Issue Tracking Third Party Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:obsidian:obsidian_dataview:*:*:*:*:*:*:*:*
cpe:2.3:a:obsidian:obsidian_dataview:0.4.12:-:*:*:*:*:*:*
cpe:2.3:a:obsidian:obsidian_dataview:0.4.12:hotfix1:*:*:*:*:*:*

History

08 Nov 2021, 22:19

Type Values Removed Values Added
CPE cpe:2.3:a:obsidian:obsidian_dataview:0.4.12:-:*:*:*:*:*:*
cpe:2.3:a:obsidian:obsidian_dataview:0.4.12:hotfix1:*:*:*:*:*:*
cpe:2.3:a:obsidian:obsidian_dataview:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 9.3
v3 : 7.8
CWE CWE-94
References (MISC) https://github.com/blacksmithgu/obsidian-dataview/issues/615 - (MISC) https://github.com/blacksmithgu/obsidian-dataview/issues/615 - Exploit, Issue Tracking, Third Party Advisory

04 Nov 2021, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-11-04 21:15

Updated : 2024-02-04 22:08


NVD link : CVE-2021-42057

Mitre link : CVE-2021-42057

CVE.ORG link : CVE-2021-42057


JSON object : View

Products Affected

obsidian

  • obsidian_dataview
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')