# CVE-2022-20817: Cisco IP Phone Duplicate Key Vulnerability

> An attacker can impersonate a user's phone via machine-in-the-middle attacks due to duplicate cryptographic keys generated during manufacturing.

- **Severity:** High 7.4 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 15 Jun 2022
- **Updated:** 1 Nov 2024
- **Also known as:** GHSA-83p3-3frh-4fjj

## What is CVE-2022-20817?

CVE-2022-20817 is a high-severity vulnerability in Cisco IP Phones with Multiplatform Firmware, published on 15 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

A vulnerability in Cisco Unified IP Phones could allow an unauthenticated, remote attacker to impersonate another user's phone if the Cisco Unified Communications Manager (CUCM) is in secure mode. This vulnerability is due to improper key generation during the manufacturing process that could result in duplicated manufactured keys installed on multiple devices. An attacker could exploit this vulnerability by performing a machine-in-the-middle attack on the secure communication between the phone and the CUCM. A successful exploit could allow the attacker to impersonate another user's phone. This vulnerability cannot be addressed with software updates. There is a workaround that addresses this vulnerability.

Weakness: CWE-338 (Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG))

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

It affects 11 products.


Products: Cisco Ata 187 Analog Telephone Adapter Firmware, Cisco Unified Ip Phone 6911 Firmware, Cisco Unified Ip Phone 6921 Firmware, Cisco Unified Ip Phone 6941 Firmware, Cisco Unified Ip Phone 6945 Firmware, Cisco Unified Ip Phone 6961 Firmware, Cisco Unified Ip Phone 8941 Firmware, Cisco Unified Ip Phone 8945 Firmware, Cisco Unified Ip Phone 8961 Firmware, Cisco Unified Ip Phone 9951 Firmware, Cisco Unified Ip Phone 9971 Firmware.

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

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

## Is CVE-2022-20817 being exploited?

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

## Fix prompt for AI coding agents

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

What it is: CVE-2022-20817 is a high-severity vulnerability in Cisco IP Phones with Multiplatform Firmware, published on 15 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2022-20817 in the wild and no public exploit code.

Affected product: Cisco IP Phones with Multiplatform Firmware. 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-20817/ (Markdown: https://insights.sbomify.com/CVE-2022-20817/index.md)
```

## Sources

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

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