Vulnerability Name:

CVE-2017-12597 (CCN-130109)

Assigned:2017-08-04
Published:2017-08-04
Updated:2021-11-29
Summary:OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds write error in the function FillColorRow1 in utils.cpp when reading an image file by using cv::imread.
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:U/RC:R)
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
3.3 Low (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L)
2.9 Low (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:U/RC:R)
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): None
Integrity (I): None
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
1.7 Low (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
Vulnerability Type:CWE-787
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2017-12597

Source: XF
Type: UNKNOWN
opencv-cve201712597-dos(130109)

Source: CCN
Type: OpenCV GIT Repository
Some bugs result to crashes when calling imread of opencv (include heap overflow and out of bound write) #9309

Source: MISC
Type: Issue Tracking, Patch, Third Party Advisory
https://github.com/opencv/opencv/issues/9309

Source: CCN
Type: xiaoqx GIT Repository
bugs of opencv

Source: MISC
Type: Broken Link, Third Party Advisory
https://github.com/xiaoqx/pocs/blob/master/opencv.md

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20180722 [SECURITY] [DLA 1438-1] opencv security update

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20211030 [SECURITY] [DLA 2799-1] opencv security update

Source: GENTOO
Type: Third Party Advisory
GLSA-201712-02

Vulnerable Configuration:Configuration 1:
  • cpe:/a:opencv:opencv:*:*:*:*:*:*:*:* (Version <= 3.3.0)

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

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:201712597
    V
    CVE-2017-12597
    2019-09-27
    oval:com.ubuntu.bionic:def:2017125970000000
    V
    CVE-2017-12597 on Ubuntu 18.04 LTS (bionic) - medium.
    2017-08-07
    oval:com.ubuntu.xenial:def:2017125970000000
    V
    CVE-2017-12597 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-08-07
    oval:com.ubuntu.artful:def:201712597000
    V
    CVE-2017-12597 on Ubuntu 17.10 (artful) - medium.
    2017-08-06
    oval:com.ubuntu.bionic:def:201712597000
    V
    CVE-2017-12597 on Ubuntu 18.04 LTS (bionic) - medium.
    2017-08-06
    oval:com.ubuntu.trusty:def:201712597000
    V
    CVE-2017-12597 on Ubuntu 14.04 LTS (trusty) - medium.
    2017-08-06
    oval:com.ubuntu.xenial:def:201712597000
    V
    CVE-2017-12597 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-08-06
    BACK
    opencv opencv *
    debian debian linux 8.0
    debian debian linux 9.0