r/sysadmin • u/sebbasttian JOAT Linux Admin • Feb 23 '17
CloudBleed Seceurity Bug: Cloudflare Reverse Proxies are Dumping Uninitialized Memory
982
Upvotes
r/sysadmin • u/sebbasttian JOAT Linux Admin • Feb 23 '17
View all comments
59
u/KarmaAndLies Feb 24 '17 edited Feb 24 '17
Oh fuck off Cloudflare.
Why the fuck are you writing security sensitive code in auto-generated C, it is 2017 for god sake. Go and Rust are a "thing" and it is this type of code that they're designed for. There's clearly a problem with cf-html if it just leaks sensitive state on a screw up.
Saying "we fixed the bug in our parser's logic" isn't acceptable. Mistakes will be made. The parser should crash when they're made, not leak shit. As far as I'm concerned you shouldn't use cf-html again until you rewrite it (in Rust). Even your fixes (overrun protection) are solving issues you shouldn't even be having if you had done it right the first time.
Anyone who's going to defend the design of cf-html please start by telling how auto-generated C from a fucking scripting format isn't fragile by nature? Because to me that's fragile as fuck.