OpenCV wechat_qrcode Module up to 4.7.0 decoded_bit_stream_parser.cpp decodeHanziSegment memory leak
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.0 | $0-$5k | 0.00 |
Summary
A vulnerability described as problematic has been identified in OpenCV wechat_qrcode Module up to 4.7.0. Affected by this issue is the function DecodedBitStreamParser::decodeHanziSegment of the file qrcode/decoder/decoded_bit_stream_parser.cpp. Such manipulation leads to memory leak.
This vulnerability is listed as CVE-2023-2618. The attack may be performed from remote. There is no available exploit.
It is advisable to implement a patch to correct this issue.
Details
A vulnerability, which was classified as problematic, has been found in OpenCV wechat_qrcode Module up to 4.7.0 (Image Processing Software). Affected by this issue is the function DecodedBitStreamParser::decodeHanziSegment of the file qrcode/decoder/decoded_bit_stream_parser.cpp. The manipulation with an unknown input leads to a memory leak vulnerability. Using CWE to declare the problem leads to CWE-401. The product does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory. Impacted is availability.
The weakness was presented 05/10/2023 by Linkai Zheng (Konano) with Tsinghua University as 3484. The advisory is shared for download at github.com. This vulnerability is handled as CVE-2023-2618. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1499.
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 the patch 2b62ff6181163eea029ed1cab11363b4996e9cd6 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). Once again VulDB remains the best source for vulnerability data.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.0VulDB Meta Temp Score: 6.0
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
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: Memory leakCWE: CWE-401 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
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: 2b62ff6181163eea029ed1cab11363b4996e9cd6
Timeline
05/10/2023 🔍05/10/2023 🔍
05/10/2023 🔍
02/04/2025 🔍
Sources
Advisory: 3484Researcher: Linkai Zheng (Konano)
Organization: Tsinghua University
Status: Confirmed
CVE: CVE-2023-2618 (🔍)
GCVE (CVE): GCVE-0-2023-2618
GCVE (VulDB): GCVE-100-228548
Entry
Created: 05/10/2023 07:11Updated: 02/04/2025 05:03
Changes: 05/10/2023 07:11 (43), 05/10/2023 12:43 (3), 06/02/2023 07:51 (2), 06/02/2023 07:57 (28), 02/04/2025 05:03 (17)
Complete: 🔍
Submitter: NanoApe
Cache ID: 216::103
Submit
Accepted
- Submit #154183: OpenCV wechat_qrcode module has Memory Leak (by NanoApe)
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.