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

setgid() disabled: io_uring may be enabled. See CVE-2024-22017 #1003

Open
LelouBil opened this issue May 13, 2024 · 0 comments
Open

setgid() disabled: io_uring may be enabled. See CVE-2024-22017 #1003

LelouBil opened this issue May 13, 2024 · 0 comments

Comments

@LelouBil
Copy link

When running
prey config hooks post_install on Fedora 40 Silverblue, I get this error :

EXCEPTION! The "uid" argument must be of type number. Received undefined
TypeError [ERR_INVALID_ARG_TYPE]: The "uid" argument must be of type number. Received undefined
   at Object.lchown (node:fs:1995:3)
   at chown (/var/home/leloubil/Documents/prey-node-client/node_modules/chownr/chownr.js:69:13)
   at chownrKid (/var/home/leloubil/Documents/prey-node-client/node_modules/chownr/chownr.js:94:5)
   at /var/home/leloubil/Documents/prey-node-client/node_modules/chownr/chownr.js:123:31
   at Array.forEach (<anonymous>)
   at /var/home/leloubil/Documents/prey-node-client/node_modules/chownr/chownr.js:123:14
   at node:fs:194:23
   at node:internal/util:519:12
   at getDirents (node:internal/fs/utils:286:7)
   at req.oncomplete (node:fs:1480:7)

I traced it back to the library uid-number calling setgid with the group name and failing, thus returing this string
setgid() disabled: io_uring may be enabled. See CVE-2024-22017 instead of the uid and the "uid must be of type number" error

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

No branches or pull requests

1 participant