OpenCV wechat_qrcode Module up to 4.7.0 decoded_bit_stream_parser.cpp decodeByteSegment null pointer dereference
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.5 | $0-$5k | 0.09 |
Summary
A vulnerability marked as problematic has been reported 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. This manipulation causes null pointer dereference.
This vulnerability is tracked as CVE-2023-2617. The attack is possible to be carried out remotely. Moreover, an exploit is present.
To fix this issue, it is recommended to deploy a patch.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Details
A vulnerability classified as problematic was found in OpenCV wechat_qrcode Module up to 4.7.0 (Image Processing Software). Affected by this vulnerability is the function DecodedBitStreamParser::decodeByteSegment of the file qrcode/decoder/decoded_bit_stream_parser.cpp. The manipulation with an unknown input leads to a null pointer dereference vulnerability. The CWE definition for the vulnerability is CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. As an impact it is known to affect availability.
The weakness was disclosed 05/10/2023 by Haoyu Chen, Linkai Zheng, Liangyu Zhang (GZTimeWalker, Konano and determ1ne) with Sun Yat-sen University/Tsinghua University/Zhejiang University as 3480. It is possible to read the advisory at github.com. This vulnerability is known as CVE-2023-2617. Technical details and also a public exploit are known.
A public exploit has been developed by Haoyu Chen (GZTimeWalker). It is possible to download the exploit at gist.github.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 214909 (Ubuntu 18.04 LTS / 22.04 LTS : OpenCV vulnerabilities (USN-7247-1)), which helps to determine the existence of the flaw in a target environment.
Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the vulnerability database at Tenable (214909). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.6VulDB Meta Temp Score: 5.5
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CNA Base Score: 5.3
CNA Vector (VulDB): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Null pointer dereferenceCWE: CWE-476 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Haoyu Chen (GZTimeWalker)
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 214909
Nessus Name: Ubuntu 18.04 LTS / 22.04 LTS : OpenCV vulnerabilities (USN-7247-1)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: github.com
Timeline
05/10/2023 🔍05/10/2023 🔍
05/10/2023 🔍
02/04/2025 🔍
Sources
Advisory: 3480Researcher: Haoyu Chen, Linkai Zheng, Liangyu Zhang (GZTimeWalker, Konano, determ1ne)
Organization: Sun Yat-sen University/Tsinghua University/Zhejiang University
Status: Confirmed
CVE: CVE-2023-2617 (🔍)
GCVE (CVE): GCVE-0-2023-2617
GCVE (VulDB): GCVE-100-228547
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 05/10/2023 07:11 AMUpdated: 02/04/2025 05:03 AM
Changes: 05/10/2023 07:11 AM (45), 05/10/2023 09:00 AM (2), 05/10/2023 06:11 PM (6), 05/11/2023 06:45 AM (2), 05/11/2023 06:46 AM (1), 05/11/2023 01:33 PM (3), 06/02/2023 07:40 AM (4), 06/02/2023 07:45 AM (28), 01/27/2025 09:51 PM (22), 02/04/2025 05:03 AM (2)
Complete: 🔍
Submitter: NanoApe
Committer: NanoApe
Cache ID: 18:582:40
Submit
Accepted
- Submit #154182: OpenCV wechat_qrcode module has NULL Pointer Dereference (by NanoApe)
No comments yet. Languages: en.
Please log in to comment.