Skip to content

Commit 859c2ce

Browse files
kant2002breautek
andauthored
Update lib/check_reqs.js
Co-authored-by: Norman Breau <norman@breautek.com>
1 parent f98c708 commit 859c2ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/check_reqs.js

+2
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ module.exports.get_gradle_wrapper = function () {
110110
let program_dir;
111111
// OK, This hack only works on Windows, not on Mac OS or Linux. We will be deleting this eventually!
112112
if (module.exports.isWindows()) {
113+
// "spawn" option enabled for CVE-2024-27980 (Windows) Mitigation
114+
// See https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2 for more details
113115
const result = execa.sync(path.join(__dirname, 'getASPath.bat'), { spawn: true });
114116
// console.log('result.stdout =' + result.stdout.toString());
115117
// console.log('result.stderr =' + result.stderr.toString());

0 commit comments

Comments
 (0)