# CVE-2022-31394: Denial of service in n/a

> Attackers can cause denial of service via HTTP2 attacks because the library lacks customization for max_header_list_size.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 21 Feb 2023
- **Updated:** 17 Mar 2025
- **Also known as:** AZL-13685, AZL-35218, AZL-61516, DEBIAN-CVE-2022-31394, GHSA-x477-xp89-wc9r, JLSEC-2026-20, SUSE-SU-2024:0090-1, openSUSE-SU-2024:12727-1, openSUSE-SU-2024:12728-1, openSUSE-SU-2024:12757-1, openSUSE-SU-2024:12764-1, openSUSE-SU-2024:12807-1

## What is CVE-2022-31394?

CVE-2022-31394 is a high-severity denial of service vulnerability in n/a, published on 21 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Hyperium Hyper before 0.14.19 does not allow for customization of the max_header_list_size method in the H2 third-party software, allowing attackers to perform HTTP2 attacks.

Weakness: CWE-770 (Allocation of Resources Without Limits or Throttling)

## Which versions are affected by CVE-2022-31394?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `gstreamer-plugins-rs` | SUSE:Linux Enterprise Module for Desktop Applications 15 SP5 | All versions | 0.8.2-150400.3.3.1 |
| `gstreamer-plugins-rs` | SUSE:Linux Enterprise Real Time 15 SP4 | All versions | 0.8.2-150400.3.3.1 |
| `pijul` | openSUSE:Tumbleweed | All versions | 1.0.0~beta.4-1.1 |
| `rustup` | openSUSE:Tumbleweed | All versions | 1.25.2~0-2.1 |
| `sccache` | openSUSE:Tumbleweed | All versions | 0.4.0pre.7~0-2.1 |
| `wasm-pack` | openSUSE:Tumbleweed | All versions | 0.11.0~0-1.1 |

Products: Hyper Hyper.

## How do I fix CVE-2022-31394?

Upgrade to a fixed version.

## Is CVE-2022-31394 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31394 exists.

## Other vulnerabilities in n/a

- [CVE-2020-35863](https://insights.sbomify.com/CVE-2020-35863/): HTTP Request Smuggling in hyper (critical 9.8)
- [CVE-2021-32714](https://insights.sbomify.com/CVE-2021-32714/): Integer Overflow in Chunked Transfer-Encoding (medium 5.9)
- [CVE-2017-18587](https://insights.sbomify.com/CVE-2017-18587/): Headers containing newline characters can split messages in hyper (medium 5.3)
- [CVE-2021-21299](https://insights.sbomify.com/CVE-2021-21299/): Multiple Transfer-Encoding headers misinterprets request payload (medium 4.8)
- [CVE-2016-10932](https://insights.sbomify.com/CVE-2016-10932/): HTTPS MitM vulnerability due to lack of hostname verification (medium 4.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2022-31394 and fix it if it is affected.

What it is: CVE-2022-31394 is a high-severity denial of service vulnerability in n/a, published on 21 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31394 exists.

Affected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2022-31394/ (Markdown: https://insights.sbomify.com/CVE-2022-31394/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2022-31394
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2022-31394
- OSV: https://osv.dev/vulnerability/CVE-2022-31394

---
From sbomify Insights: https://insights.sbomify.com/CVE-2022-31394/
Summaries are generated and may contain mistakes; the official description above is the record.
