<div dir="ltr"><div dir="ltr">HI Andrew,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 2, 2020 at 11:30 PM Marlow, Andrew &lt;<a href="mailto:Andrew.Marlow@fisglobal.com" target="_blank">Andrew.Marlow@fisglobal.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-GB">
<div>
<p class="MsoNormal"><span>Hello James and Brian and wildfly developers (and Happy New Year),<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>Further to my email below, after discussion with the apache log4j team a new CVE has been raised,
</span><a href="https://nvd.nist.gov/vuln/detail/CVE-2019-17571" target="_blank">https://nvd.nist.gov/vuln/detail/CVE-2019-17571</a>, which is for version 1 of log4j. It is analogous to the one that was raised for version 2, namely,
<a href="https://nvd.nist.gov/vuln/detail/CVE-2017-5645" target="_blank">https://nvd.nist.gov/vuln/detail/CVE-2017-5645</a>.</p></div></div></blockquote><div><br></div><div>This CVE has been fixed in the version of log4j that WildFly ships. See <a href="https://github.com/jboss-logging/log4j-jboss-logmanager/pull/15">https://github.com/jboss-logging/log4j-jboss-logmanager/pull/15</a>.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-GB"><div><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am slightly disappointed that the CVE was raised without the accompanying fix that is available by examining the patch made available by Red Hat. I was hoping that we would wind up with version 1.2.18 with the fix. This would have meant
 that projects that depend on log4j-v1 would be able to dodge the CVE issue by simply upgrading to the new version. But log4j-v1 really is at end of life and the apache log4j people don’t want to keep it going by patching it every time a new CVE issue is discovered.
 That’s understandable, but disappointing nonetheless, because there are some significant projects that depend on log4j-v1 and those projects are now vulnerable via the transitive dependency. This includes wildfly.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">In the light of this new CVE I hope that wildfly will reconsider depending on log4j-v1 and make plans for migrating to log4j2.</p></div></div></blockquote><div><br></div><div>Internally we do not use log4j. There may be some components that do, but I do most of those are for legacy reasons. The biggest reason we cannot remove log4j v1 support is legacy applications that are deployed. From what I&#39;ve seen it seems to be used quite regularly.</div><div><br></div><div>I do agree we really need to provide some support for log4j2 as well. There is <a href="https://issues.redhat.com/browse/WFCORE-482">https://issues.redhat.com/browse/WFCORE-482</a> for this and I&#39;d really like to get this done. I&#39;ve got a project which uses the jboss-logmanager as it&#39;s backend log manager and just uses the log4j2 logging API&#39;s.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-GB"><div><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">There is some time before projects such as wildfly will be flagged by the owasp dependency checker; the log4j-v1 CVE has not yet had a base score assigned. But I am presuming it will be 9.8 critical, same as for the log4j2 CVE. There is
 an exploit that has been published that uses the ysoserial toolkit, developed for log4j2 but should also apply to the deserialisation that is done in log4j-v1. See
<a href="https://github.com/pimps/CVE-2017-5645/blob/master/log4j%20advisory.txt" target="_blank">
https://github.com/pimps/CVE-2017-5645/blob/master/log4j%20advisory.txt</a> for details.<span><u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Marlow, Andrew
<br>
<b>Sent:</b> 18 December 2019 06:58<br>
<b>To:</b> James Perkins &lt;<a href="mailto:jperkins@redhat.com" target="_blank">jperkins@redhat.com</a>&gt;; Brian Stansberry &lt;<a href="mailto:brian.stansberry@redhat.com" target="_blank">brian.stansberry@redhat.com</a>&gt;<br>
<b>Cc:</b> <a href="mailto:agents@andrewpetermarlow.co.uk" target="_blank">agents@andrewpetermarlow.co.uk</a>; <a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br>
<b>Subject:</b> RE: EXTERNAL: Re: [wildfly-dev] wildfly and transitive dependency to log4j-v1, possibly via apache cxf<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><u><span>My reply below:<u></u><u></u></span></u></b></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> <a href="mailto:wildfly-dev-bounces@lists.jboss.org" target="_blank">
wildfly-dev-bounces@lists.jboss.org</a> &lt;<a href="mailto:wildfly-dev-bounces@lists.jboss.org" target="_blank">wildfly-dev-bounces@lists.jboss.org</a>&gt;
<b>On Behalf Of </b>James Perkins<br>
<b>Sent:</b> 04 December 2019 00:52<br>
<b>To:</b> Brian Stansberry &lt;<a href="mailto:brian.stansberry@redhat.com" target="_blank">brian.stansberry@redhat.com</a>&gt;<br>
<b>Cc:</b> <a href="mailto:agents@andrewpetermarlow.co.uk" target="_blank">agents@andrewpetermarlow.co.uk</a>;
<a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br>
<b>Subject:</b> EXTERNAL: Re: [wildfly-dev] wildfly and transitive dependency to log4j-v1, possibly via apache cxf<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">On Tue, Dec 3, 2019 at 2:59 PM Brian Stansberry &lt;<a href="mailto:brian.stansberry@redhat.com" target="_blank">brian.stansberry@redhat.com</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<div>
<div>
<div>
<p class="MsoNormal">On Mon, Dec 2, 2019 at 12:40 PM James Perkins &lt;<a href="mailto:jperkins@redhat.com" target="_blank">jperkins@redhat.com</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<div>
<p class="MsoNormal">Unfortunately we can&#39;t remove log4j support. We also need to support log4j v1 for legacy application support.<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12pt"><b><u>I am not sure what you’re saying here. Are you saying that wildfly must always stay on log4j-v1 for reasons of backward compatibility? What about the fact that log4j-v1 was end-of-life’d back in 2015?
 And that it does contain a CVE? Is backward compatibility still a requirement?<u></u><u></u></u></b></p>
</div>
</blockquote>
<div>
<p class="MsoNormal">We actually use a fork [1] of log4j which delegates the actual logging to the JBoss Log Manager.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt"><span style="font-family:&quot;Trebuchet MS&quot;,sans-serif">That is a fork though; i.e. WildFly itself does not ship</span> log4j:log4j.<br>
<b><u>I realise that wildfly does not ship log4j; it just depends on it.</u></b><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">A number of our testsuite modules do declare log4j:log4j as a test dependency, but AIUI org.jboss.logmanager:log4j-jboss-logmanager is API compatible so is it possible to instead have the testsuite depend on the fork and eliminate this
 dependency?<u></u><u></u></p>
</div>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Yes the org.jboss.logmanager:log4j-jboss-logmanager can be used as a replacement of log4j. The only requirement is that the org.jboss.logmanager:jboss-logmanager also be on the class path. That is what we use with the shipped zips. We do
 not ship an Apache log4j library.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<div>
<div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<p class="MsoNormal">[1]: <a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjboss-logging%2Flog4j-jboss-logmanager&amp;data=02%7C01%7Candrew.marlow%40fisglobal.com%7Cda3862a75f6044a3415108d778543e35%7Ce3ff91d834c84b15a0b418910a6ac575%7C0%7C0%7C637110175522283543&amp;sdata=Z%2B%2B7ceZ%2BkEr0TStr7oE8fmhpFmF4sGmQ2rvw3hjdfy4%3D&amp;reserved=0" target="_blank">https://github.com/jboss-logging/log4j-jboss-logmanager</a><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">On Sun, Dec 1, 2019 at 2:03 AM Andrew Marlow &lt;<a href="mailto:marlow.agents@gmail.com" target="_blank">marlow.agents@gmail.com</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<div>
<div>
<p class="MsoNormal">Hello everyone,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I am trying to build the latest wildfly from a clone of the github repo at
<a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbstansberry%2Fwildfly.git&amp;data=02%7C01%7Candrew.marlow%40fisglobal.com%7Cda3862a75f6044a3415108d778543e35%7Ce3ff91d834c84b15a0b418910a6ac575%7C0%7C0%7C637110175522293540&amp;sdata=heEigaNz%2BJopeGLZbNMgo%2Bt7XcCZKRXetDEgS5lKEO8%3D&amp;reserved=0" target="_blank">
https://github.com/bstansberry/wildfly.git</a>. I understand this is the latest and is from the principal maintainer, Brian Stansberry. I&#39;ve changed the pom references to the old log4j-v1 to the new log4j-v2 but a pom dependency analysis reveals there is a
 still a dependency on v1. I am at a loss as to where exactly it is coming from. I hope someone here can shed some light please.<u></u><u></u></p>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender
 immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. FIS is a trading name of the following companies: Advanced Portfolio Technologies Ltd (No: 6312142)
 | Clear2Pay Limited (No: 5792457) | Decalog (UK) Limited (No: 2567370) | FIS Apex (International) Limited (No: 2999960) | FIS Apex (UK) Limited (No. 3573008) | FIS Consulting Services (UK) Limited (No: 2486794) | FIS Derivatives Utility Services (UK) Limited
 (No: 9398140) | FIS Energy Solutions Limited (No: 1889028) | FIS Global Execution Services Limited (No. 3127109) | FIS Global Trading (UK) Limited (No: 2523114) | FIS Investment Systems (UK) Limited (No: 1366010) | FIS Sherwood Systems Group Limited (No: 982833)
 | FIS Systems Limited (No: 1937159) | FIS Treasury Systems (Europe) Limited (No: 2624209) | FIS Treasury Systems (UK) Limited (No: 2893376) | GL Settle Limited (No: 2396127) | Integrity Treasury Solutions Europe Limited (No: 3289271) | Monis Software Limited
 (No: 2333925) | Reech Capital Limited (No: 3649490) | Solutions Plus Consulting Services Limited (No: 3839487) | Valuelink Information Services Limited (No: 3827424) all registered in England &amp; Wales with their registered office at 25 Canada Square, London
 E14 5LQ | FIS Global Execution Services Limited is authorised and regulated by the Financial Conduct Authority | Certegy Card Services Limited (No: 3517639) | Certegy France Limited (No: 2557650) | eFunds International Limited (No: 1930117) | Fidelity Information
 Services Limited (No: 2225203) | FIS Payments (UK) Limited (No: 4215488) | Metavante Technologies Limited (No: 2659326) all registered in England &amp; Wales with their registered office at 1st Floor Tricorn House, 51-53 Hagley Road, Edgbaston, Birmingham, West
 Midlands, B16 8TU, United Kingdom | FIS Payments (UK) Limited is authorised and regulated by the Financial Conduct Authority; some services are covered by the Financial Ombudsman Service (in the UK). Clear2Pay Limited, Registered in Scotland (No SC157659),
 Registered Office: Clear2Pay House, Pitreavie Court, Pitreavie Business Park Queensferry Rd, Dunfermline, Fife, SS, KY11 8UU, Scotland | FIS eProcess Intelligence LLC (UK Branch), UK Establishment Registered in England &amp; Wales (No: FC16527/Branch No. BR000355),
 Registered Branch Office: 25 Canada Square, London, E14 5LQ; FIS eProcess Intelligence LLC is a limited liability company formed in the USA registered on file with the Office of the Delaware Secretary of State, Division of Corporations (File No. 2032143),
 Head Office: 601 Riverside Avenue, Jacksonville Florida, FL32204, USA | FIS Investment Systems LLC, UK Establishment Registered in England &amp; Wales (No: FC033836/Branch No. BR018923), Registered Branch Office: 25 Canada Square, London, E14 5LQ; FIS Investment
 Systems LLC is a limited liability company formed in the USA registered on file with the Office of the Delaware Secretary of State, Division of Corporations (File No. 0881255), Head Office: 377 E. Butterfield Road, Suite 800, Lombard, IL 60148, USA | Calls
 to and from the companies may be recorded for quality purposes. | All of the named companies are part of FIS (Fidelity National Information Services, Inc.).
</div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div>James R. Perkins</div><div>JBoss by Red Hat</div></div></div></div></div></div>