Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1qZ2d3LTJxNmctYzNtNs0WPQ

Out-of-bounds Read in OpenCV

An out-of-bounds read was discovered in OpenCV before 4.1.1 (OpenCV-Python before 4.1.0.25). Specifically, variable coarsest_scale is assumed to be greater than or equal to finest_scale within the calc()/ocl_calc() functions in dis_flow.cpp. However, this is not true when dealing with small images, leading to an out-of-bounds read of the heap-allocated arrays Ux and Uy.

Permalink: https://github.com/advisories/GHSA-jggw-2q6g-c3m6
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1qZ2d3LTJxNmctYzNtNs0WPQ
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 3 years ago
Updated: almost 2 years ago


CVSS Score: 6.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Identifiers: GHSA-jggw-2q6g-c3m6, CVE-2019-19624
References: Repository: https://github.com/opencv/opencv
Blast Radius: 31.4

Affected Packages

pypi:opencv-contrib-python-headless
Dependent packages: 50
Dependent repositories: 618
Downloads: 1,061,453 last month
Affected Version Ranges: <= 4.1.0.24
Fixed in: 4.1.0.25
All affected versions:
All unaffected versions:
pypi:opencv-contrib-python
Dependent packages: 321
Dependent repositories: 8,355
Downloads: 2,085,834 last month
Affected Version Ranges: <= 4.1.0.24
Fixed in: 4.1.0.25
All affected versions:
All unaffected versions:
pypi:opencv-python-headless
Dependent packages: 558
Dependent repositories: 9,646
Downloads: 6,757,683 last month
Affected Version Ranges: <= 4.1.0.24
Fixed in: 4.1.0.25
All affected versions:
All unaffected versions:
pypi:opencv-python
Dependent packages: 3,545
Dependent repositories: 67,670
Downloads: 14,850,865 last month
Affected Version Ranges: <= 4.1.0.24
Fixed in: 4.1.0.25
All affected versions:
All unaffected versions: 3.1.0