GHSA-jcxv-2j3h-mg59

Suggest an improvement
Source
https://github.com/advisories/GHSA-jcxv-2j3h-mg59
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-jcxv-2j3h-mg59/GHSA-jcxv-2j3h-mg59.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jcxv-2j3h-mg59
Aliases
Published
2021-10-12T22:03:09Z
Modified
2023-11-08T03:59:14.707579Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
Details

OpenCV 3.3.1 (corresponding with opencv-python and opencv-contrib-python 3.3.1.11) has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.

References

Affected packages

PyPI / opencv-python

Package

Affected ranges

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

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

Database specific

{
    "last_known_affected_version_range": "<= 3.3.1.11"
}

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.0.12

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

Database specific

{
    "last_known_affected_version_range": "<= 3.3.1.11"
}