Bug 1980328 (CVE-2021-35940)

Summary: CVE-2021-35940 apr: Regression of CVE-2017-12613 fix in apr 1.7
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bojan, csutherl, gzaronik, jclere, jkaluza, jorton, jwon, krathod, luhliari, mturk, oliver, pjindal, security-response-team, szappis
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: apr 1.7.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-26 13:46:17 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: 1996685, 1998159    
Bug Blocks: 1980329    

Comment 2 Guilherme de Almeida Suckevicz 2021-08-23 13:19:07 UTC
Created apr tracking bugs for this issue:

Affects: fedora-all [bug 1996685]

Comment 7 Tomas Hoger 2021-08-27 08:14:04 UTC
The fix for the apr issue CVE-2017-12613 (see bug 1506523 for more details) that was applied upstream in version 1.6.3 was not applied to 1.7 branch and hence it was regressed in upstream version 1.7.0.  A new CVE-2021-35940 was assigned for the regression.

Upstream announcement:

https://www.openwall.com/lists/oss-security/2021/08/23/1

Upstream commit:

http://svn.apache.org/viewvc?view=revision&revision=1891198

Upstream patch for 1.7 - it's a subset of the changes in the above commit, removing changes related to other fix included in the commit:

https://dist.apache.org/repos/dist/release/apr/patches/apr-1.7.0-CVE-2021-35940.patch

The fix should be included in upstream version 1.7.1, which has not been released yet.