-
Notifications
You must be signed in to change notification settings - Fork 697
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
sshd.socket vulnerable to DoS #1480
Comments
Can you please describe what the monitoring does? For example does it open N connections at once? |
Is there a process with |
@vbrahmajosyula1
@dcasota Just seen, there are updates for openssh-server since some minutes to 9.3p1-1.ph5. I'll try to update and check if the problem still occurs. |
when you try to login does the ssh connecting fails ? the .socket units forks a new daemon when it receives a new connection and closes when none is active . |
CVE-2023-25136 has been fixed in openssh 9.2p1. |
Yes, I can't connect, I had to open the vm console. At this time, the sshd service was dead. |
what is the status of sshd.socket ? |
@ssahani I'll check the next time, the problem occurs. |
@ssahani All of our Photon OS 4 VMs started with the same problem after the last updates.
In this case, they are also generated by docker context over ssh. |
Found this info: https://wiki.archlinux.org/title/OpenSSH#Daemon_management |
@t3easy could you check the behavior with a modified (edited)
@ssahani I'm not sure about the ciphers, kex and secure hash algorithms supported in Photon OS 3,4,5. Could you double check? In addition, I'm not sure how to reconfigure openssh to not use sshd.socket at all. |
@dcasota If I understand the settings right, they make sure a ssh session keeps established, they don't close old one. |
@t3easy The settings suggested is a mix to ensure the service is available for needed access. |
As I have not had the leisure to test it, I disabled sshd.socket and go for sshd.service. |
Describe the bug
After some time, the sshd service stops.
It's just 2 seconds after our monitoring checks for ssh port 22.
journalctl shows
Received signal 15; terminating.
The VM is a fresh install from the x86_64 ova.
Reproduction steps
Expected behavior
sshd don't terminate
Additional context
No response
The text was updated successfully, but these errors were encountered: