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 causing app to error break? #741

Open
Lee182 opened this issue Oct 15, 2024 · 0 comments
Open

setgid causing app to error break? #741

Lee182 opened this issue Oct 15, 2024 · 0 comments

Comments

@Lee182
Copy link

Lee182 commented Oct 15, 2024

Is it possible to catch this error.

Oct 02 23:18:07 archlinux wildduck-server[2844882]: info App                                          Oct 02 23:18:07 archlinux wildduck-server[2844882]: info App  ----------------------- [email protected] ----------------------                             Oct 02 23:18:07 archlinux wildduck-server[2844882]: info App                                          Oct 02 23:18:09 archlinux wildduck-server[2844882]: (node:2844882) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.                            Oct 02 23:18:09 archlinux wildduck-server[2844882]: (Use `node --trace-deprecation ...` to show where the warning was created)                           Oct 02 23:18:09 archlinux wildduck-server[2844882]: (node:2844882) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated. Oct 02 23:18:09 archlinux wildduck-server[2844882]: (node:2844882) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated. Oct 02 23:18:09 archlinux wildduck-server[2844882]: info IMAP Secure IMAP Server listening on 0.0.0.0:993                                                Oct 02 23:18:09 archlinux wildduck-server[2844882]: info POP3 Secure POP3 Server listening on 0.0.0.0:995                                                Oct 02 23:18:09 archlinux wildduck-server[2844882]: info LMTP LMTP Server listening on 127.0.0.1:24   Oct 02 23:18:09 archlinux wildduck-server[2844882]: info API Server listening on 127.0.0.1:8080       Oct 02 23:18:09 archlinux wildduck-server[2844882]: ERR! App Failed to change group to "wildduck" (setgid() disabled: io_uring may be enabled. See CVE-2024-22017.)                                         Oct 02 23:18:09 archlinux wildduck-server[2844882]: {                                                 Oct 02 23:18:09 archlinux wildduck-server[2844882]:   short_message: 'WILDDUCK [Exception] setgid() disabled: io_uring may be enabled. See CVE-2024-22017.',                                                Oct 02 23:18:09 archlinux wildduck-server[2844882]:   full_message: 'Error: setgid() disabled: io_uring may be enabled. See CVE-2024-22017.\n' +         Oct 02 23:18:09 archlinux wildduck-server[2844882]:     '    at process.setgid (node:internal/bootstrap/switches/does_own_process_state:88:22)\n' +      Oct 02 23:18:09 archlinux wildduck-server[2844882]:     '    at /opt/wildduck/worker.js:90:53\n' +    Oct 02 23:18:09 archlinux wildduck-server[2844882]:     '    at Immediate._onImmediate (/opt/wildduck/acme.js:59:35)\n' +                                Oct 02 23:18:09 archlinux wildduck-server[2844882]:     '    at process.processImmediate (node:internal/timers:491:21)',                                 Oct 02 23:18:09 archlinux wildduck-server[2844882]:   _exception: 'yes',                              Oct 02 23:18:09 archlinux wildduck-server[2844882]:   _error: 'setgid() disabled: io_uring may be enabled. See CVE-2024-22017.',                         Oct 02 23:18:09 archlinux wildduck-server[2844882]:   _code: 'ERR_INVALID_STATE',                     Oct 02 23:18:09 archlinux wildduck-server[2844882]:   facility: 'wildduck',                           Oct 02 23:18:09 archlinux wildduck-server[2844882]:   host: 'archlinux',                              Oct 02 23:18:09 archlinux wildduck-server[2844882]:   timestamp: 1727911089.678,                      Oct 02 23:18:09 archlinux wildduck-server[2844882]:   _component: 'wildduck'                          Oct 02 23:18:09 archlinux wildduck-server[2844882]: }                                                 Oct 02 23:18:12 archlinux systemd[1]: wildduck.service: Main process exited, code=exited, status=1/FAILURE                                               Oct 02 23:18:12 archlinux systemd[1]: wildduck.service: Failed with result 'exit-code'.               Oct 02 23:18:12 archlinux systemd[1]: wildduck.service: Consumed 2.005s CPU time, 110.8M memory peak. Oct 02 23:18:12 archlinux systemd[1]: wildduck.service: Scheduled restart job, restart counter is at 112592.                                             Oct 02 23:18:12 archlinux systemd[1]: Started WildDuck Mail Server.                                   Oct 02 23:18:13 archlinux wildduck-server[2844891]: info App  --------------------------------------------------------------                             Oct 02 23:18:13 archlinux wildduck-server[2844891]: info App                                          Oct 02 23:18:13 archlinux wildduck-server[2844891]: info App   █     █░ ██▓ ██▓    ▓█████▄ ▓█████▄  █    ██  ▄████▄   ██ ▄█▀                             Oct 02 23:18:13 archlinux wildduck-server[2844891]: info App  ▓█░ █ ░█░▓██▒▓██▒    ▒██▀ ██▌▒██▀ ██▌ ██  ▓██▒▒██▀ ▀█   ██▄█▒                              Oct 02 23:18:13 archlinux wildduck-server[2844891]: info App  ▒█░ █ ░█ ▒██▒▒██░    ░██   █▌░██   █▌▓██  ▒██░▒▓█    ▄ ▓███▄░                              Oct 02 23:18:13 archlinux wildduck-server[2844891]: i
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