Bug 1743996 (CVE-2019-10097)

Summary: CVE-2019-10097 httpd: null-pointer dereference in mod_remoteip
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: anon.amish, bnater, csutherl, gzaronik, hhorak, jclere, jdoyle, jkaluza, jorton, jpadman, krathod, lgao, luhliari, mbabacek, mturk, myarboro, pahan, pslavice, rsvoboda, twalsh, weli, yozone
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: httpd 2.4.41 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was discovered in Apache httpd, in mod_remoteip. A trusted proxy using the "PROXY" protocol could send specially crafted headers that can cause httpd to experience a stack buffer overflow or NULL pointer dereference, leading to a crash or other potential consequences. This issue could only be exploited by configured trusted intermediate proxy servers. HTTP clients such as browsers could not exploit the vulnerability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-10 13:24:04 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: 1743997, 1747290, 1747291    
Bug Blocks: 1744000    

Description Dhananjay Arunesh 2019-08-21 06:16:00 UTC
A vulnerability was found in httpd, where mod_remoteip was configured to use a trusted intermediary proxy server using the "PROXY" protocol, a specially crafted PROXY header could trigger a stack buffer overflow or NULL pointer deference. This vulnerability could only be triggered by a trusted proxy and not by untrusted HTTP clients.

Comment 1 Dhananjay Arunesh 2019-08-21 06:16:21 UTC
Created httpd tracking bugs for this issue:

Affects: fedora-all [bug 1743997]

Comment 2 Dhananjay Arunesh 2019-08-21 06:18:07 UTC
External References:

https://httpd.apache.org/security/vulnerabilities_24.html

Comment 4 Joshua Padman 2019-08-28 12:17:34 UTC
This vulnerability is out of security support scope for the following product:
 * Red Hat JBoss Web Server 3 
 * Red Hat JBoss Enterprise Web Server 2

Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.

Comment 7 Doran Moppert 2019-09-04 03:30:38 UTC
Mitigation:

This flaw is only exploitable if RemoteIP* directives are used in Apache httpd configuration.  The following command can be used to search for possible vulnerable configurations:

    grep -R '^\s*RemoteIP' /etc/httpd/

See https://httpd.apache.org/docs/2.4/mod/mod_remoteip.html

Comment 13 errata-xmlrpc 2019-12-10 07:57:22 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS

Via RHSA-2019:4126 https://access.redhat.com/errata/RHSA-2019:4126

Comment 14 Product Security DevOps Team 2019-12-10 13:24:04 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-2019-10097

Comment 16 errata-xmlrpc 2020-04-06 19:10:13 UTC
This issue has been addressed in the following products:

  JBoss Core Services Apache HTTP Server 2.4.37 SP2

Via RHSA-2020:1336 https://access.redhat.com/errata/RHSA-2020:1336

Comment 17 errata-xmlrpc 2020-04-06 19:27:00 UTC
This issue has been addressed in the following products:

  JBoss Core Services on RHEL 6
  JBoss Core Services on RHEL 7

Via RHSA-2020:1337 https://access.redhat.com/errata/RHSA-2020:1337

Comment 18 errata-xmlrpc 2020-11-04 03:35:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4751 https://access.redhat.com/errata/RHSA-2020:4751