LiveActive security incident?Get immediate response
CVE Record

CVE-2021-39988: The HwNearbyMain module has a NULL Pointer Dereference vulnerability.Successful exploitation of this vulner...

The HwNearbyMain module has a NULL Pointer Dereference vulnerability.Successful exploitation of this vulnerability may cause a process to restart.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A flaw in Huawei HarmonyOS 2.0's HwNearbyMain module can make a process restart when triggered, causing potential service disruption rather than data theft. The public sources describe availability impact only, with no evidence of active exploitation.

Executive priority

Prioritize remediation for fleets with Huawei HarmonyOS 2.0 devices because the issue can disrupt availability without authentication. Urgency is lower than a confirmed exploited vulnerability, but the network vector and high CVSS availability score warrant timely action.

Technical view

CWE-476 NULL pointer dereference in HwNearbyMain. The CVSS vector indicates unauthenticated network reachability with no user interaction and high availability impact. CVSS lists no confidentiality or integrity impact. Sources do not detail the code path, affected builds beyond HarmonyOS 2.0, or fixed versions.

Likely exposure

Exposure appears limited to Huawei HarmonyOS 2.0 systems containing HwNearbyMain. The CVSS vector is network, unauthenticated, and no user interaction, but sources do not define the reachable interface or deployment conditions.

Exploitation context

The source bundle marks KEV false, and no cited source states active exploitation or public exploit availability. Treat exploitability as plausible from CVSS, not as confirmed in the wild.

Researcher notes

Public detail is sparse. The record identifies HwNearbyMain, CWE-476, HarmonyOS 2.0, and process restart impact, but does not provide root-cause detail, trigger surface, fixed build numbers, or exploit observations. Avoid assuming broader Huawei products are affected.

Mitigation direction

  • Check Huawei's November 2021 HarmonyOS security bulletin and device update channel for vendor guidance.
  • Prioritize updates for HarmonyOS 2.0 devices exposed to untrusted networks.
  • Reduce unnecessary network exposure for nearby or device-discovery functions where operationally feasible.
  • Monitor Huawei advisories for clarified fixed builds or compensating controls.

Validation and detection

  • Inventory Huawei HarmonyOS 2.0 devices in managed environments.
  • Confirm each device's patch level against Huawei's November 2021 security bulletin.
  • Review logs or telemetry for repeated HwNearbyMain or related process restarts.
  • Document whether affected devices are reachable from untrusted networks.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-476: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-39988 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H3.93.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2021-39988Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
HuaweiHarmonyOS2.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-476 · source CWE mapping

NULL Pointer Dereference

NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.