Security incident on Hex.pm

22 points by munksgaard 3 hours ago on lobsters | 4 comments

srcrip | 3 hours ago

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.

aggsol | an hour ago

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

olegkovalov | 3 hours ago

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.

pushcx | an hour ago

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.