CVE intelligence and bounded remediation

CVE-2021-37122 — There is a use-after-free (UAF) vulnerability in Huawei products

Medium CVSS 6.5

There is a use-after-free (UAF) vulnerability in Huawei products. An attacker may craft specific packets to exploit this vulnerability. Successful exploitation may cause the service abnormal. Affected product versions include:CloudEngine 12800 V200R005C10SPC800,V200R019C00SPC800;CloudEngine 5800 V200R005C10SPC800,V200R019C00SPC800;CloudEngine 6800 V200R005C10SPC800,V200R005C20SPC800,V200R019C00SPC800;CloudEngine 7800 V200R005C10SPC800,V200R019C00SPC800.

Severity
Medium
CVSS
6.5 (3.1)
Published
2021-10-27
CISA KEV
Not currently listed
Ecosystem
operating-system
Weaknesses
CWE-416

Affected products

  • huawei / cloudengine_12800_firmware / v200r005c10spc800
  • huawei / cloudengine_12800_firmware / v200r019c00spc800
  • huawei / cloudengine_5800_firmware / v200r005c10spc800
  • huawei / cloudengine_5800_firmware / v200r019c00spc800
  • huawei / cloudengine_6800_firmware / v200r005c10spc800
  • huawei / cloudengine_6800_firmware / v200r005c20spc800

Showing 6 representative product identities from 9 source matches. Confirm exact affected versions with the linked vendor and NVD evidence.

Matched remediation archetype

Use-after-free, double free, and expired resource use

This catalog composition supplies bounded fallback guidance. Explicitly reviewed curated workflows load with the complete record below.

Check exposure

  • Trace ownership, references, callbacks, asynchronous tasks, and teardown paths around the affected object or resource.
  • Identify reachable inputs and timing or state transitions that can release the object while references remain.
  • Confirm affected builds, allocators, feature flags, architectures, and process privileges.

Remediate safely

  • Apply the maintained ownership or lifetime fix and rebuild all artifacts containing the affected native code.
  • Use explicit ownership, safe reference management, cancellation and join semantics, and idempotent teardown.
  • Add deterministic lifetime tests plus isolated sanitizer and concurrency coverage for shutdown and error paths.

Authoritative sources

Complete CVE record and remediation plan

The detailed catalog view below loads this exact record, its source evidence, and the full seven-phase agentic change plan.