News for hackers. Stuff that matters.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by eigenvalue on Friday March 29, 2024 @01:45PM (#39866913)
Every single commit this person ever did should immediately be rolled back in all projects.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by gopher_space on Friday March 29, 2024 @01:58PM (#39867062)
It's weird and disturbing that this isn't the default perspective.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by freedomben on Friday March 29, 2024 @03:09PM (#39867805)
Well, it is much easier said than done. Philosophically I agree, but in the real world where you have later commits that might break and downstream projects, etc, it isn't very practical. It strikes me as in a similar vein to high school students and beauty pageant constestants calling for world peace. Really great goal, not super easy to implement.

I would definitely be looking at every single commit though and if it isn't obviously safe I'd be drilling in.

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by concordDance on Friday March 29, 2024 @04:17PM (#39868553)
Some of those commits might fix genuine vulnerabilities. So you might trade a new backdoor for an old vulnerability that thousands of criminal orgs have bots for exploiting.

Damage wise, most orgs aren't going to be hurt much by NSA or the Chinese equivalent getting access, but a Nigerian criminal gang? They're far more likely to encrypt all your files and demand a ransom.

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by mysidia on Friday March 29, 2024 @05:49PM (#39869386)
Still.. At this point the default assumption should be every commit is a vulnerability or facilitating a potential vulnerability.

For example, change from safe_fprintf to fprintf. It would be appropriate that every commit should be reviewed and either tweaked or re-written to ensure the task is being done in the safest way and doesn't have anything that is "off" or introducing a deviation from the way that codebase standardly goes about tasks within functions.

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by KeplerBoy on Friday March 29, 2024 @06:53PM (#39869897)
Surely this is happening right now.

A lot of eyes are on the code. From all sides. Folks trying to find old unpatched backdoors to exploit or patch.

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by maxcoder4 on Friday March 29, 2024 @04:17PM (#39868546)
Imagine someone tried to revert all the commits you ever did. Doesn't sound easy.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by bananapub on Friday March 29, 2024 @05:09PM (#39869046)
it's not weird at all?

randomly reverting two years of things across dozens of repositories will break them, almost definitely make them unbuildable, but also make them unreleasable in case any other change needs to happen soon.

all of their code needs to be audited to prove it shouldn't be deleted, of course, but that can't happen in the next ten minutes.

I swear that HN has the least-thought-through hot takes of any media in the world.

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by datascienced on Friday March 29, 2024 @06:36PM (#39869772)
Yeah if you tried to revert stuff that was done weeks ago on a relatively small team you know how much painstaking work it can be.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by ryanwaggoner on Friday March 29, 2024 @11:56PM (#39871710)
* I swear that HN has the least-thought-through hot takes of any media in the world.*

The irony is too good.

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by kaliqt on Friday March 29, 2024 @11:55PM (#39871706)
You can't just go and rip out old code, it'll break everything else, you have to review each commit and decide what to do with each.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by maerF0x0 on Saturday March 30, 2024 @12:11PM (#39876172)
"immediately" could mean have humans swarm on the task and make a choice, as opposed to

    for commit in author_commits
        git revert $commit
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by crest on Saturday March 30, 2024 @01:35AM (#39872126)
Too much fallout.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by andruby on Friday March 29, 2024 @03:35PM (#39868098)
Hoe will you do that practically though? That’s probably thousands of commits upon which tens or hundred thousand commits from others were built. You can’t just rollback everything two years and expect it not to break or bring back older vulnerabilities that were patched in those commits.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by kjs3 on Friday March 29, 2024 @06:33PM (#39869746)
Likely part of what the attacker(s) are counting on. Anyone want to place odds this isn't the only thing that's going to be found?
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by umanwizard on Friday March 29, 2024 @09:54PM (#39871115)
I’d bet you at even odds that nothing else malicious by this person is found in 1 month, and at 1:2.5 odds that nothing is found in a year.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by kjs3 on Saturday March 30, 2024 @07:54PM (#39879854)
Only if you consider "this person" to be equal to "this identity".
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by neurostimulant on Friday March 29, 2024 @06:37PM (#39869780)
Rolling back two years worth of commits made by a major contributor is going to be hell. I'm looking forward to see how they'll do this.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by joeyh on Friday March 29, 2024 @07:09PM (#39870041)
Not really. xz worked fine 2 years ago. Roll back to 5.3.1 and apply a fix for the 1 security hole that was fixed since that old version. (ZDI-CAN-16587)

Slight oversimplification, see https://bugs.debian.org/1068024 discussion.

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by kelseydh on Wednesday April 03, 2024 @04:21AM (#39914822)
This seems true with so many of these core libraries. Change for the sake of change introduces attack vectors. If it ain't broke, don't fix it!
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by account42 on Wednesday April 03, 2024 @08:30AM (#39916583)
Yeah but people will cry "dead project" if there hasn't been a release for a week.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by planb on Saturday March 30, 2024 @04:37AM (#39872963)
I don’t thinks that’s necessary: there are enough eyes on this person’s work now.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by hcks on Saturday March 30, 2024 @05:00AM (#39873082)
No one will do it seriously