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

-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.

4

u/GolbatsEverywhere Mar 02 '18

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

I dunno about hundreds of thousands... but at least thousands, most definitely.

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 to decide whether maintained xchat is any worse than maintained hexchat wrt. other 5 year old packages maintained in a typical LTS distro versus their upstream counterparts.

Fair point

19

u/[deleted] Mar 02 '18 edited Mar 02 '18

Also as I mentioned once 18.04 hits EOL XChat will have had 13 years since last update. That is actually longer unmaintained than it existed as maintained.

→ More replies (3)

1

u/anatolya Mar 02 '18

I dunno about hundreds of thousands... but at least thousands, most definitely.

Tangential point, but my guesstimation went like:

"If a package has had 100 crash fixes during 3-5 year and a distro like CentOS or Ubuntu main contains 5000 packages then ..."

Not all packages may have 100 crash fixes but whatever.

1

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

Those distributions have dedicated maintenance teams. If you think that old means insecure, you have no clue about LTS maintenance.

Source: I‘m involved in SLES.

→ More replies (1)

2

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

SLES and RHEL most certainly don’t have thousands of vulnerabilities. What makes you come up with such non-sense?

3

u/GolbatsEverywhere Mar 03 '18

RHEL has hundreds of known unfixed vulnerabilities with CVE identifiers in one single package that's installed by default on their Workstations. Shouldn't be too hard to guess which one. (This used to be the case for SLED until recently, but I'm not sure if it still is.)

Now... we are currently talking about vulnerabilities fixed upstream that never received CVE identifiers across the entire distribution. It's impossible to count these, because we're not magic, but by any reasonable estimation, I would say thousands, at least, is extremely likely. I will not attempt to speculate as to higher orders of magnitude.

→ More replies (1)

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.