Bug 1934478 (CVE-2021-27799)

Summary: CVE-2021-27799 zint: stack-based buffer overflow
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: martin.gieseking
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: 2021-03-03 13:02:05 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: 1934479    
Bug Blocks:    

Description Marian Rehak 2021-03-03 10:43:14 UTC
ean_leading_zeroes in backend/upcean.c in Zint Barcode Generator 2.9.1 has a stack-based buffer overflow that is reachable from the C API through an application that includes the Zint Barcode Generator library code.

Reference:

http://zint.org.uk/Manual.aspx?type=p&page=3
http://zint.org.uk/Manual.aspx?type=p&page=4
http://zint.org.uk/Manual.aspx?type=p&page=5
https://sourceforge.net/p/zint/code/ci/7f8c8114f31c09a986597e0ba63a49f96150368a/
https://sourceforge.net/p/zint/tickets/218/

Comment 1 Marian Rehak 2021-03-03 10:43:41 UTC
Created zint tracking bugs for this issue:

Affects: fedora-all [bug 1934479]

Comment 2 Product Security DevOps Team 2021-03-03 13:02:05 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.