this post was submitted on 07 Jul 2023
1674 points (92.9% liked)

Memes

45549 readers
1930 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
1674
It's Open Source! (lemmy.dbzer0.com)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Not discrediting Open Source Software, but nothing is 100% safe.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 224 points 1 year ago (3 children)

Luckily there are people who do know, and we verify things for our own security and for the community as part of keeping Open Source projects healthy.

[–] [email protected] 102 points 1 year ago (4 children)

Open source software is safe because somebody knows how to audit it.

[–] [email protected] 45 points 1 year ago* (last edited 1 year ago) (1 children)

And to a large extent, there is automatic software that can audit things like dependencies. This software is also largely open source because hey, nobody's perfect. But this only works when your source is available.

[–] [email protected] 6 points 1 year ago (1 children)

Except when people pull off shit like Heartbleed.

[–] [email protected] 11 points 1 year ago (1 children)

See my comment below for more of my thoughts on why I think heartbleed was an overwhelming success.

And you help make my point because openssl is a dependency which is easily discovered by software like dependabot and renovate. So when the next heartbleed happens, we can spread the fixes even more quickly.

[–] [email protected] 3 points 1 year ago

Enterprise software inventory can unfortunately be quite chaotic, and understanding the exposure to this kind of vulnerability can take weeks if not longer.

[–] [email protected] 20 points 1 year ago (1 children)

It's safe because there's always a loud nerd who will make sure everyone knows if it sucks. They will make it their life mission

[–] [email protected] 5 points 1 year ago (1 children)

Will that nerd be heard or be buried under the scrutiny?

[–] [email protected] 5 points 1 year ago

I'll listen to them because I love OSS drama. But you're right that they may just get passed over at large

[–] [email protected] 19 points 1 year ago

Also because those people who can audit it don't have a financial incentive to hide any flaws they find

[–] [email protected] 12 points 1 year ago

My very obvious rebuttal: Shellshock was introduced into bash in 1989, and found in 2014. It was incredibly trivial to exploit and if you had shell, you had root perms, which is insane.

env x='() { :;}; echo vulnerable' bash -c "echo this is a test"

[–] [email protected] 12 points 1 year ago (1 children)

Though one of the major issues is that people get comfortable with that idea and assume for every open source project there is some other good Samaritan auditing it

[–] [email protected] 11 points 1 year ago (1 children)

I would argue that even in that scenario it's still better to have the source available than have it closed.

If nobody has bothered to audit it then the number of people affected by any flaws will likely be minimal anyway. And you can be proactive and audit it yourself or hire someone to before using it in anything critical.

If nobody can audit it that's a whole different situation though. You pretty much have to assume it is compromised in that case because you have no way of knowing.

[–] [email protected] 4 points 1 year ago

Oh definitely, I fully agree. It's just a lot of people need to stop approaching open source with an immediate inherent level of trust that they wouldn't normally give to closed source. It's only really safer once you know it's been audited.

[–] [email protected] 5 points 1 year ago

Have you seen the dependency trees of projects in npm? I really doubt most packages are audited on a regular basis.