CVE-2020-14000

MIT Lifelong Kindergarten Scratch scratch-vm before 0.2.0-prerelease.20200714185213 loads extension URLs from untrusted project.json files with certain _…

published July 16, 2020

CVSS
—
EPSS
3%
Percentile
86.5
In the wild
Unconfirmed
What it is

⚠️ A sneaky flaw in Scratch's code could let an attacker run arbitrary scripts just by manipulating project files! 🎮 Think of it like a chef accidentally trusting a delivery order with a suspicious ingredient list. If the kitchen doesn’t read it carefully, they might end up cooking something dangerous instead of a delicious meal! In this case, an attacker could craft a malicious project.json file that, when loaded, executes harmful scripts. This could lead to unauthorized access, data corruption, or even full control over the system, making it a significant risk!

Put simply

Think of it like a chef accidentally trusting a delivery order with a suspicious ingredient list. If the kitchen doesn’t read it carefully, they might end up cooking something dangerous instead of a delicious meal! This vulnerability arises from the Scratch VM loading extension URLs from untrusted project.json files, particularly if they include certain '_' characters. This allows the content from these URLs to be executed as scripts, bypassing protections that were designed to prevent such attacks.

What to do

In this case, an attacker could craft a malicious project.json file that, when loaded, executes harmful scripts. This could lead to unauthorized access, data corruption, or even full control over the system, making it a significant risk! To mitigate this, update to Scratch scratch-vm version 0.2.0-prerelease.20200714185213 or later. Additionally, review the handling of project.json files to ensure that no untrusted content is executed. Implementing strict validation checks can help prevent similar vulnerabilities in the future. You've got this! With these steps, you'll tighten security and keep your Scratch projects safe! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02830 · 86.5th percentile
Published
2020-07-16T14:41Z
EPSS history
Timeline
  • 16 JUL 14:41Z
    MIT Lifelong Kindergarten Scratch scratch-vm before 0.2.0-prerelease.20200714185213 loads extension URLs from untrusted project.json files with certain _…
    cvelistv5