GHSA-fw99-f933-rgh8

Suggest an improvement
Source
https://github.com/advisories/GHSA-fw99-f933-rgh8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fw99-f933-rgh8/GHSA-fw99-f933-rgh8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fw99-f933-rgh8
Aliases
Published
2021-10-12T22:09:31Z
Modified
2023-11-08T04:01:10.214908Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Out-of-bounds Read and Out-of-bounds Write 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/write in the function HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

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

Affected packages

PyPI / opencv-python

Package

Affected ranges

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

Affected versions

3.*

3.1.0
3.1.0.0
3.1.0.1
3.1.0.2
3.1.0.3
3.1.0.4
3.1.0.5
3.2.0.6
3.2.0.7
3.2.0.8
3.3.0.9
3.3.0.10
3.3.1.11
3.4.0.12
3.4.0.14
3.4.1.15
3.4.2.16
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"
}

PyPI / opencv-python

Package

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"
}

PyPI / 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
0Unknown introduced version / All previous versions are affected
Fixed
3.4.7.28

Affected versions

3.*

3.4.2.16
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"
}

PyPI / 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.23
4.0.1.24
4.1.0.25

Database specific

{
    "last_known_affected_version_range": "<= 4.1.0.25"
}

PyPI / 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
0Unknown introduced version / All previous versions are affected
Fixed
3.4.7.28

Affected versions

3.*

3.1.0.0
3.2.0.7
3.2.0.8
3.3.0.9
3.3.0.10
3.3.1.11
3.4.0.12
3.4.0.14
3.4.1.15
3.4.2.16
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"
}

PyPI / 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"
}

PyPI / 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
0Unknown 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.16
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"
}

PyPI / 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"
}