upgrade to Jetty 9.4.39.v20210325

66 views
Skip to first unread message

Fabien S

unread,
Apr 12, 2021, 12:25:36 PM4/12/21
to OPS4J
I created this issue about the upgrade to Jetty 9.4.39.v20210325 because some lower version are impacted by CVE-2021-28165.


I wanted to try to do the change by myself, and I hoped that creating a pull request would allow me to run the regression tests but in fact I don't know how to trigger these tests. I'm not even sure that I created a commit for the right target branch. Could anybody assist me please?

Cheers,
Fabien

Jean-Baptiste Onofré

unread,
Apr 12, 2021, 2:26:05 PM4/12/21
to op...@googlegroups.com
Hi,

It’s already plan and I have Pax Web releases on the way, including this and other fixes.

So, don’t worry, we will have the Pax Web releases tomorrow.

Regards
JB

--
--
------------------
OPS4J - http://www.ops4j.org - op...@googlegroups.com

---
You received this message because you are subscribed to the Google Groups "OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/c195a8ad-7e90-47ff-b4ff-aa0435e58528n%40googlegroups.com.

Grzegorz Grzybek

unread,
Apr 12, 2021, 2:50:48 PM4/12/21
to op...@googlegroups.com
Hello

Just an information about Pax Web and main branch. I've recently renamed "master-improvements" branch to "main" - I had two goals with this action:
 - show that my long-developed "master-improvements" branch, where I've literally refactored big part of Pax Web (to adjust to new Whiteboard requirements) is ready to be worked on by others
 - adjust to new standards, where "main" is the new "master"

Unfortunately this new "main" branch is still far from being released (I had few months break again and I have to "feel" it again) and usual practice, where some change is always made in newest branch and then backported to maintenance branches. "main" branch is MUCH different than pax-web-7.2.x – pax-web-7.4.x branches.

Also, remember that 3 active maintenance branches of Pax Web are:
 - pax-web-7.2.x - the branch used by Karaf 4.2.x, with Jetty 9, Tomcat 8 and Undertow 1.x - the branch using Servlet API 3.1
 - pax-web-7.3.x - the "tech preview branch 1" with Jetty 9, Tomcat 9 and Undertow 2.0.x - the branch using Servlet API 4
 - pax-web-7.4.x - the "tech preview branch 2" with Jetty 9, Tomcat 9 and Undertow 2.2.x - the branch using Servlet API 4 and Undertow 2.2.x which "got back" OSGi metadata since 2.2.5.Final (https://issues.redhat.com/browse/UNDERTOW-1852)

Karaf 4.3.x chose pax-web-7.3.x despite it's still not proper OSGi CMPN 7 implementation (the goal is to have Pax Web 8 compliant to OSGi CMPN 7 specification, but it reaaaaaaaaaally required lots of fundamental changes, I was describing for at least a year).

I hope this clarifies the state of Pax Web.

kind regards
Grzegorz Grzybek

Fabien S

unread,
Apr 13, 2021, 2:25:44 AM4/13/21
to OPS4J
Hi, thank you a lot for your help and explanations!
Regarding the vulnerability, maybe it's possible to include in the code of the application this work-around:
but I'm not sure it would handle all the cases, so relying on an official fix from Jetty would be safer.

Cheers,
Fabien

Grzegorz Grzybek

unread,
Apr 13, 2021, 2:31:13 AM4/13/21
to op...@googlegroups.com
Hello

Yes - an upgrade to Jetty 9.4.39 is fine. Just no need to do it in `main` branch, because I've already updated it locally in very not-ready-yet code.

regards
Grzegorz

Jean-Baptiste Onofré

unread,
Apr 13, 2021, 3:18:01 AM4/13/21
to op...@googlegroups.com
I’m doing on all branches.

Regards
JB

Fabien S

unread,
May 17, 2021, 5:13:02 AM5/17/21
to OPS4J
Hi all,
Would you have any idea when a new version 7.4.2 of Pax Web would be available? In the projects of my company, we have to make the decision either to wait for it, or to release our software without upgrading Pax Web (and possibly applying some workarounds to prevent the Deny of service vulnerability).

Cheers,
Fabien

Jean-Baptiste Onofré

unread,
May 17, 2021, 5:21:30 AM5/17/21
to op...@googlegroups.com
Hi,

I already released 7.2.x and 7.3.x with Jetty 9.4.40 update. I will tackle 7.4.x.

Regards
JB

Grzegorz Grzybek

unread,
May 17, 2021, 5:49:04 AM5/17/21
to op...@googlegroups.com
Hello Fabien

As I've mentioned in the announcement email[1]:

I'd like to announce that I've just released Pax Web 7.4.0 that should NOT be treated as direct replacement of existing 7.2.x and 7.3.x lines.

The purpose of this release is to leverage https://issues.redhat.com/browse/UNDERTOW-1852 issue, which brought back OSGi support to Undertow.

So Pax Web 7.4.x should be treated as tech preview version of Pax web 7.3.x which was ALSO a tech preview (because of incomplete Servlet API 4 implementation - only Undertow 2.0.x and Tomcat 9 are Servlet API 4 compatible, Jetty 9.4 is still Servlet API 3.1).

But I believe 7.3 is well established now, so there's really nothing "better" in Pax Web 7.4 except more dependencies on Wildfly libraries (because surprisingly, XNIO after 3.3.x requires more JBoss/Wildfly libraries, some of which are not proper OSGi bundles).

kind regards
Grzegorz Grzybek


Fabien S

unread,
May 17, 2021, 11:47:20 AM5/17/21
to OPS4J
Hi Grzegorz,

Thank you a lot for taking the time to write these explanations, and sorry for not having paid enough attention to the announcement. It's all clarified now for me.

Cheers,
Fabien
Reply all
Reply to author
Forward
0 new messages