Category: Security Page 1 of 7

What Is HTTP/2 Bomb and How to Protect a Server from a DoS Attack

The server receives a large number of malicious requests, causing the site in the browser to stop responding.
An attack that drains resources from within

Sometimes a website starts behaving as if it is under a heavy DDoS attack: pages open slowly, the API responds with delays, 502 or 503 errors appear in the logs, and web server processes suddenly start consuming much more memory. But at the same time, there is no huge stream of requests, the channel is not saturated, and the load may come from a small number of connections. This is how HTTP/2 Bomb works. It is a DoS attack on HTTP/2 – the protocol through which a website or application exchanges data with the server. The attacker sends a relatively small amount of data but forces the server to spend much more memory processing it. As a result, the web server or proxy may freeze, start using disk instead of RAM, restart processes, or stop serving regular users properly.

The danger is that HTTP/2 is often enabled by default. It is used for HTTPS websites, APIs, CDNs, load balancers, reverse proxies, and ingress gateways in container infrastructure. A website owner may not configure HTTP/2 manually and still have it exposed at the entry point.

How HTTP/2 Bomb Works

HTTP/2 has a header compression mechanism called HPACK. Headers are service data in a request: cookies, host, user-agent, authorization, and other fields. Simply put, this is additional information that a browser or application sends to the server together with the request.

To avoid sending the same information many times, HTTP/2 can store it in an internal table and then use short references. In normal operation, this speeds up data exchange. But during an attack, this feature becomes a problem.

After decompression and internal processing, a small request can turn into a large number of objects in the server’s memory. If there are many such streams and they remain open for a long time, memory is not released in time.

So HTTP/2 Bomb is dangerous not only because of header size. The problem is how many internal structures the server creates and how long it keeps them. That is why the attack may be barely noticeable at the network traffic level, but very noticeable for RAM usage and service stability.

Who Is at Risk

Servers and proxies that accept HTTP/2 connections and do not have strict enough limits on the number of headers, cookie fragments, and stalled streams are at risk. The focus should be on nginx, Apache HTTPD with mod_http2, Microsoft IIS, Envoy, Cloudflare Pingora, and other HTTP/2 implementations in default or outdated configurations.

It is not enough to check only the main web server. In many projects, HTTP/2 terminates at a CDN, load balancer, reverse proxy, Kubernetes ingress gateway, or an intermediate service layer. If this exact layer is vulnerable or misconfigured, the attack will hit it, even if the application behind it works normally.

The first things to check are:

  • VPS and dedicated servers with nginx or Apache;
  • websites and APIs with HTTP/2 enabled;
  • Kubernetes ingress gateways, Envoy Gateway, service mesh;
  • servers without memory usage limits;
  • infrastructure where one proxy serves many websites;
  • control panels, CRMs, personal accounts, and internal services.

The main question is simple: which component accepts HTTP/2 requests from the internet, and has it been updated to a safe version.

How to Understand That the Problem May Be in HTTP/2

HTTP/2 Bomb does not always look like a classic attack. There may be no thousands of IP addresses, no large traffic volume, and no obvious spike in requests. More often, it looks like a sudden memory leak.

Typical signs:

  • memory consumption grows quickly in nginx, Apache, Envoy, or IIS;
  • the server starts using disk as a reserve for RAM;
  • the number of long HTTP/2 connections increases;
  • 502, 503, or 504 errors appear;
  • web server worker processes restart or terminate because of lack of memory;
  • in container infrastructure, individual services restart frequently;
  • website responses slow down, although the traffic does not look abnormal.

For an initial check, there is no need to run exploits. It is enough to look at the actual package versions, check whether HTTP/2 is enabled on the HTTPS entry point, and review the limits for headers, connection timeouts, and memory usage.

How to Fix HTTP/2 Bomb

The main way to protect against it is to update the component that accepts HTTP/2. For nginx, you need to check whether it can be updated to version 1.29.8 or newer, where the max_headers limit was introduced. It limits the number of headers the server is willing to process in a single request.

For Apache, it is important to look not only at the general httpd version, but also at the mod_http2 module. This is the module responsible for HTTP/2 processing. So updating only part of the system may not solve the problem.

For Envoy, you need to check the release branch and the parameters related to the number and size of headers, in particular max_headers_count and request header limits. This is especially important for Kubernetes and service mesh, where Envoy often stands in front of applications without the website owner noticing it.

If updating quickly is not possible, a temporary option is to disable HTTP/2 on the vulnerable entry point. For a regular website, this may be an acceptable compromise. But if gRPC, mobile applications, or services that depend on HTTP/2 are used, this decision should be tested carefully.

What to Configure for Prevention

An update closes a specific vulnerability, but the server still needs to be protected with limits. HTTP/2 should not be left without control, because a small request at the network level can be expensive at the memory level.

For prevention, it is worth configuring:

  • a limit on the number of headers in a request;
  • limits on the total header size;
  • correct accounting of cookie fragments;
  • timeouts for inactive or stalled HTTP/2 streams;
  • memory limits for processes, containers, and individual services;
  • monitoring of memory, 5xx errors, and service restarts.

It is also worth checking the chain CDN → proxy → web server → application separately. Protection should be applied at the level where HTTP/2 actually terminates. If the CDN accepts HTTP/2 but then passes HTTP/2 further to the main server, the weak point may remain inside your infrastructure.

What a Website Owner Should Do Now

First, you need to determine whether HTTP/2 is enabled and which exact component processes it. This may be nginx, Apache, Envoy, IIS, CDN, load balancer, or ingress gateway. Then check the version of this component and whether security updates are available.

Next, it is worth explicitly configuring limits for headers, connection timeouts, and memory usage. For most websites, there is no normal reason to accept thousands of headers in a single request or keep streams open indefinitely.

HTTP/2 Bomb is not an attack that can be stopped only with a wider channel or a classic network filter. It hits the request processing logic inside the server. So real protection consists of three things: an updated web server or proxy, strict HTTP/2 limits, and resource control. This reduces the risk that a few non-standard connections will be able to take down a website or the entire server.

How the validity period of SSL certificates is changing and what it means for website owners

Changing the SSL certificate expiration date from 398 days to 47 days is shown through calendars with an arrow between them.
Certificate validity is getting shorter

Until recently, an SSL certificate was perceived as a routine service: you paid once a year, configured it, and remembered it the next season. However, the security industry is steadily moving toward a point where the notion of a “year-long” certificate will disappear. Website owners will have to get used to a much more dynamic rhythm.

Why an SSL Certificate May Not Work on Subdomains

Main domain with active HTTPS and subdomains with errors without a secure connection.
SSL doesn’t always automatically extend to subdomains

The situation is familiar to many website administrators. The main domain opens normally: the lock icon is visible in the browser, HTTPS works, there are no warnings. But as soon as you switch to a subdomain – for example blog.example.com or mail.example.com – the browser suddenly shows a message about an unsafe connection. For the user this looks like a website error. In reality, in most cases the server itself works normally. The issue is usually hidden in the way the certificate was issued or connected.

Why Backups Are Critical for Crypto Wallets

Crypto-gammon with Bitcoin, which synchronizes with the server and the dark storage system to save and backup data.
Backup is a single way to update access to digital assets

Cryptocurrency is often perceived as something ephemeral that lives “on the internet.” Because of this, a dangerous illusion appears: as if access to coins could be restored through email or technical support, like a regular password. In practice, the logic of how wallets work is fundamentally different. There is no administrator here who can reset settings or confirm your identity using a passport. A backup is not simply a “plan B,” but the only and final way not to lose money forever.

How Different Browsers Verify SSL Certificates in Different Ways

Three characters in the form of Chrome, Firefox, and Safari browsers are checking an SSL certificate: one examines it through a magnifying glass, the second evaluates it favorably, and the third inspects the document in detail with a flashlight.
Different browser approaches to assessing the security of an encrypted connection

When a user opens a website and sees a padlock icon in the browser, it is perceived as a simple and clear signal of security. However, behind this symbol lies a complex SSL certificate verification mechanism that is triggered every time a secure connection is established. It is important to understand that different browsers may implement this verification differently. While the basic security principles are shared, specific trust policies and responses to errors vary, and this often explains why the same website behaves differently in different browsers.

Why SPF, DKIM, and DMARC Are More Important Than Complex Passwords

An electronic envelope with an @ symbol in the center, next to it is an access key, a shield with a checkmark, and a document with settings, symbolizing email protection and verification.
Trust in email is not built by passwords, but by technical verification and authentication mechanisms.

When it comes to email security, most users primarily think about complex passwords. Longer ones, with numbers, symbols, and regular changes. This makes sense, because a password protects access to a mailbox. However, in reality, the password is rarely the main cause of email-related problems. Even a perfect password will not prevent attackers from sending emails on behalf of your domain, spoofing the sender, or reducing trust in your entire email infrastructure. This is where SPF, DKIM, and DMARC come to the forefront — technologies without which modern email simply cannot be considered secure.

Why automatic backups are dangerous without control

A man is sleeping at his laptop next to a server with a cloud backup shown above it with a warning sign.
Automatic backups without verification can create a false sense of security

Automatic backups have long become a standard practice for websites, servers, and online services. They create a sense of security: the system copies data on a schedule, the user does not spend time, and there is confidence that in case of problems everything can be quickly restored. The term “backup” itself means a reserve copy of data — a copy of files, databases, or settings that is stored separately from the main system. However, automation often creates the illusion of complete protection, while in practice, without control, such backups can become a source of serious risks.

A New Level of Account Security in Telegram

A smartphone with the Telegram logo, next to icons of a lock, key, fingerprint, and hardware access key, symbolizing account protection.
Telegram implements modern account protection mechanisms

Over the past few years, Telegram has evolved from a simple messenger into a full-fledged platform for communication, work, business, and information sharing. It stores personal conversations, work chats, financial agreements, access to services, and even elements of users’ digital identity. That is why account security has become critically important. The latest Telegram update, which allows users to log in without passwords and SMS codes, is a logical step toward modern digital security.

Why It’s Important to Protect Not Only the Website but Also DNS Records

Illustration with symbols of locks, browser and DNS document, conveying the theme of DNS record and website security.
Protecting DNS records is just as important as securing the site itself.

Website security is traditionally associated with protection from hacks, viruses, or DDoS attacks, but in reality, there is another critically important element that even experienced website owners often overlook. This refers to DNS records — the fundamental mechanism that ensures users land on your legitimate website rather than a malicious copy created by attackers. DNS, or the Domain Name System, is the system that translates human-friendly domain names into technical IP addresses. Essentially, it is the “phone book” of the internet. If DNS works incorrectly or is modified by an unauthorized party, your website may become inaccessible, visitors may be redirected to phishing pages, and domain mail services can become completely blocked. This is why DNS protection is just as important as safeguarding servers or web applications.

What Should Be Rethought After the Cloudflare Outage

Server, smartphone, and computer show errors during cloud infrastructure failure.
Vulnerability of infrastructure on which millions of websites depend

When a small website goes down, it’s a problem only for its owner. But when Cloudflare, one of the largest infrastructure service providers on the internet, goes down, the problem becomes global. The latest outage once again demonstrated that the modern internet depends on Cloudflare far more than it may seem at first glance. Tens of thousands of websites stop loading, some applications behave unpredictably, and even major international platforms fall into digital “darkness.” This is not just a technical incident — it is a reason to reevaluate your architecture and understand how the internet works today.

Page 1 of 7