CVE-2021-42057

HIGHCVSS 7.8/10EPSS 1.21%

Last modified

CVE-2021-42057 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 1.21% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.1
7.8/10

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS Probability
1.21%

64.4th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
ObsidianObsidian Dataview<= 0.4.11
ObsidianObsidian Dataview0.4.12

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2021-42057?
CVE-2021-42057 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 1.21% probability of exploitation in the next 30 days.
How do I fix CVE-2021-42057?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-42057?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST