Vulnerability · Published May 10, 2023 · Assigned by VulDB
CVE-2023-2617OpenCV wechat_qrcode Module decoded_bit_stream_parser.cpp decodeByteSegment null pointer dereference
Medium 5.3
In plain English
A medium-severity null pointer dereference in wechat_qrcode Module from OpenCV. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability classified as problematic was found in OpenCV wechat_qrcode Module up to 4.7.0. Affected by this vulnerability is the function DecodedBitStreamParser::decodeByteSegment of the file qrcode/decoder/decoded_bit_stream_parser.cpp. The manipulation leads to null pointer dereference. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-228547.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | opencv | 4.6.0+dfsg-12 | DEBIAN-CVE-2023-2617 |
| Debian:13 | opencv | 4.6.0+dfsg-12 | DEBIAN-CVE-2023-2617 |
| Debian:14 | opencv | 4.6.0+dfsg-12 | DEBIAN-CVE-2023-2617 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| OpenCV | wechat_qrcode Module | 4.04.14.24.34.44.54.64.7 |
Weakness: CWE-476 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://vuldb.com/?id.228547 vdb-entry, technical-description
- https://vuldb.com/?ctiid.228547 signature, permissions-required
- https://github.com/opencv/opencv_contrib/pull/3480 issue-tracking, patch
- https://gist.github.com/GZTimeWalker/3ca70a8af2f5830711e9cccc73fb5270 exploit