Live data from Hacker News

Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

bugs.chromium.org

321–330 of 1001 posts

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#321
post #147

People are going to lambast CF for downplaying the impact, and there could be merit in that. However, I really want to say I am absolutely impressed with both Project Zero AND Cloudflare on so many fronts, from clarity of communication, to collaboration, and rapid response. So many other organizations would have absolutely tanked when presented with this problem. Huge kudos for CF guys understanding the severity and…

CF's infosec team is very, very good at their jobs.

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#322
post #313

Earlier quoted context omitted.

Could someone enlighten me on why malloc and free don't automatically zero memory by default? Someone pointed me to MALLOC_PERTURB_ and I've just run a few test programs with it set - including a stage1 GCC compile, which granted may not be the best test - and it really doesn't dent performance by much. (edit: noticeably, at all , in fact) People who prefer extreme performance over prudent security should be the ones…

> Could someone enlighten me on why malloc and free don't automatically zero memory by default? The computational cost of doing so, I suspect.

Just like why most filesystems don't zero deleted files.

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#323
post #88
post #11

Step 1) MITM the entire Internet, undermining its SSL infrastructure, build a business around it Step 2) leak cleartext from said MITM'd connections to the entire Internet I recently noted that in some ways Cloudflare are probably the only entity to have ever managed to cause more damage to popular cryptography since the 2008 Debian OpenSSL bug (thanks to their "flexible" ""SSL"" """feature"""), but now I'm certain o…

Step 0) Obtain black funding from NSA budget to start and "VC invest" in a global CDN company... (Now I'm trawling Crunchbase to see if I can work out which investors are NSA front companies, then I'm gonna look to see what _else_ them and their partners have invested in...)

Not NSA, but the CIA funds and operates In-Q-Tel[1]. They've funded companies like Palantir and Keyhole (which became Google Earth).

[1] https://www.crunchbase.com/organization/in-q-tel

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#326

Earlier quoted context omitted.

I found: FitBit Hacker News Stack Overflow Zendesk Discord FastMail (not really see below)

We, FastMail, are not affected by this. We do not proxy TLS connections via any third party. We use CloudFlare for DNS distribution only, which is not part of this issue.

And this is why making that yearly payment for your service actually makes me happy. :)

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#327
post #322
post #313

Earlier quoted context omitted.

> Could someone enlighten me on why malloc and free don't automatically zero memory by default? The computational cost of doing so, I suspect.

Just like why most filesystems don't zero deleted files.

Neither of these are good reasons: I already talked about MALLOC_PERTURB_ (man mallopt) in my post and my naive performance tests, and we rarely get bad security holes based on data from deleted files left on filesystems.

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#328
post #156

Earlier quoted context omitted.

fuck :(

Indeed, this is the point in the comment thread where you get the feeling the internet is broken.

The Internet will remain periodically broken until we put a cost metric on the breaking (and working) times.

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#329
post #194

Earlier quoted context omitted.

Just to point out, this is apparently a cert used for communicating between Cloudflare's services which has (presumably) been replaced. Cloudflare customer's certs weren't exposed.

Correct. That's that cert.

Just to be clear: is this a cert used for authenticating with Cloudflare's systems or just for encryption? If used for authentication, you need to ensure it hasn't been stolen and used before this was found by P0.

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#330
post #192

Earlier quoted context omitted.

Google at least proxied everything over their own private fiber. Cloudflare proxies it over the public internet on a long route (since they terminate SSL as close to the client as possible).

Private fiber in other people's datacenters. Better I suppose, but not much.

Unencrypted over private fiber and unencrypted over the public internet are worlds apart.
Post reply on HN