Vulnerability Name:

CVE-2022-34835 (CCN-230230)

Assigned:2022-06-28
Published:2022-06-28
Updated:2022-07-09
Summary:In Das U-Boot through 2022.07-rc5, an integer signedness error and resultant stack-based buffer overflow in the "i2c md" command enables the corruption of the return address pointer of the do_i2c_md function.
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.5 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:O/RC:C)
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.5 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:O/RC:C)
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-787
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2022-34835

Source: XF
Type: UNKNOWN
uboot-cve202234835-bo(230230)

Source: CCN
Type: U-Boot GIT Repository
i2c: fix stack buffer overflow vulnerability in i2c md command

Source: MISC
Type: Exploit, Patch, Third Party Advisory
https://github.com/u-boot/u-boot/commit/8f8c04bf1ebbd2f72f1643e7ad9617dafa6e5409

Source: MISC
Type: Exploit, Patch, Vendor Advisory
https://lists.denx.de/pipermail/u-boot/2022-June/486113.html

Source: MISC
Type: Patch, Vendor Advisory
https://source.denx.de/u-boot/u-boot/-/commit/8f8c04bf1ebbd2f72f1643e7ad9617dafa6e5409

Source: CCN
Type: Mend Vulnerability Database
CVE-2022-34835

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

  • * 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:126940
    P
    Security update for u-boot (Important)
    2022-08-09
    oval:org.opensuse.security:def:127338
    P
    Security update for u-boot (Important)
    2022-08-09
    oval:org.opensuse.security:def:6130
    P
    Security update for u-boot (Important)
    2022-08-04
    oval:org.opensuse.security:def:119649
    P
    Security update for u-boot (Important)
    2022-08-03
    oval:org.opensuse.security:def:3664
    P
    Security update for u-boot (Important)
    2022-08-03
    oval:org.opensuse.security:def:673
    P
    Security update for u-boot (Important)
    2022-08-03
    oval:org.opensuse.security:def:118978
    P
    Security update for u-boot (Important)
    2022-08-03
    oval:org.opensuse.security:def:95294
    P
    Security update for u-boot (Important)
    2022-08-03
    oval:org.opensuse.security:def:119283
    P
    Security update for u-boot (Important)
    2022-08-03
    oval:org.opensuse.security:def:119464
    P
    Security update for u-boot (Important)
    2022-08-03
    oval:org.opensuse.security:def:666
    P
    Security update for u-boot (Important)
    2022-08-03
    oval:org.opensuse.security:def:118788
    P
    Security update for u-boot (Important)
    2022-08-03
    BACK
    denx u-boot 2022.07 rc2
    denx u-boot 2022.07 rc1
    denx u-boot 2022.07 rc3
    denx u-boot 2022.07 rc4
    denx u-boot 2022.07 rc5
    denx u-boot *