原始 OSV JSON{
"id": "GHSA-6v6p-p97v-g2p7",
"aliases": [
"CVE-2017-12603"
],
"details": "OpenCV (Open Source Computer Vision Library) through 3.3 (corresponding to OpenCV-Python and OpenCV-Contrib-Python 3.3.0.9) has an invalid write in the cv::RLByteStream::getBytes function in modules/imgcodecs/src/bitstrm.cpp when reading an image file by using cv::imread, as demonstrated by the 2-opencv-heapoverflow-fseek test case.",
"summary": "Out-of-bounds Write in OpenCV",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.3.1.11"
}
]
}
],
"package": {
"name": "opencv-python",
"ecosystem": "PyPI"
},
"database_specific": {
"last_known_affected_version_range": "<= 3.3.0.9"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.3.1.11"
}
]
}
],
"package": {
"name": "opencv-contrib-python",
"ecosystem": "PyPI"
},
"database_specific": {
"last_known_affected_version_range": "<= 3.3.0.9"
}
}
],
"modified": "2021-11-18T15:32:35Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"published": "2021-10-12T22:01:44Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-12603",
"type": "ADVISORY"
},
{
"url": "https://github.com/opencv/opencv/issues/9309",
"type": "WEB"
},
{
"url": "https://github.com/opencv/opencv/pull/9376",
"type": "WEB"
},
{
"url": "https://github.com/opencv/opencv-python",
"type": "PACKAGE"
},
{
"url": "https://github.com/xiaoqx/pocs/blob/master/opencv.md",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html",
"type": "WEB"
},
{
"url": "https://security.gentoo.org/glsa/201712-02",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-787"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2017-08-07T01:29:00Z",
"github_reviewed_at": "2021-10-07T21:00:22Z"
}
}