CVE-2021-22323

9.8 CRITICAL

📋 TL;DR

This integer overflow vulnerability in Huawei smartphones allows attackers to escalate privileges to root access. It affects multiple Huawei smartphone models running specific EMUI versions. Attackers need local access to exploit this vulnerability.

💻 Affected Systems

Products:
  • Huawei P30
  • Huawei P30 Pro
  • Huawei Mate 30
  • Huawei Mate 30 Pro
  • Huawei Nova 5
  • Huawei Nova 5 Pro
  • Huawei Nova 5i
  • Huawei Nova 5i Pro
  • Huawei Nova 6
  • Huawei Nova 6 5G
  • Huawei Nova 7
  • Huawei Nova 7 Pro
  • Huawei Nova 7 SE
  • Huawei Nova 7i
  • Huawei Nova 8
  • Huawei Nova 8 Pro
  • Huawei Nova 8 SE
  • Huawei Nova 8i
Versions: EMUI 11.0.0, EMUI 11.0.1
Operating Systems: Android with EMUI skin
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects devices with specific EMUI versions. Requires attacker to have local access to device.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete device compromise with root-level access, allowing installation of persistent malware, data theft, and bypassing all security controls.

🟠

Likely Case

Local privilege escalation enabling unauthorized access to sensitive data and system functions.

🟢

If Mitigated

Limited impact if devices are patched and have proper access controls preventing local attacker access.

🌐 Internet-Facing: LOW - Requires local access to device, not remotely exploitable over network.
🏢 Internal Only: HIGH - Malicious insiders or compromised devices within organization can exploit this for privilege escalation.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Requires local access to device. No public exploit code available as of knowledge cutoff.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: EMUI 11.0.1.172 (C432E3R4P3) and later versions

Vendor Advisory: https://consumer.huawei.com/en/support/bulletin/2021/5/

Restart Required: Yes

Instructions:

1. Go to Settings > System & updates > Software update. 2. Check for updates. 3. Download and install available security update. 4. Restart device when prompted.

🔧 Temporary Workarounds

Restrict physical access

all

Prevent unauthorized physical access to devices to reduce exploitation risk

Disable developer options

all

Ensure developer options and USB debugging are disabled to limit attack surface

🧯 If You Can't Patch

  • Isolate affected devices from sensitive networks and data
  • Implement strict access controls and monitoring for device usage

🔍 How to Verify

Check if Vulnerable:

Check Settings > About phone > EMUI version. If version is EMUI 11.0.0 or EMUI 11.0.1 (before 11.0.1.172), device is vulnerable.

Check Version:

Settings > About phone > EMUI version (no command line access required)

Verify Fix Applied:

Verify EMUI version is 11.0.1.172 or later in Settings > About phone > EMUI version.

📡 Detection & Monitoring

Log Indicators:

  • Unexpected privilege escalation events
  • Root access attempts in system logs
  • Unusual process execution with elevated privileges

Network Indicators:

  • Unusual network traffic from device after local access
  • Connections to suspicious domains/IPs following local compromise

SIEM Query:

Device logs showing privilege escalation from user to root on Huawei devices running EMUI 11.0.0-11.0.1

🔗 References

📤 Share & Export