Bug 2054305 (CVE-2022-0699)

Summary: CVE-2022-0699 shapelib: Double-free vulnerability in contrib/shpsort.c
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: lucilanga, manisandro, tdawson
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: 2022-02-14 17:31: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: 2054306, 2054307    
Bug Blocks: 2054303    

Description Mauro Matteo Cascella 2022-02-14 16:33:48 UTC
A double-free condition exists in contrib/shpsort.c of shapelib 1.5.0 and older releases. This issue may allow an attacker to cause a denial of service or have other unspecified impact via control over malloc.

Upstream issue:
https://github.com/OSGeo/shapelib/issues/39

Upstream commit:
https://github.com/OSGeo/shapelib/commit/c75b9281a5b9452d92e1682bdfe6019a13ed819f

Comment 1 Mauro Matteo Cascella 2022-02-14 16:34:04 UTC
Created shapelib tracking bugs for this issue:

Affects: epel-all [bug 2054306]
Affects: fedora-all [bug 2054307]

Comment 3 Product Security DevOps Team 2022-02-14 17:30:58 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.