LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-26-2021, 08:40 PM   #1
max.b
Member
 
Registered: Feb 2013
Distribution: Debian 11, GNOME
Posts: 100

Rep: Reputation: 5
Angry A security expert compares Debian's security to that of Windows XP with partial security updates


The lead dev of GrapheneOS (praised by Snowden and Doresy) had some harsh things to say about the security of Linux and Debian in particular:

https://old.reddit.com/r/GrapheneOS/...droid/ekzo6c0/

Quote:
The Linux kernel is a security disaster, but so are the kernels in macOS / iOS and Windows, although they are moving towards changing. For example, iOS moved a lot of the network stack to userspace, among other things.

The userspace Linux desktop software stack is far worse relative to the others. Security and privacy are such low priorities. It's really a complete joke and it's hard to even choose where to start in terms of explaining how bad it is. There's almost a complete disregard for sandboxing / privilege separation / permission models, exploit mitigations, memory safe languages (lots of cultural obsession with using memory unsafe C everywhere), etc. and there isn't even much effort put into finding and fixing the bugs. Look at something like Debian where software versions are totally frozen and only a tiny subset of security fixes receiving CVEs are backported, the deployment of even the legacy exploit mitigations from 2 decades ago is terrible and work on systems integration level security features like verified boot, full system MAC policies, etc. is near non-existent. That's what passes as secure though when it's the opposite. When people tell you that Debian is secure, it's like someone trying to claim that Windows XP with partial security updates (via their extended support) would be secure. It's just not based in any kind of reality with any actual reasoning / thought behind it.
Fair criticism, would you say?

Security issues aside, I quite like Debian. Is it true that only a fraction of CVEs actually get fixed in Debian Stable? I always assumed that they all get fixed.

---

I'm marking this as 'SOLVED' in light of all the open vulnerabilities in Debian Stable's Chromium at the time of this edit: https://security-tracker.debian.org/...ckage/chromium

On the other hand, Firefox (Debian's default browser) is not well-regarded by security researchers: https://madaidans-insecurities.githu...searcher-views
Attached Thumbnails
Click image for larger version

Name:	chromium_vulns.jpg
Views:	26
Size:	225.9 KB
ID:	37624  

Last edited by max.b; 11-04-2021 at 03:20 PM.
 
Old 10-27-2021, 12:24 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Ever since he split off from the CopperheadOS team and started GrapheneOS, he has been ranting like this on reddit, full Theo-de-Raadt-style.
He probably has a point, but there's just something bordering on madness in his behaviour.

And are we not going to talk about the implications of using Alphabet-ware as the base for his OS? I guess he is blind on that eye.
 
1 members found this post helpful.
Old 10-27-2021, 08:43 AM   #3
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,597

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
Quote:
Originally Posted by max.b View Post
The lead dev of GrapheneOS (praised by Snowden and Doresy)
I presume "Doresy" refers to Jack Dorsey, the Twitter CEO, who according to this did nothing more than post a link to GrapheneOS after Google deleted negative reviews from the Play store.

With regards to Snowden, the Twitter thread in question is here (relevant part starts a few posts in, on 21 Sep 2019): https://nitter.net/i/status/1174024719072468996

It's an interesting thread, but basically all he really said is that two years ago GrapheneOS was the least-worst choice for a smartphone.


Neither of those things are enough to establish Daniel Micay as as a security expert in my eyes - basically all they've said is "here's a de-Googled Android", neither of them are specifically praising Daniel nor GrapheneOS.

And that's not a comment on whether he's right or wrong - but without providing concrete examples to back up what he is saying then it's just ranting.

The key thing is the question you asked:
Quote:
Is it true that only a fraction of CVEs actually get fixed in Debian Stable?
If this is true, it would be easy for Daniel to point to CVEs that apply to Debian Stable and didn't get fixed. Has he actually done that?

Since Debian Security Tracker is public - we can easily have a look ourselves...

Looks like there are 108 active CVEs for Debian's kernel, and of those, 5 are fixed in Unstable (sid) but not yet fixed in Stable (bullseye), whilst a further 29 are not yet fixed in either - that's out of a total 1675 resolved CVEs.

This does not appear to support what Daniel Micay is saying about Debian.


Last edited by boughtonp; 10-27-2021 at 08:46 AM.
 
2 members found this post helpful.
Old 10-27-2021, 10:05 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Quote:
Originally Posted by boughtonp View Post
It's an interesting thread, but basically all he really said is that two years ago GrapheneOS was the least-worst choice for a smartphone.
Slightly off-topic. There was a recent post on LWN.net about a study of data collection on Android devices. And they found out that the only Android OS variant that lives up to its promise of complete de-Googling is /e/OS. They didn't test GrapheneOS though.

Last edited by shruggy; 10-27-2021 at 02:08 PM.
 
1 members found this post helpful.
Old 10-27-2021, 01:56 PM   #5
max.b
Member
 
Registered: Feb 2013
Distribution: Debian 11, GNOME
Posts: 100

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by boughtonp View Post
neither of them are specifically praising Daniel nor GrapheneOS.
Dorsey tweeted a link to it, and Snowden wrote "If I were configuring a smartphone today, I'd use Daniel Micay's GrapheneOS as the base operating system." (according to Wikipedia)

Micay created a "hardened Android" project that tech celebs know about. I think that's something.

Quote:
And that's not a comment on whether he's right or wrong - but without providing concrete examples to back up what he is saying then it's just ranting.

Looks like there are 108 active CVEs for Debian's kernel, and of those, 5 are fixed in Unstable (sid) but not yet fixed in Stable (bullseye), whilst a further 29 are not yet fixed in either - that's out of a total 1675 resolved CVEs.
Debian 11 just got released. It's probably more informative to look at Debian 10. Also, this is just the kernel. Chrome alone gets 200 CVEs per year. Firefox - 100 per year. Do they all get backported to Chromium and Firefox-ESR?

Last edited by max.b; 10-27-2021 at 03:11 PM.
 
Old 10-27-2021, 03:12 PM   #6
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Quote:
Originally Posted by max.b View Post
Also, this is just the kernel. Chrome alone gets 200 CVEs per year. Firefox - 100 per year. Do they all get backported to Chromium and Firefox-ESR?
Have you looked at the URL boughtonp provided? What prevents you from changing it to display CVEs for Chromium or Firefox-ESR? Here, I'll do it for you:
https://security-tracker.debian.org/...ckage/chromium
https://security-tracker.debian.org/...ge/firefox-esr

I did once write up how to search for a particular security fix in Ubuntu. Don't feel like rewriting this all over again for Debian. Look it up yourself, say, at distro-patches. Unfortunately, the distro-patches page was last updated 2019, and Debian infrastructure has changed quite a bit since then, so most of the links there must be replaced. You can find working links starting from https://packages.debian.org and going to the package you're interested in.

For a quick look at the latest security patches I usually go to https://lwn.net/Alerts/Debian (not only for Debian, of course: they maintain lists for several major distributions).
 
Old 10-27-2021, 03:42 PM   #7
max.b
Member
 
Registered: Feb 2013
Distribution: Debian 11, GNOME
Posts: 100

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by shruggy View Post
Have you looked at the URL boughtonp provided? What prevents you from changing it to display CVEs for Chromium or Firefox-ESR?
I did look at those. Only a fraction of CVEs for Firefox and Chrome end up in Debian's tracking system. It's hard to tell if in each of those cases, there was a decision to not include a CVE, what that decision was based on, and whether it was justified (without being a developer familiar with these packages)
 
Old 10-27-2021, 04:31 PM   #8
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,597

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
Quote:
Originally Posted by max.b View Post
Debian 11 just got released. It's probably more informative to look at Debian 10. Also, this is just the kernel. Chrome alone gets 200 CVEs per year. Firefox - 100 per year. Do they all get backported to Chromium and Firefox-ESR?
Judging the security of an OS by software that is not installed by default does not seem reasonable, (especially when it's Google's incompetence resulting in so many vulnerabilities).

Firefox, which is installed by default, has zero unresolved CVEs in Debian's currently supported stable versions.


Quote:
Originally Posted by max.b View Post
Only a fraction of CVEs for Firefox and Chrome end up in Debian's tracking system. It's hard to tell if in each of those cases, there was a decision to not include a CVE, what that decision was based on, and whether it was justified (without being a developer familiar with these packages)
What are you basing this claim on?

 
1 members found this post helpful.
Old 10-27-2021, 06:03 PM   #9
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,445
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by ondoho View Post
And are we not going to talk about the implications of using Alphabet-ware as the base for his OS? I guess he is blind on that eye.
Haha! Fail.
 
Old 10-27-2021, 09:43 PM   #10
max.b
Member
 
Registered: Feb 2013
Distribution: Debian 11, GNOME
Posts: 100

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by boughtonp View Post
Judging the security of an OS by software that is not installed by default does not seem reasonable, (especially when it's Google's incompetence resulting in so many vulnerabilities).
You must not be a programmer, if you think bugs are caused by incompetence alone.

Edit: Micay himself has argued that Chrome has a lot of CVEs because they are better than others at finding problems.

Quote:
Firefox, which is installed by default, has zero unresolved CVEs in Debian's currently supported stable versions.
Debian Stable is lot bigger than what's installed by default.

Quote:
What are you basing this claim on?
Just count the Firefox/Chrome CVEs for the same time period on MITRE and Debian's security tracker.

Last edited by max.b; 10-27-2021 at 10:48 PM.
 
Old 10-28-2021, 12:31 AM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
OP, you seem to be using "Chrome" and "Chromium" as though they're interchangeable - they aren't.
They're both browsers, but one is open-source and one is not.
The closed-source browser is based on the open-source browser, with who knows how different configuration, and also "stuff" added on top.

Chromium is both the source project Chrome is built from, and a FOSS browser (but by no means Google-free), Chrome is the closed-source browser promoted by Google/Alphabet.
 
Old 10-28-2021, 07:33 AM   #12
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,597

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
Quote:
Originally Posted by max.b View Post
You must not be a programmer, if you think bugs are caused by incompetence alone.
If you think that's what I wrote, you must not understand English.

Quote:
Debian Stable is lot bigger than what's installed by default.
Do you mean to suggest we should compare all possible software for Debian Stable with all possible software for Windows XP?

Quote:
Just count the Firefox/Chrome CVEs for the same time period on MITRE and Debian's security tracker.
Ok, here's an example Firefox CVE: http://cve.mitre.org/cgi-bin/cvename...CVE-2021-29973
Do you need me to explain why that is not in Debian's security tracker?

Can you provide an actual example of a CVE that is specifically listed as affecting Debian's Firefox but is being ignored by Debian Security?

Quote:
Edit: Micay himself has argued that Chrome has a lot of CVEs because they are better than others at finding problems.
Sounds like a Google fanboy. Would you like to provide a source for that statement?

Likewise, for the claim to have any validity, it needs to be backed up by proof that Google is the one finding the vulnerabilities - do such statistics exist anywhere?

If Google is so good at finding vulnerabilities, why do they wait until after they perform a release to do it...?

 
2 members found this post helpful.
Old 10-28-2021, 11:17 AM   #13
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by ondoho View Post
Ever since he split off from the CopperheadOS team and started GrapheneOS, he has been ranting like this on reddit, full Theo-de-Raadt-style.
No - Theo de Raadt does not rant in that "style", as he generally doesn't care about other projects outside of OpenBSD.

I would say that he's ranting "Spengler style".
 
Old 10-28-2021, 11:53 AM   #14
max.b
Member
 
Registered: Feb 2013
Distribution: Debian 11, GNOME
Posts: 100

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by boughtonp View Post
Do you mean to suggest we should compare all possible software for Debian Stable with all possible software for Windows XP?
Debian's claim is that they provide security updates for software in Debian Stable. Not "for software installed by default".
 
Old 10-28-2021, 12:50 PM   #15
max.b
Member
 
Registered: Feb 2013
Distribution: Debian 11, GNOME
Posts: 100

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by shruggy View Post
This is disturbing... I might switch to Chrome.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: TuxRadar Compares Ubuntu and Windows Boot Times LXer Syndicated Linux News 0 11-03-2009 02:20 PM
Linux Torvalds compares to which science fiction character? t3gah General 3 06-01-2005 07:06 PM
debian's hardware probe compares to knoppix furtivefelon Debian 1 02-27-2005 09:35 PM
Need a book that compares Linux <---> Windows deanbrown3d Linux - Newbie 8 06-22-2004 02:45 PM
what compares to Win. Movie Maker TallAmericano Linux - Software 1 02-03-2004 07:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration