CVE-2017-12601: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
(updated )
OpenCV (Open Source Computer Vision Library) has a buffer overflow in the cv::BmpDecoder::readData function in modules/imgcodecs/src/grfmt_bmp.cpp when reading an image file by using cv::imread, as demonstrated by the 4-buf-overflow-readData-memcpy test case.
References
- github.com/advisories/GHSA-w96g-3p64-63wr
- github.com/opencv/opencv-python/releases/tag/11
- github.com/opencv/opencv-python/releases/tag/9
- github.com/opencv/opencv/issues/9309
- github.com/opencv/opencv/pull/9376
- github.com/xiaoqx/pocs/blob/master/opencv.md
- lists.debian.org/debian-lts-announce/2018/07/msg00030.html
- lists.debian.org/debian-lts-announce/2021/10/msg00028.html
- nvd.nist.gov/vuln/detail/CVE-2017-12601
- security.gentoo.org/glsa/201712-02
Code Behaviors & Features
Detect and mitigate CVE-2017-12601 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →