# CVE-2022-24401: Keystream recovery for arbitrary frames in TETRA

> An active adversary can recover keystreams for arbitrary TETRA frames by manipulating unauthenticated frame counters, enabling decryption of encrypted traffic.

- **Severity:** High 8.8 (`CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:U/RC:C/CR:H/IR:H/AR:H/MAV:A/MAC:L/MPR:N/MUI:N/MS:U/MC:H/MI:H/MA:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 19 Oct 2023
- **Updated:** 3 Aug 2024
- **Also known as:** GHSA-c3v3-8wvp-5mg4

## What is CVE-2022-24401?

CVE-2022-24401 is a high-severity vulnerability in ETSI TETRA Standard, published on 19 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

Adversary-induced keystream re-use on TETRA air-interface encrypted traffic using any TEA keystream generator. IV generation is based upon several TDMA frame counters, which are frequently broadcast by the infrastructure in an unauthenticated manner. An active adversary can manipulate the view of these counters in a mobile station, provoking keystream re-use. By sending crafted messages to the MS and analyzing MS responses, keystream for arbitrary frames can be recovered.

Weakness: CWE-639 (Authorization Bypass Through User-Controlled Key), CWE-323 (Reusing a Nonce, Key Pair in Encryption)

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

It affects 1 product.


Products: Midnightblue Tetra\.

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

No fix has been published for CVE-2022-24401 yet. Limit exposure of the affected software until one is available.

## Is CVE-2022-24401 being exploited?

There is no known exploitation of CVE-2022-24401 in the wild and no public exploit code.

## Other vulnerabilities in ETSI TETRA Standard

- [CVE-2022-24402](https://insights.sbomify.com/CVE-2022-24402/): Intentionally weakened effective strength in TETRA TEA1 (high 8.8)
- [CVE-2022-24400](https://insights.sbomify.com/CVE-2022-24400/): DCK pinning attack in TETRA (high 7.5)
- [CVE-2022-24404](https://insights.sbomify.com/CVE-2022-24404/): Ciphertext Malleability in TETRA (medium 5.9)
- [CVE-2022-24403](https://insights.sbomify.com/CVE-2022-24403/): De-anonymization attack in TETRA (medium 4.3)

## Fix prompt for AI coding agents

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

What it is: CVE-2022-24401 is a high-severity vulnerability in ETSI TETRA Standard, published on 19 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2022-24401 in the wild and no public exploit code.

Affected product: ETSI TETRA Standard. 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-24401/ (Markdown: https://insights.sbomify.com/CVE-2022-24401/index.md)
```

## Sources

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

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