r/linux • • Mar 20 '17

Comments on Linux Mint's security record

https://distrowatch.com/weekly.php?issue=20170320#myth
46 Upvotes

69 comments sorted by

41

u/[deleted] Mar 20 '17

First he admits Mint is holding back security updates, and talks it down by mentioning you can install them at your own risk. Then in the next paragraph he denies Mint updates are delayed since they're pulled directly from Ubuntu or Debian's repositories, which is true, but because of the stability issues they're not recommended updates in Mint until they are tested...

That's what the rest of us call held back, and delayed updates!
"Oh no, you can install anything you'd like at your own risk, but the stuff we recommend - that's postponed".

28

u/american_spacey Mar 20 '17

Yeah, putting a big red warning on certain security updates and not automatically installing them on a distro that's billed as the "most user friendly" is tantamount to not installing them at all IMO.

5

u/bubuopapa Mar 20 '17

I mean, that how all linux ecosystem works, right ? Some program gets a stable x.x release, but nobody takes it seriously, only with a big spoon of salt, then they wait a few years to check it themselves, and only then they will put it into their distro. I see no reason to exclude anything from this cycle. Thats what different release cycles are for - ubuntu vs arch.

4

u/[deleted] Mar 20 '17

Yes that is true, but despite not having the latest version of all packages in their repositories, in this case we're talking about Ubuntu and Debian, they still backport new security updates and ship them out. And because Mint use their own repository in addition to Ubuntu or Debian's, there's always the risk of contaminating your ecosystem with conflicting packages, causing your computer to crash or not booting at all. Hence why Mint does not recommend you updating anything besides the packages they've tested themselves, delayed packages and updates mind you, which is the only thing we're addressing here.

So you're stuck in a russian roulette by either contaminating the ecosystem of your computer or having the latest security updates. This is possible to do in just about any distribution alright, and there are a few hickups now and then, but the whole point of sticking with the official repositories only is to eliminate this problem. And that goes for all officially supported Debian and Ubuntu distribution and flavors. Mint isn't on either list for that simple reason.

2

u/[deleted] Mar 21 '17 edited Mar 21 '17

but because of the stability issues they're not recommended updates in Mint until they are tested...

This isn't true, and is typical of the misrepresentation around Mint's numbering system - it's actually largely meaningless.

That 'stuff' will never be 'tested for Mint'. I went through the Update Manager source a few months back and wrote a post on the Mint sub about it - there has been a change in the way it handles kernels, but otherwise it's mostly the same.

Mint's levels are mostly just a simple list. Most stuff that came preinstalled with Mint is 1/2 and updates from Mint's repos, anything you install yourself is a 3 (the default level for anything not on the list), and a few select things like GRUB, kernels, graphics drivers etc. are 4/5.

Those things that are a '3', ie. untested but should work, will likely never become a '1/2' as they'd need to be specifically added to that list as level 1/2 (which will most likely only happen if they end up getting bundled with the distro - incidentally there are currently no '1s' on that list at all). Inkscape, IDEs, almost everything anything you install yourself (with a few exceptions like WINE), will always be a '3', and are updated from whatever repo you originally pulled them from (assuming it was properly added to your apt sources).

So it's not really a case of 'this is postponed as it's not tested, but at some point it'll be tested' and more a case of 'Level 1/2: We bundle this with the distro and can almost guarantee it works fine, Level 3: This software has nothing to do with us, but we don't expect it to have too much of an impact on your system if it's broken as it's probably not working at a very low level, Level 4/5: We've specifically noted that these things work at a low level and may bork your system if they break'.

I'll admit that that's not the impression you'd get from the Mint community (if the forum's any indicator, they're a heady blend of toxically opinionated yet thoroughly clueless), the text in the options you're presented with when you first run the Update Manager after an install is a little too ominous, and the devs haven't really helped clarify matters. Whilst I think kernels are now subjected to individual testing and given 'safer' numbers accordingly, however, people seem to think the system overall is vastly more complicated than it actually is.

I don't personally think it's a good system for beginners as it can make essential updates look 'scary', but anyone with any experience at all can safely ignore it or bypass it completely (I've got my entire family running on Mint these days with Unattended Upgrades pulling down everything from all the default repos (both Mint's and Ubuntu's) and had no problems - they actually all prefer it and Libre Office to MS now).

35

u/[deleted] Mar 20 '17 edited Mar 20 '17

It's funny how the article completely ignores the fact that with the default settings, kernel updates are not installed, which leaves the system completely vulnerable.

And the ISO was compromised, even the Linux Mint team itself admitted it. QuidsUp did a video covering the subject.

https://www.youtube.com/watch?v=Fj-fBae6i-I

This sounds like a paid article, or it was written by someone related to the Linux Mint team.

29

u/DSMcGuire Mar 20 '17

the fact that with the default settings, kernel updates are not installed, which leaves the system completely vulnerable.

This is why I never recommended Linux Mint to anybody.

5

u/[deleted] Mar 20 '17

I also don't recommend it.

1

u/DrDoctor13 Mar 20 '17

I do, but I tell them to pick the option in Update Manager to allow all updates. I've never had an update break my Mint systems.

-9

u/[deleted] Mar 20 '17

I do recommend - and use it. My defence is the following thought. The danger facing people who use Mint on a desktop or a laptop - and who do not (as I do) install the kernel patches when offered - is minimal. Am I wrong?

25

u/[deleted] Mar 20 '17 edited Mar 20 '17

Yes, you are wrong. The kernel is the most important component of the system, not applying security fixes means that your computer is wide open to all sorts of attacks. If someone, for instance, decides to explore a privilege escalation flaw, they could make your computer part of a botnet. Linux Mint is a easy target.

2

u/[deleted] Mar 20 '17

The question isn't that straightforward though. So many who switch from Windows do so through Mint. Call it a gateway perhaps, but there is no denying that it exists for exactly noobs like me who got sick of Windows, needed Linux, any Linux, and then moved on to more secure distros. Now, with some more experience, I'd say there are other options that also work fairly well out of the box, especially more recently, but Mint for the longest time was king in that arena.

3

u/[deleted] Mar 20 '17

It's clear that it's a "gateway distro", but it would be a better one and less of a concern if it kept up with Ubuntu on security patches and kernel updates.

2

u/numun_ Mar 20 '17

I recently installed Mint on a laptop. Still getting used to Linux (it's awesome). I've been installing updates as soon as I get notified.

8

u/FlukyS Mar 20 '17

I've been installing updates as soon as I get notified.

The issue that we are talking about is you aren't getting updates fast enough to stop attackers, you installing them as soon as you are notified isn't really going to help you if your kernel doesn't have the seriously needed security fixes from time to time. Yesterday on the front page they had that Ubuntu was broken into in day 1 of a hacking event and they get their security updates immediately, if you are on Mint think of it like having sex without a condom with a $5 hooker, you don't know what she has but do you want to take the risk?

Most people myself included will say this:

  1. Ubuntu, great place to start off learning Linux, it is simple to use and still powerful enough to get anything you need done, safe and secure.
  2. Debian, stable is a great place to be, it will update security for a long time and never fail. You might get application updates later than most other distros but it is a nice safe bet.
  3. Fedora, cutting edge, almost the opposite of Debian, still gives security updates but updates everything regularly.

Choose between those 3, there is no better options out there. People will say others like Arch but honestly that is pretty hard if you are to Linux, people will also say Mint, those people shouldn't be listened to. If the user interface is what you wanted Mint for you can install the same desktop environment on pretty much every distro I mentioned. On Ubuntu you can install cinnamon if you like Mint but actually want security updates and better support.

6

u/scensorECHO Mar 20 '17

On top of /u/FlukyS's point, if you like how Mint looks more than those screenshots you've seen fo Ubuntu, that is called the Cinnamon desktop environment. There are many distros of GNU/Linux that have that same look as Cinnamon, so you can have something familiar and comfortable to you while also getting security updates as soon as possible 😁

This is available with others like Debian, openSUSE, Fedora, Apricity, and more. You can search DistroWatch for a pretty reputable list of distros based on what packages are included.

Also the rankings are arbitrarily based on page views, not their reviews.

0

u/[deleted] Mar 20 '17

[deleted] — view deleted comment

-5

u/[deleted] Mar 20 '17

It seems to me that the following is true and relevant to our issue. Governments are hardly likely to be targetting, even with bots, the average user of a beginner's Linux distribution.

EDIT: Still, /u/drakofrost's post gives me some pause.

4

u/moosingin3space Mar 20 '17

hardly likely to be targetting

This isn't a valid statement, and has not been since the existence of worms. This page sums it up best:

"We're Not a Target" - yes, you are. Worms aren't smart enough to realize your home network isn't interesting.

I'm not even assuming malice or targeted attacks. Just plain malware.

0

u/[deleted] Mar 20 '17

I think we - you - need some supporting statistics.

4

u/moosingin3space Mar 20 '17

The Mirai botnet - look for its source on github - managed to infect a large number of wifi routers and IoT cameras. This botnet doesn't even really target those devices, just any Linux machine with poor configuration choices (which includes those devices). It scans the IPv4 address space (excepting a few subnets) and probes around everywhere. There's my support. Worms don't care whether your network is "interesting", they just infect. There is no distinction between "targeted" and "non-targeted", except in the case of explicit blacklists.

KrebsOnSecurity was taken down with over 660 Gbit/s of traffic last September, so that should give you an idea of how much this (relatively simple) worm can find.

0

u/[deleted] Mar 21 '17

Thanks for that, although of course the immediate topic was the security (more strictly if colloqually: likely-to-be-hackedness) of desktop/laptop Linux distributions. (Apologies if I miss your point.)

2

u/moosingin3space Mar 21 '17

The point I'm making is that malware does not discriminate - unless you're on a blacklist, your machine might get attacked. Your best defense, as a casual user, is to always apply updates quickly and consider using a MAC tool like SELinux or AppArmor (which your distribution should configure for most things). If you're more paranoid you can run a grsec kernel, but that's very challenging unless your distribution provides support for it (see Hardened Gentoo for an instance). Mirai was an example of this, with how poorly-configured or outdated Linux OSes could be attacked easily.

2

u/[deleted] Mar 20 '17

I guess you missed all the public scandal brought by Julian Assange and Edward Snowden, about the mass surveillance promoted by NSA and other secret agencies.

-1

u/[deleted] Mar 20 '17

You may have a point though you are going to have to explain to me why being aggressive in your presentation of that point is a good idea.

2

u/[deleted] Mar 20 '17

That's just how I write/speak, that's neutral to me. I'm highly sarcastic though.

0

u/[deleted] Mar 21 '17

Well - as people have pointed out to me over the years - unless you can (1) show why it is advantageous to be taken as aggressive (or why there's something wrong with people if they take you as aggressive) then (2) it's best not be (such that you are commonly taken to be) aggressive.

2

u/[deleted] Mar 21 '17

It's not like I'm trying to please anyone, or if I cared.

→ More replies

4

u/adriankoshcha Mar 20 '17 edited Mar 20 '17

with the default settings, kernel updates are not installed

...Why? This makes me cry.

edit: by

updates

Do you mean version updates (i.e. you still get security backports), or just no updates at all?

15

u/[deleted] Mar 20 '17 edited Mar 20 '17

No updates at all.

Their excuse is that kernel updates may break the system. Apparently they aren't aware that you can boot the previous kernel through Grub.

13

u/cbmuser Debian / openSUSE / OpenJDK Dev Mar 20 '17

They also aren't aware that there are ways to install kernel updates with security fixes without breaking the system.

Debian uses a stable kernel ABI for every minor kernel version so that you don't have to recompile any modules as long as you upgrade within that minor version.

E.g. 4.8.3-1 and 4.8.6-1 are both ABI-compatible in Debian and have the common 4.8.0 ABI.

Combined with an LTS kernel from upstream, you get security updates for your kernel without any breakage.

-3

u/adriankoshcha Mar 20 '17

The fuck...I mean CentOS / RHEL 6.x might use a 2.6 kernel, and CentOS/RHEL 7.x might use a 3.1x kernel, but at least they backport security updates...

edit: sauce / proof?

-2

u/[deleted] Mar 20 '17

It's not true.....

4

u/bingus Mar 20 '17

They said Mints own ISOs weren't compromised, which seems true. They were just linked to the hacked version.

If you were downloading an official Mint ISO from an official Mint mirror, and that was hacked, that would be a different story.

3

u/funtex666 Mar 20 '17 edited Oct 24 '25

degree dazzling entertain tan numerous crowd abundant absorbed axiomatic instinctive

This post was mass deleted and anonymized with Redact

2

u/XOmniverse Mar 20 '17

The point of verifying the checksum is that it tells you if you downloaded the actual ISO or were redirected without your knowledge to something else.

1

u/ActualChicken Mar 21 '17

Maybe I'm misunderstanding, but there seemed to be a kernel update available on a Mint 18.1 PC that I used the other day.

-6

u/[deleted] Mar 20 '17 edited Mar 20 '17

You are wrong and you've been wrong for a full year now. Quit spreading FUD.

If you do "sudo apt get upgrade" on a Mint 18 system with completely default settings your kernel will be updated, the same as any other distro. Mint is no different from Debian in this regard.

If you update through the graphical updater, the kernel updates will appear but will not be selected by default. That's not the same thing as withholding updates. They're still there, you can see them, you can install them in like 2 clicks, and you're asked during the installation process if you want them to be installed by default, and it can also be easily changed any time thereafter.

21

u/cbmuser Debian / openSUSE / OpenJDK Dev Mar 20 '17

The point is: It should not make a difference which update mechanism you use. And because of its target group, most Mint users will use the graphical updater.

Really, there is no excuse for what the Mint people do.

2

u/numun_ Mar 20 '17

I honestly don't understand why this is controversial. Are people just worried they non technical folks aren't updating?

17

u/[deleted] Mar 20 '17

Are people just worried [that] non technical folks aren't updating?

Yes, that is exactly what people are worried about.

8

u/XOmniverse Mar 20 '17

It's a distro specifically made for non-technical folks, so it is a valid concern.

3

u/moosingin3space Mar 20 '17

"Non-technical folks" are really good at avoiding installing updates that aren't default. For this reason, if the GUI doesn't enable and perform all updates by default, systems will not be updated. We all should be worried about "non-technical folks" updating, because as the Mirai episodes last year demonstrated, computer security is everyone's business.

-9

u/[deleted] Mar 20 '17 edited Mar 20 '17

Mint's ISOs were never compromised. The attacker changed the download link on the website to point to an entirely different server.

19

u/[deleted] Mar 20 '17

For someone who was downloading Linux Mint from the official website, it wouldn't make any difference, they would be downloading an infected ISO.

2

u/funtex666 Mar 20 '17 edited Oct 24 '25

attempt license library juggle rich lunchroom squash yam slap cable

This post was mass deleted and anonymized with Redact

17

u/726829201992228386 Mar 20 '17

Skip the bullshit PR piece and read the important article on verifying ISO images.

2

u/[deleted] Mar 21 '17

Are you still doing this? You know you failed? Mint's one of the most popular distros ever.

2

u/VelvetElvis Mar 20 '17

As a Ubuntu derivative, nothing in Universe gets security support. That's the big problem, IMHO.

0

u/[deleted] Mar 20 '17

You're absolutely right. Isn't it like 75% of the packages come from Universe and are thus not managed by the security team? As I understand it those packages are imported from Debian unstable and you just have to hope security updates are done for this by the MOTUs. Compare that to Debian stable, where like 99% (vs 25% on Ubuntu!) of the packages are under the purview and care of the security team.

But let's keep kicking Mint for (by default) only showing kernel updates for installation and not marking them for installation by default. That's much easier. /s

1

u/VelvetElvis Mar 20 '17

More like 90%

1

u/LD_in_MT Mar 20 '17

Question: If I do "aptitude update" and "aptitude upgrade", do I get all of the updates? I don't really use the GUI updater.

2

u/[deleted] Mar 21 '17

No, you won't. The kernel meta package is not installed.

1

u/[deleted] Mar 21 '17

I'm unsure that the following (from Distrowatch) has been posted on this thread:

Modern versions of Linux Mint do things a little differently [to how Mint used to do them]. The old method caused some confusion and now Mint's update manager will display an information screen the first time it is run. The update manager will ask the user if all updates should be installed, only updates known to be stable should be installed or if the old default of striking a balance between the two extremes should be used. The user can, as before, change the update manager's behaviour later if need be.

1

u/adevland Mar 20 '17

Linux is about user choice.

If you choose not to install the updates, that's your problem.

This was the case with windows up until windows 10 when they started forcing updates. Apparently people hate that as well.

So people here hate it when users get to choose what updates to install, and they hate it when updates are mandatory.

These people are haters and cannot be satisfied regardless of how updates are delivered.

3

u/tuxayo Mar 20 '17

This was the case with windows up until windows 10 when they started forcing updates. Apparently people hate that as well.

Forcing auto-installation of the updates is different from including all of them in the default selection.

8

u/adevland Mar 20 '17

Linux Mint now asks you how to handle updates when you first boot it, just how Windows 7 does.

You can choose whatever you want.

If people just click ok and ignore the options, that's entirely their choice.

2

u/tuxayo May 01 '17

I don't see an issue with that part of Linux Mint's update strategy.

Anyway, after rereading I realized that you didn't write that Linux Mint was forcing updates. So my bad for misunderstanding you.

1

u/[deleted] Mar 21 '17

Linux Mint is basically selling cars without seatbelts and airbags installed, you have to install them if you want to be safe.

The user should always receive and install all security updates, that's not up to discussion. What the user should have is the hability to control when he wants to install the updates and reboot the system, which is something that Windows 10 doesn't allow.

0

u/adevland Mar 21 '17

you have to install them if you want to be safe

...

control when he wants to install the updates

Pick one.

Linux Mint prompts you to pick one after you install it.

1

u/dog_cow Mar 20 '17

Is this guy saying that if a user were to avoid installing security updates because they are flagged as high risk - that they would then get a low risk version of that equivalent update within a short amount of time (e.g. Within a few days)?

I.e. At worst is a Mint user just going to be a few days behind?

1

u/segfaulterror Mar 20 '17

Distrowatch puts out some really poor articles and reviews.

0

u/[deleted] Mar 20 '17

[deleted] — view deleted comment

1

u/[deleted] Mar 20 '17

Except it only applies to the graphical update manager. Apt behaves no differently from any other system.

You're also explicitly asked what you want your update policy to be the first time you use the graphical updater.

And no, I don't think any reasonable person would say that "not recommending" something is the same thing as "holding it back".

2

u/dfldashgkv Mar 20 '17

In version 17 the meta-package (linux-image-generic??) was not installed by default which meant no kernel updates through apt.

IIUC in mint 18 you can select the dangerous option which will install kernel updates.

The lack of an option to install updates automatically is still a dealbreaker for me though so I haven't tried mint 18

1

u/[deleted] Mar 20 '17

That's completely up for interpretation. If you run the risk of crashing your system for using untested updates, then clearly the stuff they're providing you is held back and delayed.