GHSA-m6vm-8g8v-xfjh
Out-of-bounds Write in OpenCV
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| PyPI | opencv-python | <= 4.1.0.25 | no fix listed |
| PyPI | opencv-python-headless | <= 4.1.0.25 | no fix listed |
| PyPI | opencv-contrib-python | <= 4.1.0.25 | no fix listed |
| PyPI | opencv-contrib-python-headless | <= 4.1.0.25 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV 4.1.0 (corresponds with OpenCV-Python 4.1.0.25). A specially crafted XML file can cause a buffer overflow, resulting in multiple heap corruptions and potential code execution. An attacker can provide a specially crafted file to trigger this vulnerability.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2019-5063
- https://github.com/opencv/opencv/issues/16951
- https://github.com/opencv/opencv-python
- https://github.com/opencv/opencv-python/releases/tag/25
- https://talosintelligence.com/vulnerability_reports/TALOS-2019-0852
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuApr2021.html