Security incident on Hex.pm

18 points by munksgaard


srcrip

Been reading over this, its really fascinating. I did not realize that Hexpm (or I guess this is built in to part of Plug?) has this ability to accept Erlang terms over the network with the mime type of application/vnd.hex+erlang. I have to say, in my personal opinion, I think passing erlang terms around over the network is not a safe choice. JSON is the normal choice here... whatever it is you need to pass around, surely converting it to and from JSON is fine.

olegkovalov

Holly-molly. What a bug! I mean, yeah, it’s a standart-ish way to get RCE but the way how it’s triggered is something.

I want to believe at some moment all languages will stick to 2-3 formats and will not reinvent the wheel.

aggsol

Those response times are impressive. This looks like text book example how to handle these situations.

pushcx

The overall shape of this is quite similar to CVE-2013-0156, blast from the past. And to compare responses between the languages, the matter-of-fact log of the obviously responsible reporting to authorities is a refreshing improvement.