Vulnerability Name:

CVE-2022-30767 (CCN-226576)

Assigned:2019-09-04
Published:2019-09-04
Updated:2022-10-27
Summary:nfs_lookup_reply in net/nfs.c in Das U-Boot through 2022.04 (and through 2022.07-rc2) has an unbounded memcpy with a failed length check, leading to a buffer overflow.
Note: this issue exists because of an incorrect fix for CVE-2019-14196.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.6 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
9.8 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.6 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
10.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-120
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2022-30767

Source: XF
Type: UNKNOWN
dasuboot-cve202230767-bo(226576)

Source: CCN
Type: U-Boot GIT Repository
CVE-2019-14196: nfs: fix unbounded memcpy with a failed length check

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/u-boot/u-boot/commit/5d14ee4e53a81055d34ba280cb8fd90330f22a96

Source: MISC
Type: Mailing List, Third Party Advisory
https://lists.denx.de/pipermail/u-boot/2022-May/483952.html

Source: FEDORA
Type: Patch, Third Party Advisory
FEDORA-2022-61cf1c64f6

Source: MISC
Type: Exploit, Third Party Advisory
https://securitylab.github.com/research/uboot-rce-nfs-vulnerability/

Source: CONFIRM
Type: Patch, Vendor Advisory
https://source.denx.de/u-boot/u-boot/-/commit/bdbf7a05e26f3c5fd437c99e2755ffde186ddc80

Vulnerable Configuration:Configuration 1:
  • cpe:/a:denx:u-boot:*:*:*:*:*:*:*:* (Version <= 2022.04)
  • OR cpe:/a:denx:u-boot:2022.07:rc2:*:*:*:*:*:*
  • OR cpe:/a:denx:u-boot:2022.07:rc1:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:fedoraproject:fedora:36:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:7820
    P
    u-boot-rpiarm64-2021.10-150400.4.11.1 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:3614
    P
    libjbig2-2.0-12.13 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:911
    P
    Security update for u-boot (Important)
    2022-06-13
    oval:org.opensuse.security:def:522
    P
    Security update for u-boot (Important)
    2022-06-13
    oval:org.opensuse.security:def:95244
    P
    Security update for u-boot (Important)
    2022-06-13
    oval:org.opensuse.security:def:6069
    P
    Security update for u-boot (Important)
    2022-06-13
    BACK
    denx u-boot *
    denx u-boot 2022.07 rc2
    denx u-boot 2022.07 rc1
    fedoraproject fedora 36