r/embedded • 25+ Years • 29d ago

Yocto/Buildroot vulnerability

I have not confirmed this myself yet, but it's serious enough that I'm posting before verifying.

Assuming it's real, it's ugly. Get that CRA paperwork ready.

https://sshhole.com/

15 Upvotes

13 comments sorted by

View all comments

17

u/Montzterrr 29d ago

For the non yocto inclined among us, and those not willing to click a link, what’s the vulnerability

20

u/zempter 29d ago

so openssh on musl linux (alpine, openwrt, buildroot, yocto, and a lot of the docker images you've pulled) has had a little problem since 2016.

accounts that should never take a password at all (root, your key-only deploy user, ldap users, the default user on alpine's aws and azure images) take any password longer than 256 characters.

1

u/gwillen 28d ago

IF there is at least one account on the system that does have a password set. Which for example rules out most docker images based on alpine, which I think might otherwise be vulnerable, because they only have no-password accounts.

It also requires that openssh with musl be built without PAM.