GHSA-m6vm-8g8v-xfjh

Suggest an improvement
Source
https://github.com/advisories/GHSA-m6vm-8g8v-xfjh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-m6vm-8g8v-xfjh/GHSA-m6vm-8g8v-xfjh.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-m6vm-8g8v-xfjh
Aliases
Published
2021-10-12T22:23:13Z
Modified
2023-11-01T04:50:58.394372Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Out-of-bounds Write in OpenCV
Details

An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV 4.1.0 (corresponds with OpenCV-Python 4.1.0.25). A specially crafted XML file can cause a buffer overflow, resulting in multiple heap corruptions and potential code execution. An attacker can provide a specially crafted file to trigger this vulnerability.

Database specific
{
    "nvd_published_at": "2020-01-03T17:15:00Z",
    "github_reviewed_at": "2021-10-06T17:40:07Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-787"
    ]
}
References

Affected packages

PyPI / opencv-python

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
4.1.0.25

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
3.4.7.28
3.4.8.29
3.4.9.31
3.4.9.33
3.4.10.35
3.4.10.37
3.4.11.39
3.4.11.41
3.4.11.43
3.4.11.45
3.4.13.47
3.4.14.51
3.4.14.53
3.4.15.55
3.4.16.57
3.4.16.59
3.4.17.61
3.4.17.63
3.4.18.65

4.*

4.0.0.21
4.0.1.23
4.0.1.24
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
Last affected
4.1.0.25

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
3.4.7.28
3.4.8.29
3.4.9.31
3.4.9.33
3.4.10.35
3.4.10.37
3.4.11.39
3.4.11.41
3.4.11.43
3.4.11.45
3.4.13.47
3.4.14.51
3.4.14.53
3.4.15.55
3.4.16.57
3.4.16.59
3.4.17.61
3.4.17.63
3.4.18.65

4.*

4.0.0.21
4.0.1.23
4.0.1.24
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
Last affected
4.1.0.25

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
3.4.7.28
3.4.8.29
3.4.9.31
3.4.9.33
3.4.10.35
3.4.10.37
3.4.11.39
3.4.11.41
3.4.11.43
3.4.11.45
3.4.13.47
3.4.14.51
3.4.14.53
3.4.15.55
3.4.16.57
3.4.16.59
3.4.17.61
3.4.17.63
3.4.18.65

4.*

4.0.0.21
4.0.1.23
4.0.1.24
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
Last affected
4.1.0.25

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
3.4.7.28
3.4.8.29
3.4.9.31
3.4.9.33
3.4.10.35
3.4.10.37
3.4.11.39
3.4.11.41
3.4.11.43
3.4.11.45
3.4.13.47
3.4.14.51
3.4.14.53
3.4.15.55
3.4.16.57
3.4.16.59
3.4.17.61
3.4.17.63
3.4.18.65

4.*

4.0.0.21
4.0.1.23
4.0.1.24
4.1.0.25