GitHub Advisoryadvisory · PyPI

GHSA-fw99-f933-rgh8 Out-of-bounds Read and Out-of-bounds Write in OpenCV

HIGH Published 2021-10-12 Modified 2021-10-07 Official page ↗
Aliases
CVE-2019-14492
Ecosystem
PyPI
Packages
opencv-python, opencv-python-headless, opencv-contrib-python, opencv-contrib-python-headless
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-125, CWE-787
Reviewed
2021-10-07

Affected packages

• PyPI opencv-python: < 3.4.7.28 → fixed in 3.4.7.28 • PyPI opencv-python: >= 4.0.0.21, < 4.1.1.26 → fixed in 4.1.1.26 • PyPI opencv-python-headless: < 3.4.7.28 → fixed in 3.4.7.28 • PyPI opencv-python-headless: >= 4.0.0.21, < 4.1.1.26 → fixed in 4.1.1.26 • PyPI opencv-contrib-python: < 3.4.7.28 → fixed in 3.4.7.28 • PyPI opencv-contrib-python: >= 4.0.0.21, < 4.1.1.26 → fixed in 4.1.1.26 • PyPI opencv-contrib-python-headless: < 3.4.7.28 → fixed in 3.4.7.28 • PyPI opencv-contrib-python-headless: >= 4.0.0.21, < 4.1.1.26 → fixed in 4.1.1.26

Description

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.

Related

Alias · CVE (1)

  • CVE-2019-14492 An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1. vulnerability

Weakness · CWE (2)

  • CWE-125 Out-of-bounds Read weakness
  • CWE-787 Out-of-bounds Write weakness

References