Query PR
github/codeql#14291
github/codeql#14293
github/codeql#14294
Language
Javascript
CVE(s) ID list
CWE
CWE-078
Report
Execa package before version 5 has already been modeled but newer versions up to 8 have many new APIs that I've implemented now.
Shelljs package also has a piping feature which I've updated the current shelljs module to support piping too.
Also, dynamic import in nodejs support URLs starts with data: which is dangerous.
There is another nodejs API that accepts the data: URL which is:
const {Worker} = require('node:worker_threads');
new Worker(new URL('data:text/javascript,console.log("hello!");'))
but it needs to be a URL Type as input, not any string value that starts with data:, I'm not sure what is the best way to implement it.
Are you planning to discuss this vulnerability submission publicly? (Blog Post, social networks, etc).
Blog post link
No response
Query PR
github/codeql#14291
github/codeql#14293
github/codeql#14294
Language
Javascript
CVE(s) ID list
CWE
CWE-078
Report
Execa package before version 5 has already been modeled but newer versions up to 8 have many new APIs that I've implemented now.
Shelljs package also has a piping feature which I've updated the current shelljs module to support piping too.
Also, dynamic import in nodejs support URLs starts with
data:which is dangerous.There is another nodejs API that accepts the
data:URL which is:but it needs to be a URL Type as input, not any string value that starts with
data:, I'm not sure what is the best way to implement it.Are you planning to discuss this vulnerability submission publicly? (Blog Post, social networks, etc).
Blog post link
No response