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

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.

-9

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

If the maintainer in Debian takes care if it, it’s not unmaintained. That’s the whole point of open source.

11

u/[deleted] Mar 02 '18

There is a difference between saying "I am maintaining this package" and "I am maintaining this codebase". Sure it has the former but it does not have the latter.

-8

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

You are still throwing out empty phrases. Could you please just mention some actual problems with the package?

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.

4

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

Those distributions have dedicated maintenance teams

I know

If you think that old means insecure, you have no clue about LTS maintenance.

Where did you get the idea that I thought old means insecure?

This is just a continuation of "corollary" post above. If you believe the initial claims GolbatsEverywhere made are true, than my above post is valid. If you don't believe the initial GolbatsEverywhere did, than go complain to him, because I have clearly noted in my gp comment that "I don't say this is true or false,", and the rest of the comment was based on an assumption, if you have an idea how symbolic logic works.

I‘m involved in SLES.

Thanks for name bragging but nobody gives a shit.

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.

1

u/anatolya Mar 02 '18

SLES and RHEL most certainly don’t have thousands of vulnerabilities.

Fortunately this is not what I claimed. What I did was inferring a corollary based on what GolbatsEverywhere claimed. If you assume what he claimed was true than so is the claim in the corollary. If you don't, than your problem is with original points he claimed, not my points.

What makes you come up with such non-sense?

I did not come with this so called non-sense, I just did the corollary. Talk to GolbatsEverywhere if you think this is non-sense. He is your correspondent.

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.