GHSA-jh2j-j4j9-crg3: opencv-python-headless bundled libwebp binaries in wheels that are vulnerable to CVE-2023-4863
8.8
CVSS Score
3.1
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
Published
8/30/2024
Updated
8/30/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| opencv-python-headless | pip | >= 0, < 4.8.1.78 | 4.8.1.78 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from libwebp's Huffman table construction. Multiple sources including CVE-2023-4863 description, libwebp's fix commit 902bc9190331343b2017211debcec8d2ab87e17a, and Chromium's bug report all point to BuildHuffmanTable as the vulnerable function. OpenCV's patch upgrades libwebp to 1.3.2 which contains the fix for this specific function. The file path is derived from libwebp's source structure within OpenCV's 3rdparty directory.