# CVE-2022-23005: Host Boot ROM Code Vulnerability in Systems Implementing UFS Boot Feature

> Attackers can disable boot capability or revert to old boot loader code if UFS Host Boot ROM is improperly implemented.

- **Severity:** High 8.7 (`CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 23 Jan 2023
- **Updated:** 1 Apr 2025
- **Also known as:** GHSA-r8q9-q4r9-jj89

## What is CVE-2022-23005?

CVE-2022-23005 is a high-severity vulnerability in NA, published on 23 Jan 2023. An attacker needs administrator access to exploit it, with no action from the victim.

### Official description

Western Digital has identified a weakness in the UFS standard that could result in a security vulnerability. This vulnerability may exist in some systems where the Host boot ROM code implements the UFS Boot feature to boot from UFS compliant storage devices. The UFS Boot feature, as specified in the UFS standard, is provided by UFS devices to support platforms that need to download the system boot loader from external non-volatile storage locations. Several scenarios have been identified in which adversaries may disable the boot capability, or revert to an old boot loader code, if the host boot ROM code is improperly implemented. UFS Host Boot ROM implementers may be impacted by this vulnerability. UFS devices are only impacted when connected to a vulnerable UFS Host and are not independently impacted by this vulnerability. When present, the vulnerability is in the UFS Host implementation and is not a vulnerability in Western Digital UFS Devices. Western Digital has provided details of the vulnerability to the JEDEC standards body, multiple vendors of host processors, and software solutions providers.

Weakness: CWE-662 (Improper Synchronization), CWE-1262 (Improper Access Control for Register Interface), CWE-1233 (Security-Sensitive Hardware Controls with Missing Lock Bit Protection), CWE-1224 (Improper Restriction of Write-Once Bit Fields)

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

It affects 1 product.


Products: Jedec Universal Flash Storage.

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

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

## Is CVE-2022-23005 being exploited?

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

## Fix prompt for AI coding agents

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

What it is: CVE-2022-23005 is a high-severity vulnerability in NA, published on 23 Jan 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-23005 exists.

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

## Sources

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

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