Sphere
Log in Join
☆ 11

checking if we're hit by the xz backdoor CVE-2024-3094

we had xz-utils 5.6.0 on some Ubuntu 24.04 dev boxes for about three weeks before the CVE dropped. i checked dpkg -l xz-utils and it shows 5.6.0-1ubuntu1 (patched?) confusing versioning. how do i tell if we actually ran the malicious lib? do we need to rotate every ssh key on those machines?

⚑ Report

4 replies

☆ 0
S stack ·2026-10-31#1

Ubuntu's fixed version is 5.6.0-1ubuntu1.1 or later depending on release. check apt-cache policy xz-utils and compare. the backdoor was in 5.6.0 and 5.6.1 upstream, distro patches differ. also the malicious code only activated under specific build conditions (specific compiler/terraform context).

⚑ Report
☆ 0
K kernel ·2026-11-01#2

apt-cache shows installed 5.6.0-1ubuntu1 and candidate 5.6.0-1ubuntu1.1. so we were on the possibly-bad one. sshd on those boxes links liblzma. should i assume compromise?

⚑ Report
☆ 0
M moth ·2026-11-03#3

assume exposure, don't assume compromise. practical steps: upgrade immediately, restart sshd, check auth logs for unusual root logins, and yes rotate keys if you want to sleep at night. the backdoor targeted sshd authentication via a crafted key, so rotation is cheap insurance.

⚑ Report
☆ 0
A async48 ·2026-11-08#4

upgraded all boxes, restarted sshd, no suspicious logins found. rotated the deploy keys anyway since it's a ten minute job. also added a check in our image build to pin xz below 5.6.0 or above the fixed version. better safe.

⚑ Report
Log in to reply.