UpdateHub Might Dereference An Uninitialized Pointer (zephyrproject-rtos zephyr)

CVE-2020-10060
HIGH 8.0

At a glance

Source
NVD
EPSS
EPSS 1.56 % · percentile 75 ()
State
PUBLISHED
Published
Updated
Assigner
zephyr
NVD status
Modified

Description

In updatehub_probe, right after JSON parsing is complete, objects\[1] is accessed from the output structure in two different places. If the JSON contained less than two elements, this access would reference unitialized stack memory. This could result in a crash, denial of service, or possibly an information leak. Provided the fix in CVE-2020-10059 is applied, the attack requires compromise of the server. See NCC-ZEP-030 This issue affects: zephyrproject-rtos zephyr version 2.1.0 and later versions. version 2.2.0 and later versions.

Weaknesses (CWE)

  • CWE-119 — Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-824 — Access of Uninitialized Pointer

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.0CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:Hzephyr
CVSS 3.1HIGH 8.0CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:HNVD · vulnerabilities@zephyrproject.org (Secondary)
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 2.0MEDIUM 5.5AV:N/AC:L/Au:S/C:P/I:N/A:PNVD · nvd@nist.gov (Primary)

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
zephyrproject-rtos · zephyraffected 2.1.0 < unspecified ; affected 2.2.0 < unspecified

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD