medium6.5
CVE-2017-17760
Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
Impact
OpenCV 3.3.1 (corresponding with opencv-python and opencv-contrib-python 3.3.1.11) has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | opencv-python | <= 3.3.1.11 | 3.4.0.12 |
| pip | opencv-contrib-python | <= 3.3.1.11 | 3.4.0.12 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Opencv | Opencv | Version 3.3.1 |
| Debian | Debian Linux | Versions 7.0, 8.0, 9.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.securityfocus.com/bid/102974
- https://github.com/opencv/opencv/issues/10351
- https://github.com/opencv/opencv/pull/10369/commits/7bbe1a53cfc097b82b1589f7915a2120de39274c
- https://lists.debian.org/debian-lts-announce/2018/01/msg00008.html
- https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html
- https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html
- https://github.com/advisories/GHSA-jcxv-2j3h-mg59
- https://nvd.nist.gov/vuln/detail/CVE-2017-17760