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
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

21 Nov 2024, 06:27

Type Values Removed Values Added
References () https://github.com/blacksmithgu/obsidian-dataview/issues/615 - Exploit, Issue Tracking, Third Party Advisory () https://github.com/blacksmithgu/obsidian-dataview/issues/615 - Exploit, Issue Tracking, Third Party Advisory

Information

Published : 2021-11-04 21:15

Updated : 2024-11-21 06:27


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')