~ / search / GHSA-q799-q27x-vp7w

GHSA-q799-q27x-vp7w

Out-of-bounds Write in OpenCV

Source: GitHub Advisory Database (reviewed) High CVE-2019-5064

Packages

EcosystemPackageAffectedFixed in
PyPI opencv-python < 4.2.0.32 4.2.0.32
PyPI opencv-python-headless < 4.2.0.32 4.2.0.32
PyPI opencv-contrib-python < 4.2.0.32 4.2.0.32
PyPI opencv-contrib-python-headless < 4.2.0.32 4.2.0.32

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, version 4.1.0 (corresponds with OpenCV-Python version 4.1.2.30). A specially crafted JSON file can cause a buffer overflow, resulting in multiple heap corruptions and potentially 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.