Vulnerability Name:

CVE-2019-5063 (CCN-173858)

Assigned:2019-01-04
Published:2020-01-02
Updated:2022-06-17
Summary:An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV 4.1.0. A specially crafted XML file can cause a buffer overflow, resulting in multiple heap corruptions and potential code execution. An attacker can provide a specially crafted file to trigger this vulnerability.
CVSS v3 Severity:8.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
7.7 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
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
6.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
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-2019-5063

Source: XF
Type: UNKNOWN
opencv-cve20195063-bo(173858)

Source: CCN
Type: OpenCV Web site
OpenCV

Source: CCN
Type: Talos Vulnerability Report TALOS-2019-0852
OpenCV XML Persistence Parser Buffer Overflow Vulnerability

Source: MISC
Type: Exploit, Third Party Advisory
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0852

Source: N/A
Type: Patch, Third Party Advisory
N/A

Source: MISC
Type: Patch, Third Party Advisory
https://www.oracle.com/security-alerts/cpuApr2021.html

Vulnerable Configuration:Configuration 1:
  • cpe:/a:opencv:opencv:4.1.0:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/a:oracle:application_testing_suite:13.3.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:enterprise_manager_base_platform:13.4.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:big_data_spatial_and_graph:*:*:*:*:*:*:*:* (Version < 2.0)

  • Configuration CCN 1:
  • cpe:/a:opencv:opencv:4.1.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.disco:def:201950630000000
    V
    CVE-2019-5063 on Ubuntu 19.04 (disco) - medium.
    2020-01-03
    oval:com.ubuntu.bionic:def:201950630000000
    V
    CVE-2019-5063 on Ubuntu 18.04 LTS (bionic) - medium.
    2020-01-03
    oval:com.ubuntu.xenial:def:201950630000000
    V
    CVE-2019-5063 on Ubuntu 16.04 LTS (xenial) - medium.
    2020-01-03
    BACK
    opencv opencv 4.1.0
    oracle application testing suite 13.3.0.1
    oracle enterprise manager base platform 13.4.0.0
    oracle big data spatial and graph *
    opencv opencv 4.1.0