News for hackers. Stuff that matters.
Re:Out-of-bounds write in systemd-resolved with crafted TCP ... by dogecoinbase on Monday July 03, 2017 @04:23PM (#14691099)
Sorry, but this is not a standard TCP payload. I think the bug is in the library that made the packet, not with systemd. They should fix their library.
Re:Out-of-bounds write in systemd-resolved with crafted TCP ... by gpribeiro on Monday July 03, 2017 @04:48PM (#14691250)
"A malicious DNS server can exploit this by responding with a specially crafted TCP payload to trick systemd-resolved in to allocating a buffer that's too small, and subsequently write arbitrary data beyond the end of it."

When your program doesn't handle a malformed input, and this leads to a buffer overflow, it's your fault. When this program is something as important as systemd, the problem is even worse.

Re:Out-of-bounds write in systemd-resolved with crafted TCP ... by pjc50 on Monday July 03, 2017 @04:51PM (#14691263)
Anything Internet-facing has to accept any kind of packet without crashing, or at least without failing in an exploitable way. That's the bare minimum you-must-be-this-tall entry requirement of security.
Re:Out-of-bounds write in systemd-resolved with crafted TCP ... by stepik777 on Monday July 03, 2017 @04:53PM (#14691286)
I believe it was a joke about how Lennart Poettering usually responds to bug reports.
Re:Out-of-bounds write in systemd-resolved with crafted TCP ... by dogecoinbase on Monday July 03, 2017 @05:15PM (#14691463)
You are correct. See, for example, his recent response to the issue where systemd starts processes belonging to users whose usernames begin with a digit with root privileges: https://github.com/systemd/systemd/issues/6237#issuecomment-...

My deepest apologies to HN for the overly-dry sense of humor.

Re:Out-of-bounds write in systemd-resolved with crafted TCP ... by digi_owl on Tuesday July 04, 2017 @01:02PM (#14696982)
Re:Out-of-bounds write in systemd-resolved with crafted TCP ... by peterwwillis on Monday July 03, 2017 @05:53PM (#14691692)
Trolling on HN really is like shooting fish in a barrel, isn't it?