Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security update in Node causes EINVAL error #37

Open
CS10-85 opened this issue Aug 7, 2024 · 0 comments · May be fixed by #38
Open

Security update in Node causes EINVAL error #37

CS10-85 opened this issue Aug 7, 2024 · 0 comments · May be fixed by #38

Comments

@CS10-85
Copy link

CS10-85 commented Aug 7, 2024

A recent security update to Node 18 has caused the improved-yarn-audit to fail with an EINVAL error.

https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2#command-injection-via-args-parameter-of-child_processspawn-without-shell-option-enabled-on-windows-cve-2024-27980---high

This is the output we are seeing now:

node:internal/child_process:421
    throw new ErrnoException(err, 'spawn');
          ^

Error: spawn EINVAL
    at ChildProcess.spawn (node:internal/child_process:421:11)
    at spawn (node:child_process:761:9)
    at streamYarnAuditOutput (\node_modules\improved-yarn-audit\bin\improved-yarn-audit:289:23)
    at WriteStream.<anonymous> (\node_modules\improved-yarn-audit\bin\improved-yarn-audit:320:28)
    at WriteStream.emit (node:events:519:28)
    at node:internal/fs/streams:78:16
    at FSReqCallback.oncomplete (node:fs:187:23) {
  errno: -4071,
  code: 'EINVAL',
  syscall: 'spawn'
}

Node.js v20.15.0
error Command failed with exit code 1.`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant