Vulnerability Name:

CVE-2020-13765 (CCN-182888)

Assigned:2019-09-25
Published:2019-09-25
Updated:2022-10-07
Summary:rom_copy() in hw/core/loader.c in QEMU 4.0 and 4.1.0 does not validate the relationship between two addresses, which allows attackers to trigger an invalid memory copy operation.
CVSS v3 Severity:5.6 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L)
4.9 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
5.6 Medium (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L)
4.9 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
4.3 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-787
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2020-13765

Source: XF
Type: UNKNOWN
qemu-cve202013765-code-exec(182888)

Source: MISC
Type: Patch, Vendor Advisory
https://git.qemu.org/?p=qemu.git;a=commit;h=e423455c4f23a1a828901c78fe6d03b7dde79319

Source: CCN
Type: Qemu GIT Repository
hw/core/loader: Fix possible crash in rom_copy()

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/qemu/qemu/commit/4f1c6cb2f9afafda05eab150fd2bd284edce6676

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20200629 [SECURITY] [DLA 2262-1] qemu security update

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20200726 [SECURITY] [DLA 2288-1] qemu security update

Source: CCN
Type: oss-sec Mailing List, Thu, 4 Jun 2020 00:51:24 +0530 (IST)
CVE-2020-13765 QEMU: loader: OOB access while loading registered ROM may lead to code execution

Source: CONFIRM
Type: Third Party Advisory
https://security.netapp.com/advisory/ntap-20200619-0006/

Source: UBUNTU
Type: Third Party Advisory
USN-4467-1

Source: CONFIRM
Type: Mailing List, Third Party Advisory
https://www.openwall.com/lists/oss-security/2020/06/03/6

Vulnerable Configuration:Configuration 1:
  • cpe:/a:qemu:qemu:4.0.0:-:*:*:*:*:*:*
  • OR cpe:/a:qemu:qemu:4.1.0:-:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*

  • Configuration 3:
  • cpe:/o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*

  • Configuration RedHat 1:
  • cpe:/o:redhat:enterprise_linux:7:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/o:redhat:enterprise_linux:7::client:*:*:*:*:*

  • Configuration RedHat 3:
  • cpe:/o:redhat:enterprise_linux:7::computenode:*:*:*:*:*

  • Configuration RedHat 4:
  • cpe:/o:redhat:enterprise_linux:7::server:*:*:*:*:*

  • Configuration RedHat 5:
  • cpe:/o:redhat:enterprise_linux:7::workstation:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:qemu:qemu:-:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:99440
    P
    (Moderate)
    2021-12-06
    oval:org.opensuse.security:def:99639
    P
    (Important)
    2021-06-01
    oval:org.opensuse.security:def:40422
    P
    Security update for kvm (Important)
    2021-04-23
    oval:org.opensuse.security:def:44852
    P
    Security update for kvm (Important)
    2021-04-23
    oval:org.opensuse.security:def:38198
    P
    Security update for kvm (Important)
    2021-04-23
    oval:org.opensuse.security:def:82557
    P
    Security update for qemu (Important)
    2021-04-22
    oval:org.opensuse.security:def:56007
    P
    Security update for qemu (Important)
    2021-04-22
    oval:org.opensuse.security:def:83271
    P
    Security update for qemu (Important)
    2021-04-22
    oval:org.opensuse.security:def:29350
    P
    Security update for qemu (Important)
    2021-04-22
    oval:org.opensuse.security:def:55173
    P
    Security update for qemu (Important)
    2021-04-22
    oval:org.opensuse.security:def:83391
    P
    Security update for qemu (Important)
    2021-04-22
    oval:org.opensuse.security:def:30064
    P
    Security update for qemu (Important)
    2021-04-22
    oval:org.opensuse.security:def:55887
    P
    Security update for qemu (Important)
    2021-04-22
    oval:org.opensuse.security:def:30184
    P
    Security update for qemu (Important)
    2021-04-22
    oval:org.opensuse.security:def:41466
    P
    Security update for kvm (Important)
    2021-04-20
    oval:org.opensuse.security:def:45896
    P
    Security update for kvm (Important)
    2021-04-20
    oval:org.opensuse.security:def:9307
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:32898
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:92096
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:23885
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:60232
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:99945
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:89113
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:10241
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:84584
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:8562
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:92888
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:31152
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:70201
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:58721
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:99241
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:51873
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:87362
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:9491
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:33635
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:92291
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:69447
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:96857
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:56975
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:89371
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:85616
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:8740
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:93041
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:31607
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:70381
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:59458
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:88102
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:9690
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:33893
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:92490
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:69631
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:96858
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:57430
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:98851
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:86071
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:8935
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:93194
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:32071
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:91901
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:23550
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:59716
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:88414
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:10061
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:84127
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:34409
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:92689
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:69830
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:57894
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:99046
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:51538
    P
    Security update for qemu (Important)
    2021-04-16
    oval:org.opensuse.security:def:86535
    P
    Security update for qemu (Important)
    2021-04-16
    oval:com.redhat.rhsa:def:20210347
    P
    RHSA-2021:0347: qemu-kvm security and bug fix update (Moderate)
    2021-02-02
    BACK
    qemu qemu 4.0.0
    qemu qemu 4.1.0
    canonical ubuntu linux 18.04
    canonical ubuntu linux 20.04
    canonical ubuntu linux 16.04
    debian debian linux 8.0
    debian debian linux 9.0
    qemu qemu -