Via Cà Matta 2 - Peschiera Borromeo (MI)
+39 02 00704272
info@synaptica.info

regreSSHion Vulnerability in OpenSSH: Impact on Ubuntu and Solutions

Digital solution partner

regreSSHion Vulnerability in OpenSSH: Impact on Ubuntu and Solutions

The vulnerability named “regreSSHion” (CVE-2024-6387) affects the OpenSSH daemon (sshd) from versions 8.5p1 to 9.8p1. Discovered and reported by Qualys, this flaw allows unauthenticated remote code execution by exploiting an insecure asynchronous function called when LoginGraceTime expires.

Affected Ubuntu Versions

  • Ubuntu 22.04 LTS
  • Ubuntu 23.10
  • Ubuntu 24.04 LTS

Previous versions are not impacted.

Resolution

Update the openssh-server package to fix the vulnerability:

Ubuntu Pro users can use:

Temporary Mitigation

Set LoginGraceTime to 0, although this may expose to DoS attacks:

Conclusion

It is crucial to update immediately to protect servers from potential attacks. For more details, visit the original articles:

These updates enhance overall security, highlighting the importance of proactive vulnerability management.

Otherwise you can upgrade moanually your ssh-server following this post: https://synaptica.info/2024/07/05/upgrade-openssh-server-on-your-ubuntu-distro-manually-tested-on-22-04-lts/