CVE-2017-12604
published 2017-08-07CVE-2017-12604: OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds write error in the FillUniColor function in utils.cpp when reading an image file…
PriorityP340high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
1.97%
78.2th percentile
OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds write error in the FillUniColor function in utils.cpp when reading an image file by using cv::imread.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | opencv | < opencv 3.2.0+dfsg-6 (bookworm) | opencv 3.2.0+dfsg-6 (bookworm) |
| opencv | opencv | <= 3.3.0 | — |
| opencv | opencv | >= 0 < 3.2.0+dfsg-6 | 3.2.0+dfsg-6 |
| opencv | opencv | >= 0 < 3.2.0+dfsg-6 | 3.2.0+dfsg-6 |
| opencv | opencv | >= 0 < 3.2.0+dfsg-6 | 3.2.0+dfsg-6 |
| opencv | opencv | >= 0 < 3.2.0+dfsg-6 | 3.2.0+dfsg-6 |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
opencv: out-of-bounds write error in the function FillUniColor
vendor_redhat·2017-08-05·CVSS 8.8
CVE-2017-12604 [HIGH] CWE-787 opencv: out-of-bounds write error in the function FillUniColor
opencv: out-of-bounds write error in the function FillUniColor
OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds write error in the FillUniColor function in utils.cpp when reading an image file by using cv::imread.
Package: opencv (Red Hat Enterprise Linux 6) - Will not fix
Package: opencv (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2017-12604: opencv - OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds wr...
vendor_debian·2017·CVSS 8.8
CVE-2017-12604 [HIGH] CVE-2017-12604: opencv - OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds wr...
OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds write error in the FillUniColor function in utils.cpp when reading an image file by using cv::imread.
Scope: local
bookworm: resolved (fixed in 3.2.0+dfsg-6)
bullseye: resolved (fixed in 3.2.0+dfsg-6)
forky: resolved (fixed in 3.2.0+dfsg-6)
sid: resolved (fixed in 3.2.0+dfsg-6)
trixie: resolved (fixed in 3.2.0+dfsg-6)
GHSA
Out-of-bounds Write in OpenCV
ghsa·2021-10-12
CVE-2017-12604 [HIGH] CWE-787 Out-of-bounds Write in OpenCV
Out-of-bounds Write in OpenCV
OpenCV (Open Source Computer Vision Library) through 3.3 (corresponding to OpenCV-Python and OpenCV-Contrib-Python 3.3.0.9) has an out-of-bounds write error in the FillUniColor function in utils.cpp when reading an image file by using cv::imread.
OSV
Out-of-bounds Write in OpenCV
osv·2021-10-12
CVE-2017-12604 [HIGH] Out-of-bounds Write in OpenCV
Out-of-bounds Write in OpenCV
OpenCV (Open Source Computer Vision Library) through 3.3 (corresponding to OpenCV-Python and OpenCV-Contrib-Python 3.3.0.9) has an out-of-bounds write error in the FillUniColor function in utils.cpp when reading an image file by using cv::imread.
OSV
CVE-2017-12604: OpenCV (Open Source Computer Vision Library) through 3
osv·2017-08-07·CVSS 8.8
CVE-2017-12604 [HIGH] CVE-2017-12604: OpenCV (Open Source Computer Vision Library) through 3
OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds write error in the FillUniColor function in utils.cpp when reading an image file by using cv::imread.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-12604 opencv: out-of-bounds write error in the function FillUniColor
bugzilla·2017-08-22·CVSS 8.8
CVE-2017-12604 [HIGH] CVE-2017-12604 opencv: out-of-bounds write error in the function FillUniColor
CVE-2017-12604 opencv: out-of-bounds write error in the function FillUniColor
OpenCV (Open Source Computer Vision Library) through 3.3 has an
out-of-bounds write error in the FillUniColor function in utils.cpp
when reading an image file by using cv::imread.
Reference:
https://github.com/xiaoqx/pocs/blob/master/opencv.md
Discussion:
Created opencv tracking bugs for this issue:
Affects: fedora-all [bug 1483902]
Bugzilla
CVE-2017-12597 CVE-2017-12598 CVE-2017-12599 CVE-2017-12600 CVE-2017-12601 CVE-2017-12602 CVE-2017-12603 CVE-2017-12604 CVE-2017-12605 CVE-2017-12606 opencv: various flaws [fedora-all]
bugzilla·2017-08-22·CVSS 8.8
CVE-2017-12597 [HIGH] CVE-2017-12597 CVE-2017-12598 CVE-2017-12599 CVE-2017-12600 CVE-2017-12601 CVE-2017-12602 CVE-2017-12603 CVE-2017-12604 CVE-2017-12605 CVE-2017-12606 opencv: various flaws [fedora-all]
CVE-2017-12597 CVE-2017-12598 CVE-2017-12599 CVE-2017-12600 CVE-2017-12601 CVE-2017-12602 CVE-2017-12603 CVE-2017-12604 CVE-2017-12605 CVE-2017-12606 opencv: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixe
https://github.com/opencv/opencv/issues/9309https://github.com/xiaoqx/pocs/blob/master/opencv.mdhttps://lists.debian.org/debian-lts-announce/2018/07/msg00030.htmlhttps://lists.debian.org/debian-lts-announce/2021/10/msg00028.htmlhttps://security.gentoo.org/glsa/201712-02https://github.com/opencv/opencv/issues/9309https://github.com/xiaoqx/pocs/blob/master/opencv.mdhttps://lists.debian.org/debian-lts-announce/2018/07/msg00030.htmlhttps://lists.debian.org/debian-lts-announce/2021/10/msg00028.htmlhttps://security.gentoo.org/glsa/201712-02
2017-08-07
Published