Cloudanix VulnDB

CVE-2022-47630

High · 7.4

CVSS

7.4

EPSS

0.6%

Published

Jan 16, 2023

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in the code that verifies security certificates at device startup could let attackers read internal hardware details or disrupt the boot process on certain systems.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
High
Impact
Data Exposure
Component
Firmware
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

Out-of-bounds read in the X.509 parser during extension handling by get_ext and auth_nvctr, enabling reads beyond buffer bounds that may produce dangerous side effects or leak microarchitectural state information.

Why it matters to the business

Embedded devices using this firmware for secure boot face potential information leakage or boot instability if untrusted certificates are processed; the issue has been public for over 1300 days with negligible exploit probability and no observed use in ransomware or by known threat actors.

How an attack unfolds

An attacker crafts a malicious X.509 boot certificate containing malformed extensions and supplies it to the firmware parser, triggering the out-of-bounds read in get_ext or auth_nvctr during certificate authentication.

How to fix it

Upgrade Trusted Firmware-A to the latest release that resolves the X.509 parser bounds issue; restrict boot certificate sources to verified trusted entities and validate all extension lengths before parsing.

How to confirm the fix worked

Confirm firmware version exceeds 2.8 and test the parser with deliberately malformed X.509 extension data to verify bounds checks prevent out-of-bounds reads.

Typical attack path

  1. Craft a malicious X.509 certificate with extension data that exceeds expected bounds
  2. Deliver the certificate to the target device via boot media or update channel
  3. Trigger X.509 parsing during secure boot or certificate authentication
  4. Observe memory side effects or extract leaked microarchitectural state

How to detect it

Review device boot logs for unexpected certificate parsing failures or anomalous memory access patterns; no public exploitation artifacts or threat actor campaigns have been observed.

What your security team should do

  • Apply the latest Trusted Firmware-A release across all affected platforms
  • Harden certificate validation pipelines to reject untrusted or malformed inputs
  • Monitor upstream project advisories for any subsequent parser fixes

The record

Trusted Firmware-A through 2.8 has an out-of-bounds read in the X.509 parser for parsing boot certificates. This affects downstream use of get_ext and auth_nvctr. Attackers might be able to trigger dangerous read side effects or obtain sensitive information about microarchitectural state.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 arm-trusted-firmware 0 No fix
Debian:11 arm-trusted-firmware 0 No fix
Debian:12 arm-trusted-firmware 0 No fix
Debian:13 arm-trusted-firmware 0 2.9.0+dfsg-3
Ubuntu:20.04:LTS arm-trusted-firmware 0 No fix
Ubuntu:22.04:LTS arm-trusted-firmware 0 No fix
Ubuntu:24.04:LTS arm-trusted-firmware 0 No fix
Ubuntu:24.10 arm-trusted-firmware 0 No fix
Ubuntu:25.04 arm-trusted-firmware 0 No fix
Ubuntu:25.10 arm-trusted-firmware 0 No fix
Ubuntu:Pro:20.04:LTS arm-trusted-firmware 0 No fix

Related vulnerabilities