Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Yaml.rb patch to block the rails exploit and most similar classes of exploits
(opens in new tab)
(gist.github.com)
17 points
nelhage
13y ago
2 comments
Save
Share
2 comments
2 comments · 1 top-level
top
newest
oldest
cdcarter
13y ago
· 1 in thread
Correct me if I am wrong, but this solves the YAML half of the exploit but not the XML part, right? This is not a complete patch against the exploits?
dandandan
13y ago
Not all of them but this prevents most of the YAML strings from being serialized into Ruby objects by way of a 'safe' whitelist.
j
/
k
navigate · click thread line to collapse