News for hackers. Stuff that matters.
Re:A backdoor in the Ruby gem bootstrap-sass by freedomben on Friday April 12, 2019 @11:03PM (#19650844)
I agree that it is likely low impact:

> In the grand scheme of things, this backdoor likely has a fairly low impact. As noted, the backdoor was found and fixed quickly but, for a little while, it did have the potential to wreak havoc on affected sites. It is a popular gem, but the version that was backdoored was not from the current 3.4.x branch; 3.2.0.2, which was the last good version before the compromise, was released in September 2014.

Always a good reminder tho to use a defense-in-depth strategy. Containerize your applications and keep the image as lean as possibly so the attacker's capabilities are minimized.

Re:A backdoor in the Ruby gem bootstrap-sass by throw2016 on Saturday April 13, 2019 @09:33AM (#19652914)
This is a bit like saying we left the safe open and nothing was stolen so its not that big of a security problem. The specifics of the exploit is besides the point as it could be anything.

This is an indictment of the designers of wild lands systems like ruby Gems and npm and a culture of pulling in hundreds of dependencies that simply cannot be verified by end users.

It's one thing if this was just for developers who made a conscious decision to use a gem or npm package, but the whole system is carried on to end users who are expected to have a build environment and pull in hundreds of unknown gems and packages which in turn pull in their own dependencies simply to deploy.

This is bad engineering and design, it not only dramatically increases the complexity of deployment and wastes millions of man hours in debugging, versioning and build issues but leaves end users exposed to security issues.

Re:A backdoor in the Ruby gem bootstrap-sass by freedomben on Saturday April 13, 2019 @01:29PM (#19654430)
I agree with you, but I do think the ease with which dependencies are managed in eco-systems like Ruby and JS is quite valuable. As most security-related things it's a cost/benefit analysis, and the benefit of the current systems are very high.

I do wish we'd move toward more of a system of forced MFA, GPG signed binaries, and a lot more conservatism on the part of developers before pulling in other gems. I don't think it's realistic to abandon it.

Re:A backdoor in the Ruby gem bootstrap-sass by ownagefool on Saturday April 13, 2019 @07:09AM (#19652274)
Yeah. Zero trust for all systems, including your own. You need TLS and Auth, preferably the users Auth if the app requires that.

But also, assume it will happen so use some auditing and alerting capabilities to detect.

Review the code you're trusting, or at least look at who's shipping it so you know what your trusting ( random individual / reliable group ).

Scan as many dependicies you have, so you're aware of these rather than just luckily reading it on hacker news.

All this is really just the MVP.