Security

HTTP/2 Rapid Reset: a record DDoS attack and how to protect a site

On 10 October Google, Cloudflare and Amazon disclosed one of the biggest DDoS attacks in history. What was it, and what protection is enough for a small site?

HTTP/2 Rapid Reset: a record DDoS attack and how to protect a site

On 10 October 2023 Google, Cloudflare and Amazon (AWS) jointly disclosed the exploitation of a flaw called HTTP/2 Rapid Reset (CVE-2023-44487). Since August, attacks using this method have been the largest in history: Google recorded about 398 million requests per second and Cloudflare 201 million.

How does the attack work?

The HTTP/2 protocol lets many requests be sent at once in one connection, and a request can be cancelled. The attacker sends a request and cancels it right away, repeating this thousands of times a second. The server wastes time preparing every request while the attacker spends almost nothing. As a result a small network wears down a large server.

Does it concern a small site?

The direct target is usually large companies. But the same flaw existed in ordinary web servers (nginx, Apache, IIS and others), and all sites were at risk until patched.

What should a site owner do?

  1. Ask your hosting provider: has the server software been updated? On shared hosting the provider does this.
  2. Put a protective layer in front. A CDN/WAF service such as Cloudflare sits in front of traffic and absorbs such attacks before they reach the site. Even the free plan gives basic protection.
  3. If you run your own server (VPS): update the web server or temporarily restrict HTTP/2.
  4. Monitoring. Connect a service that watches whether the site is up, so you hear about trouble first.

Hosting with Cloudflare protection and SSL: hosting plans.

Found it useful? Share it:

Get new articles by email

One or two emails a month: practical tips on websites, hosting and security. Unsubscribe any time with one click.