GHSA-fw99-f933-rgh8
Out-of-bounds Read and Out-of-bounds Write in OpenCV
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| PyPI | opencv-python | < 3.4.7.28 | 3.4.7.28 |
| PyPI | opencv-python | >= 4.0.0.21, < 4.1.1.26 | 4.1.1.26 |
| PyPI | opencv-python-headless | < 3.4.7.28 | 3.4.7.28 |
| PyPI | opencv-python-headless | >= 4.0.0.21, < 4.1.1.26 | 4.1.1.26 |
| PyPI | opencv-contrib-python | < 3.4.7.28 | 3.4.7.28 |
| PyPI | opencv-contrib-python | >= 4.0.0.21, < 4.1.1.26 | 4.1.1.26 |
| PyPI | opencv-contrib-python-headless | < 3.4.7.28 | 3.4.7.28 |
| PyPI | opencv-contrib-python-headless | >= 4.0.0.21, < 4.1.1.26 | 4.1.1.26 |
Details
As written in the advisory (Markdown source, shown as plain text).
An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1 (OpenCV-Python before 3.4.7.28 and 4.x before 4.1.1.26). There is an out of bounds read/write in the function HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2019-14492
- https://github.com/opencv/opencv/issues/15124
- https://github.com/opencv/opencv-python
- https://github.com/opencv/opencv/compare/33b765d...4a7ca5a
- https://github.com/opencv/opencv/compare/371bba8...ddbd10c
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00025.html