{"id":"CVE-2020-14000","state":"PUBLISHED","title":"MIT Lifelong Kindergarten Scratch scratch-vm before 0.2.0-prerelease.20200714185213 loads extension URLs from untrusted project.json files with certain _ characters, resulting in r","description":"MIT Lifelong Kindergarten Scratch scratch-vm before 0.2.0-prerelease.20200714185213 loads extension URLs from untrusted project.json files with certain _ characters, resulting in remote code execution because the URL's content is treated as a script and is executed as a worker. The responsible code is getExtensionIdForOpcode in serialization/sb3.js. The use of _ is incompatible with a protection mechanism in older versions, in which URLs were split and consequently deserialization attacks were prevented. NOTE: the scratch.mit.edu hosted service is not affected because of the lack of worker scripts.","publishedAt":"2020-07-16T14:41:40.000Z","updatedAt":"2024-08-04T12:32:14.707Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/LLK/scratch-vm/pull/2476","https://scratch.mit.edu/discuss/topic/422904/?page=1#post-4223443"],"weaknesses":[],"ingestedAt":"2026-10-29T19:46:33.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/14xxx/CVE-2020-14000.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-14000","state":"PUBLISHED","datePublished":"2020-07-16T14:41:40.000Z","dateUpdated":"2024-08-04T12:32:14.707Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2020-06-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"MIT Lifelong Kindergarten Scratch scratch-vm before 0.2.0-prerelease.20200714185213 loads extension URLs from untrusted project.json files with certain _ characters, resulting in remote code execution because the URL's content is treated as a script and is executed as a worker. The responsible code is getExtensionIdForOpcode in serialization/sb3.js. The use of _ is incompatible with a protection mechanism in older versions, in which URLs were split and consequently deserialization attacks were prevented. NOTE: the scratch.mit.edu hosted service is not affected because of the lack of worker scripts."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/LLK/scratch-vm/pull/2476","tags":["x_refsource_CONFIRM"]},{"url":"https://scratch.mit.edu/discuss/topic/422904/?page=1#post-4223443","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2020-07-16T14:41:40.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2020-07-14T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2020-14000","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"MIT Lifelong Kindergarten Scratch scratch-vm before 0.2.0-prerelease.20200714185213 loads extension URLs from untrusted project.json files with certain _ characters, resulting in remote code execution because the URL's content is treated as a script and is executed as a worker. The responsible code is getExtensionIdForOpcode in serialization/sb3.js. The use of _ is incompatible with a protection mechanism in older versions, in which URLs were split and consequently deserialization attacks were prevented. NOTE: the scratch.mit.edu hosted service is not affected because of the lack of worker scripts."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/LLK/scratch-vm/pull/2476","refsource":"CONFIRM","url":"https://github.com/LLK/scratch-vm/pull/2476"},{"name":"https://scratch.mit.edu/discuss/topic/422904/?page=1#post-4223443","refsource":"CONFIRM","url":"https://scratch.mit.edu/discuss/topic/422904/?page=1#post-4223443"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/LLK/scratch-vm/pull/2476","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://scratch.mit.edu/discuss/topic/422904/?page=1#post-4223443","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T12:32:14.707Z"}}]}}}