GHSA-fm39-cw8h-3p63

Suggest an improvement
Source
https://github.com/advisories/GHSA-fm39-cw8h-3p63
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fm39-cw8h-3p63/GHSA-fm39-cw8h-3p63.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fm39-cw8h-3p63
Aliases
Published
2021-10-12T22:07:14Z
Modified
2026-09-10T03:49:09Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H CVSS Calculator
Summary
Out-of-bounds Read in OpenCV
Details

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 in the function cv::predictOrderedcv::HaarEvaluator in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

Database specific
{
    "cwe_ids": [
        "CWE-125"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2021-10-07T15:12:30Z",
    "nvd_published_at": "2019-08-01T17:15:00Z",
    "severity": "HIGH"
}
References

Affected packages

PyPI
opencv-python

Package

Name
opencv-python
View open source insights on deps.dev
Purl
pkg:pypi/opencv-python

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.4.7.28

Affected versions

3.*
3.4.0.14
3.4.1.15
3.4.2.17
3.4.3.18
3.4.4.19
3.4.5.20
3.4.6.27

Database specific

last_known_affected_version_range
"<= 3.4.6.27"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fm39-cw8h-3p63/GHSA-fm39-cw8h-3p63.json"
opencv-python

Package

Name
opencv-python
View open source insights on deps.dev
Purl
pkg:pypi/opencv-python

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0.21
Fixed
4.1.1.26

Affected versions

4.*
4.0.0.21
4.0.1.23
4.0.1.24
4.1.0.25

Database specific

last_known_affected_version_range
"<= 4.1.0.25"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fm39-cw8h-3p63/GHSA-fm39-cw8h-3p63.json"
opencv-python-headless

Package

Name
opencv-python-headless
View open source insights on deps.dev
Purl
pkg:pypi/opencv-python-headless

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.4.7.28

Affected versions

3.*
3.4.3.18
3.4.4.19
3.4.5.20
3.4.6.27

Database specific

last_known_affected_version_range
"<= 3.4.6.27"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fm39-cw8h-3p63/GHSA-fm39-cw8h-3p63.json"
opencv-python-headless

Package

Name
opencv-python-headless
View open source insights on deps.dev
Purl
pkg:pypi/opencv-python-headless

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0.21
Fixed
4.1.1.26

Affected versions

4.*
4.0.0.21
4.0.1.24
4.1.0.25

Database specific

last_known_affected_version_range
"<= 4.1.0.25"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fm39-cw8h-3p63/GHSA-fm39-cw8h-3p63.json"
opencv-contrib-python

Package

Name
opencv-contrib-python
View open source insights on deps.dev
Purl
pkg:pypi/opencv-contrib-python

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.4.7.28

Affected versions

3.*
3.4.2.17
3.4.3.18
3.4.4.19
3.4.5.20
3.4.6.27

Database specific

last_known_affected_version_range
"<= 3.4.6.27"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fm39-cw8h-3p63/GHSA-fm39-cw8h-3p63.json"
opencv-contrib-python

Package

Name
opencv-contrib-python
View open source insights on deps.dev
Purl
pkg:pypi/opencv-contrib-python

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0.21
Fixed
4.1.1.26

Affected versions

4.*
4.0.0.21
4.0.1.23
4.0.1.24
4.1.0.25

Database specific

last_known_affected_version_range
"<= 4.1.0.25"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fm39-cw8h-3p63/GHSA-fm39-cw8h-3p63.json"
opencv-contrib-python-headless

Package

Name
opencv-contrib-python-headless
View open source insights on deps.dev
Purl
pkg:pypi/opencv-contrib-python-headless

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.4.7.28

Affected versions

3.*
3.4.0.14
3.4.2.17
3.4.3.18
3.4.4.19
3.4.5.20
3.4.6.27

Database specific

last_known_affected_version_range
"<= 3.4.6.27"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fm39-cw8h-3p63/GHSA-fm39-cw8h-3p63.json"
opencv-contrib-python-headless

Package

Name
opencv-contrib-python-headless
View open source insights on deps.dev
Purl
pkg:pypi/opencv-contrib-python-headless

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0.21
Fixed
4.1.1.26

Affected versions

4.*
4.0.0.21
4.0.1.23
4.0.1.24
4.1.0.25

Database specific

last_known_affected_version_range
"<= 4.1.0.25"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fm39-cw8h-3p63/GHSA-fm39-cw8h-3p63.json"