cross-posted from: https://lemmy.pt/post/5733711

A severe vulnerability in OpenSSH, dubbed “regreSSHion” (CVE-2024-6387), has been discovered by the Qualys Threat Research Unit, potentially exposing

47 points

musl isn’t vulnerable, as per https://fosstodon.org/@musl/112711796005712271

The exploit isn’t that practicable, since it takes a very long time on 32 bit systems, which are ever rarer to see.

permalink
report
reply
14 points

They could get RasPis below 4th gen running outdated software, I guess. I think I read elsewhere that Debian already had a patch out some time ago, so that number is also likely diminishingly small.

permalink
report
parent
reply
7 points

I have no idea when I last updated my RasPi 0s (none of which is exposed to the public).

permalink
report
parent
reply
4 points

Most images and distros are just Raspbian at their core and as such are pretty easy to upgrade.

I upgraded my homebridge/pihole from Bullseye to Bookworm just a few days ago and it went off without a hitch.

permalink
report
parent
reply
2 points

If only Void had a stable release branch

permalink
report
parent
reply
1 point

Gentoo does 😉

permalink
report
parent
reply
1 point

But it isn’t musl based? And I never heard it had anything except for the rolling release?

permalink
report
parent
reply
16 points

Question if I update my server and it has the new SSH (patched) package. Is that enough or do I have to restart the server as well? How can I check if the old SSH is in use currently?

permalink
report
reply
17 points
Deleted by creator
permalink
report
parent
reply
3 points

we do restarts twice a month, they are in production

permalink
report
parent
reply
0 points
Deleted by creator
permalink
report
parent
reply
2 points

Well I should have read the first comment before I went ahead with update and reboot😪

permalink
report
parent
reply
6 points

Some package managers have a command to see if anything is in need of restart. Zypper has ps -s for example. I’d restart to be sure though.

permalink
report
parent
reply
2 points

My server tells me a restart would be required because of:

linux-base linux-image-6.1.0-22-amd64

Does that have anything to do with the SSH package?

permalink
report
parent
reply
2 points
*

It sounds like it’s the kernel but whether it has anything to do with ssh, I really don’t know. Sometimes parts work together in surprising ways, as I learned with the recent sshd/systemd/xz exploit.

You might be fine and this was the most alarming exploit since it’s very inconvenient, but personally I’d restart just to be sure.

permalink
report
parent
reply
1 point

No - it’s the kernel image - the actual operating system, rather than a service that runs on top of it.

If you just want to restart your ssh service after updating the packages, then “systemctl restart sshd” is all that’s needed, although you should probably reboot whenever the package manager suggests as a general good habit.

permalink
report
parent
reply
3 points

For anyone in RHEL / Fedora land (or using dnf somewhere else), try dnf needs-restarting to list executables that have mismatched files on disk vs memory. The -r flag will hint if a reboot is needed (due to things like kernel or glibc changes)

permalink
report
parent
reply
1 point
*

The packages in most distros will also restart the server for you. Any existing SSH sessions will technically be running in vulnerable versions, but if I’m understanding the vulnerability correctly this isn’t a problem, as they won’t be trying to authenticate a user.

If you want to be sure, you can manually restart the ssh server yourself. On most distros sudo systemctl restart sshd should do it.

permalink
report
parent
reply
5 points

Worth noting this only affects the portable release of OpenSSH, so OpenBSD (or anyone else using the native release) are unaffected.

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 8.4K

    Monthly active users

  • 6.3K

    Posts

  • 174K

    Comments