GHSA-9g8h-pjm4-q92p

Suggest an improvement
Source
https://github.com/advisories/GHSA-9g8h-pjm4-q92p
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-9g8h-pjm4-q92p/GHSA-9g8h-pjm4-q92p.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9g8h-pjm4-q92p
Aliases
Published
2021-10-12T22:23:41Z
Modified
2023-11-08T04:00:20.596113Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Out-of-bounds Write in OpenCV.
Details

In OpenCV 3.3.1 (corresponding with OpenCV-Python 3.3.1.11), a heap-based buffer overflow happens in cv::Jpeg2KDecoder::readComponent8u in modules/imgcodecs/src/grfmt_jpeg2000.cpp when parsing a crafted image file.

Database specific
{
    "nvd_published_at": "2018-01-08T05:29:00Z",
    "github_reviewed_at": "2021-10-07T19:55:52Z",
    "severity": "MODERATE",
    "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
Fixed
3.4.1.15

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

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

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

Database specific

{
    "last_known_affected_version_range": "<= 3.3.1.11"
}