Bug 2214640 (CVE-2023-2618)

Summary: CVE-2023-2618 OpenCV: memory leak in wechat_qrcode module
Product: [Other] Security Response Reporter: Marco Benatto <mbenatto>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: asoldano, bbaranow, bmaxwell, boliveir, brian.stansberry, cdewolf, chazlett, darran.lofthouse, databases-maint, dkreling, dosoudil, drichtar, fjuma, ivassile, iweiss, jkucera, jridky, lgao, mosmerov, msochure, mstefank, msvehla, nwallace, pdrozd, pjindal, pmackay, pskopek, rowaters, rstancel, smaestri, sthorger, tom.jenkinson
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-15 05:27:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2214642    
Bug Blocks: 2196830    

Description Marco Benatto 2023-06-13 17:27:10 UTC
A vulnerability, which was classified as problematic, has been found 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. The manipulation leads to memory leak. The attack may be launched remotely. The name of the patch is 2b62ff6181163eea029ed1cab11363b4996e9cd6. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-228548.

https://github.com/opencv/opencv_contrib/pull/3484/commits/2b62ff6181163eea029ed1cab11363b4996e9cd6
https://github.com/opencv/opencv_contrib/pull/3484
https://vuldb.com/?id.228548
https://vuldb.com/?ctiid.228548

Comment 1 Marco Benatto 2023-06-13 17:28:34 UTC
Created opencv tracking bugs for this issue:

Affects: fedora-all [bug 2214642]

Comment 2 Product Security DevOps Team 2023-06-15 05:26:52 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-2618