Live data from Hacker News

RubyGems.org gem replacement security vulnerability and mitigation

blog.rubygems.org

21–24 of 24 posts

Re: RubyGems.org gem replacement security vulnerability and mitigation

#21
post #16
post #4

I just wrote a simple script to check the gems: https://gist.github.com/dcu/3c06e4ab0e98158c5742c4fd2b31523d

Thanks for this. So I ran this and found a bunch of unsafe gems. Do I report them to each gem author or to RubyGems security?

I think we should ask the gem owner to verify that everything is ok unless there's a new version. I updated the script to report if there is a new safe version available.

Re: RubyGems.org gem replacement security vulnerability and mitigation

#23

Earlier quoted context omitted.

Reliable, secure package management systems have existed for a long time [1] [2] [3]. Ruby, Node, Python, et al. just choose to ignore them, just like they choose to ignore other proven development tools [4]. [1] https://debian-handbook.info/browse/stable/sect.package-auth... [2] https://access.redhat.com/security/team/key/ [3] https://wiki.archlinux.org/index.php/DeveloperWiki:Package_s... [4] https://en.wikipedia.o…

Sigh, I know that it's easy to paint an outside group of programmers as incompetent fools who choose to ignore the Obvious Solutions(tm), but how many times must this be discussed before people realize that distribution package managers cannot replace the language-specific package systems? Language-specific package systems have requirements which distribution package managers like apt/dpkg, rpm/yum, pacman etc do not…

Thanks for your excellent reply. Do you think support for Nix, Guix etc will increase, or will reliable package systems only become more fragmented?

I do remember seeing a Linux variant announce they had achieved full trusted compilation a while back (on HN), which was pleasant to see but sadly too rare.

Re: RubyGems.org gem replacement security vulnerability and mitigation

#24
post #4

I just wrote a simple script to check the gems: https://gist.github.com/dcu/3c06e4ab0e98158c5742c4fd2b31523d

Thanks for this. I did some extra work on it (via someone else's fork) so it can run across multiple directories. I've too many projects lurking around to cd into all of them! I added some pretty colours too :)

https://gist.github.com/yb66/44b97baecbeec6900e039ffb9461d31...

Post reply on HN