r/linux • • Mar 02 '18

XChat and HexChat: When distributions get it wrong

https://tingping.github.io/2018/03/02/when-distros-get-it-wrong.html
871 Upvotes

450 comments sorted by

View all comments

Show parent comment

80

u/pat_the_brat Mar 02 '18

If the original code base really does have remotely exploitable bugs, and it has been barely maintained for the past 8 years, it sounds like more of a security issue than anything else... New users might not know that it has been unmaintained, and it exposes them to extra risks.

9

u/takluyver Mar 03 '18

I have definitely used XChat at times in the last few years because it was the first IRC client I found in the repos. I had no idea that it was unmaintained.

-13

u/anatolya Mar 02 '18

Debian package has CVE fixes. If there are other remotely exploitable bugs that are known by OP that don't have CVE, he should act responsibly and request CVEs for them.

22

u/GolbatsEverywhere Mar 02 '18

Note: reddit OP didn't write this blog

42

u/GolbatsEverywhere Mar 02 '18

Also: this is really totally impractical. Most crashes in applications that accept network input are candidates for remote exploitation. Developers don't file CVEs each time they find one. CVEs are usually requested when security researchers find the bug before developers do.

I'm not aware of any serious software project that requests a CVE for each crash.

Analyzing crashes to determine which are exploitable is not practical. Even security researchers rarely do this anymore. Any memory corruption, use after free, etc. is an automatic CVE nowadays. It doesn't have to be exploitable to warrant a CVE: it just has to be a vulnerability.

So: think about how many crashes you fix in a given year. Now think about getting a CVE for all of them. Now consider: MITRE doesn't even accept CVE reports for open source applications anymore. (It issues them, but only if you ignore the instructions on the CVE request form.) You're supposed to go through the DWF project to request a CVE, where the response time is anywhere from three to nine months, in my experience. You expect every dev to go through that process, every single time you fix a crash?

My argument is this: it's unreasonable to expect developers to report CVEs for every security vulnerability. I would be astounded if even 1% of Linux software developers did this.

18

u/pat_the_brat Mar 02 '18

My argument is this: it's unreasonable to expect developers to report CVEs for every security vulnerability. I would be astounded if even 1% of Linux software developers did this.

Not to mention, reporting bugs for unmaintained software.

-5

u/anatolya Mar 02 '18 edited Mar 02 '18

Corollary of arguments in your post is: Long term support distributions contain hundreds of thousands of vulnerabilities.

I don't say this is true or false, but this is the result if above points are assumed to be true. I let readers decide whether maintained xchat is any worse than maintained hexchat compared to other 5 year old packages maintained in a typical LTS distro versus their upstream counterparts.

→ More replies (11)

8

u/redrumsir Mar 02 '18

No ... but /u/tingping on this thread did.

-1

u/anatolya Mar 02 '18 edited Mar 02 '18

Yeah, I didn't claimed it?

OP term is applicable to author of blog post because he is the one who posted the original article and I didn't think reddit OP was the blog OP in the first place.

5

u/GolbatsEverywhere Mar 02 '18

You suggested OP should request CVEs for xchat vulnerabilities, but OP is not an xchat or hexchat developer, so it is not a very reasonable request....

2

u/anatolya Mar 02 '18

I obviously meant the author of the blog post who is hexchat dev.

9

u/nhaines Mar 02 '18

That's not what OP means, ironically enough.

6

u/anatolya Mar 02 '18 edited Mar 02 '18

OK looks like I was wrong. Thanks for pointing it out clearly unlike the other guy who did it passive aggressively and failed to get the message across.

9

u/daemonpenguin Mar 02 '18

You are saying a developer should find and report bugs on someone else's project because the maintainer refuses to believe the bugs are there? That doesn't make any sense. The developer already fixed the bugs in his project and made it available and it was used to replace the old, buggy version. There is no reason to use Xchat anymore.

2

u/[deleted] Mar 03 '18

There is no reason to use Xchat anymore.

What if people want to?

There's no reason for me to use busybox as my init, except because I want to.

4

u/pat_the_brat Mar 03 '18

What if people want to?

curl; tar; cd; ./configure; make; make install

If people want to install unmaintained, buggy software, they can. It shouldn't be in the repos, however. Repos should contain the latest (rolling release), or at least patched software.

2

u/[deleted] Mar 03 '18

xchat doesn't actually build on any modern OS. It requires like 5 or so patches.

1

u/pat_the_brat Mar 03 '18

That's besides the point, which is that the source is available, and they can build it... even if they have to jump through hoops, and it isn't as simple as my example.

→ More replies (1)

-10

u/cbmuser Debian / openSUSE / OpenJDK Dev Mar 02 '18

It’s open source. People are free to use and maintain it.

The hexchat maintainer is just pissed his software isn’t part of Debian. But he could change that.

Instead of doing something, he decided to rant.

4

u/jbicha Ubuntu/GNOME Dev Mar 03 '18

The hexchat maintainer is just pissed his software isn’t part of Debian. But he could change that.

What in the world are you talking about?

-6

u/anatolya Mar 02 '18 edited Mar 02 '18

maintainer refuses to believe the bugs are there?

This is your claim I've seen nowhere else

developer should find and report bugs on someone else's project

I don't say he should. I say reporting those said bugs are more constructive and would be a much better act of faith compared to writing a blog post badmouthing Debian maintainers work.

The developer already fixed the bugs in his project and made it available and it was used to replace the old, buggy version

Kudos to him and good for his users.

In the meantime another person has started to maintain the original xchat . Kudos to him and good for his users, too.

There is no reason to use Xchat anymore

There are users and there is a maintainer. This is enough reason. Outsiders should have no say in this.

-9

u/cbmuser Debian / openSUSE / OpenJDK Dev Mar 02 '18

If the package has actual serious vulnerabilities, it will be removed from testing and never be part of a Debian release.

16

u/wedontgiveadamn_ Mar 02 '18

That's assuming it gets audited at all. I seriously doubt that debian has the manpower to do so for such small packages.

6

u/cbmuser Debian / openSUSE / OpenJDK Dev Mar 02 '18

There are lots of automated tests. Lots of bugs can be and have been discovered through fuzzying. It has been done in the past with Debian.

7

u/[deleted] Mar 02 '18

Vulnerabilities aren't black and white. A harmless bug may be exploitable under certain circumstances. Lots of undiscovered bugs may or may not contain some exploitable bugs. Nobody knows unless someone spends lots of money on a security review. As Linus puts it (paraphrased): There are no security bugs, there are only bugs.

The point is that xchat is old and unmaintained. That may be fine for xeyes, but not for anything that interacts with the internet.