ID

VAR-202111-1781


CVE

CVE-2021-39985


TITLE

HarmonyOS  Vulnerability in array index validation in

Trust: 0.8

sources: JVNDB: JVNDB-2021-017728

DESCRIPTION

The HwNearbyMain module has a Improper Validation of Array Index vulnerability.Successful exploitation of this vulnerability may cause a process to restart. Huawei HarmonyOS is an operating system of the Chinese company Huawei. Provide a microkernel-based full-scenario distributed operating system. Huawei HarmonyOS has security vulnerabilities

Trust: 1.8

sources: NVD: CVE-2021-39985 // JVNDB: JVNDB-2021-017728 // VULHUB: VHN-401386 // VULMON: CVE-2021-39985

AFFECTED PRODUCTS

vendor:huaweimodel:harmonyosscope:ltversion:2.0

Trust: 1.0

vendor:huaweimodel:harmonyosscope: - version: -

Trust: 0.8

vendor:huaweimodel:harmonyosscope:eqversion: -

Trust: 0.8

sources: JVNDB: JVNDB-2021-017728 // NVD: CVE-2021-39985

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2021-39985
value: HIGH

Trust: 1.0

NVD: CVE-2021-39985
value: HIGH

Trust: 0.8

CNNVD: CNNVD-202111-2125
value: HIGH

Trust: 0.6

VULHUB: VHN-401386
value: MEDIUM

Trust: 0.1

nvd@nist.gov: CVE-2021-39985
severity: MEDIUM
baseScore: 5.0
vectorString: AV:N/AC:L/AU:N/C:N/I:N/A:P
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: PARTIAL
exploitabilityScore: 10.0
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

VULHUB: VHN-401386
severity: MEDIUM
baseScore: 5.0
vectorString: AV:N/AC:L/AU:N/C:N/I:N/A:P
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: PARTIAL
exploitabilityScore: 10.0
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

nvd@nist.gov: CVE-2021-39985
baseSeverity: HIGH
baseScore: 7.5
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: HIGH
exploitabilityScore: 3.9
impactScore: 3.6
version: 3.1

Trust: 1.0

NVD: CVE-2021-39985
baseSeverity: HIGH
baseScore: 7.5
vectorString: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: HIGH
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

sources: VULHUB: VHN-401386 // JVNDB: JVNDB-2021-017728 // CNNVD: CNNVD-202111-2125 // NVD: CVE-2021-39985

PROBLEMTYPE DATA

problemtype:CWE-129

Trust: 1.1

problemtype:Improper validation of array indexes (CWE-129) [NVD evaluation ]

Trust: 0.8

sources: VULHUB: VHN-401386 // JVNDB: JVNDB-2021-017728 // NVD: CVE-2021-39985

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-202111-2125

TYPE

input validation error

Trust: 0.6

sources: CNNVD: CNNVD-202111-2125

PATCH

title:security-bulletins-202111-0000001217889667url:https://device.harmonyos.com/en/docs/security/update/security-bulletins-202111-0000001217889667

Trust: 0.8

title:Huawei HarmonyOS Security vulnerabilitiesurl:http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=176786

Trust: 0.6

sources: JVNDB: JVNDB-2021-017728 // CNNVD: CNNVD-202111-2125

EXTERNAL IDS

db:NVDid:CVE-2021-39985

Trust: 3.4

db:JVNDBid:JVNDB-2021-017728

Trust: 0.8

db:CNNVDid:CNNVD-202111-2125

Trust: 0.6

db:CNVDid:CNVD-2022-08313

Trust: 0.1

db:VULHUBid:VHN-401386

Trust: 0.1

db:VULMONid:CVE-2021-39985

Trust: 0.1

sources: VULHUB: VHN-401386 // VULMON: CVE-2021-39985 // JVNDB: JVNDB-2021-017728 // CNNVD: CNNVD-202111-2125 // NVD: CVE-2021-39985

REFERENCES

url:https://device.harmonyos.com/en/docs/security/update/security-bulletins-202111-0000001217889667

Trust: 1.8

url:https://nvd.nist.gov/vuln/detail/cve-2021-39985

Trust: 0.8

url:https://device.harmonyos.com/cn/docs/security/update/security-bulletins-202111-0000001217889667

Trust: 0.6

url:https://nvd.nist.gov

Trust: 0.1

sources: VULHUB: VHN-401386 // VULMON: CVE-2021-39985 // JVNDB: JVNDB-2021-017728 // CNNVD: CNNVD-202111-2125 // NVD: CVE-2021-39985

SOURCES

db:VULHUBid:VHN-401386
db:VULMONid:CVE-2021-39985
db:JVNDBid:JVNDB-2021-017728
db:CNNVDid:CNNVD-202111-2125
db:NVDid:CVE-2021-39985

LAST UPDATE DATE

2024-08-14T14:50:03.743000+00:00


SOURCES UPDATE DATE

db:VULHUBid:VHN-401386date:2022-01-14T00:00:00
db:VULMONid:CVE-2021-39985date:2022-01-04T00:00:00
db:JVNDBid:JVNDB-2021-017728date:2023-02-02T02:33:00
db:CNNVDid:CNNVD-202111-2125date:2022-01-17T00:00:00
db:NVDid:CVE-2021-39985date:2022-01-14T15:32:12.377

SOURCES RELEASE DATE

db:VULHUBid:VHN-401386date:2022-01-03T00:00:00
db:VULMONid:CVE-2021-39985date:2022-01-03T00:00:00
db:JVNDBid:JVNDB-2021-017728date:2023-02-02T00:00:00
db:CNNVDid:CNNVD-202111-2125date:2021-11-05T00:00:00
db:NVDid:CVE-2021-39985date:2022-01-03T22:15:10.843