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: over 2 years ago
Updated: about 1 year 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: 42
Dependent repositories: 618
Downloads: 251,929 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: 250
Dependent repositories: 8,355
Downloads: 2,236,459 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: 422
Dependent repositories: 9,646
Downloads: 4,797,731 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: 2,667
Dependent repositories: 67,670
Downloads: 13,458,741 last month
Affected Version Ranges: <= 4.1.0.24
Fixed in: 4.1.0.25
All affected versions:
All unaffected versions: 3.1.0