Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4.17 update
🔗 CVE IDs covered (4)
📋 Description
CVE-2017-5645 — log4j: Socket receiver deserialization vulnerability CVE-2017-5664 — tomcat: Security constrained bypass in error page mechanism CVE-2017-7525 — jackson-databind: Deserialization vulnerability via readValue method of ObjectMapper CVE-2019-17571 — log4j: deserialization of untrusted data in SocketServer
🎯 Affected products1
- Red Hat JBoss Enterprise Application Platform 6.4
✅ Remediation
Before applying this update, back up your existing Red Hat JBoss Enterprise Application Platform installation and deployed applications. The References section of this erratum contains a download link (you must log in to download the update). Workaround: If it is necessary to have the DefaultServlet property readonly=false, use a jsp error page, for example Error404.jsp rather than a static html error page. Alternatively do not specify an error-page in the Deployment Descriptor and use a custom ErrorReportValve. Workaround: Mitigation to this problem is to not trigger polymorphic desrialization globally by using: objectMapper.enableDefaultTyping() and rather use @JsonTypeInfo on the class property to explicitly define the type information. For more information on this issue please refer to https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true Workaround: Please note that the Log4j upstream strongly recommends against using the SerializedLayout with the SocketAppenders. Customers may mitigate this issue by removing the SocketServer class outright; or if they must continue to use SocketAppenders, they can modify their SocketAppender configuration from SerializedLayout to use JsonLayout instead. An example of this in log4j-server.properties might look like this: log4j.appender.file.layout=org.apache.log4j.JsonLayout
🔗 References (8)
- selfhttps://access.redhat.com/errata/RHSA-2017:2633
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://access.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform?version=6.4/
- externalhttps://access.redhat.com/jbossnetwork/restricted/listSoftware.html?product=appplatform&downloadType=securityPatches&version=6.4
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1443635
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1459158
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1462702
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_2633.json