while you're at it, also update commons-fileupload to 1.3.3 http://tracker.zkoss.org/browse/ZK-3859
cor3000 ( 2018-02-01 14:45:00 +0800 )edit-
FEATURED COMPONENTS
First time here? Check out the FAQ!
We were just identified as having a security vulnerability in our product. The vulnerability is related to the FasterXML Jackson libraries included with ZKEE 8.0.5 (and 8.5.0) releases. It appears both levels of ZKEE are using version 2.5.1 of the FasterXML libraries and the fix is in the very recent 2.9.4 FasterXML Jackson released on January 21, 2018.
We know this is new, but wanted to see if you knew about this and if there are plans to release a 8.0.x and 8.5.x version with an upgrade to this new level.
Or do you know if it will work if we just replace the jackson-xxxx.jar files with the latest ones?
FYI the Common Vulnerabilities and Exposures (CVE) numbers are: CVE-2017-7525, CVE-2017-15095, CVE-2017-17485.
My initial tests show that 2.9.4 still works with ZK (if you can live without Java 6 - I think we all can)
https://nvd.nist.gov/vuln/detail/CVE-2017-17485 https://github.com/FasterXML/jackson-databind/issues/1855
The other option is to exclude jackson-databind completely from your dependencies and use the GsonConverter as mentioned earlier.
JIRA ticket: ZK-3857
UPDATE: ZK-3857/ ZK-3859 will be both addressed in 8.5.1
while you're at it, also update commons-fileupload to 1.3.3 http://tracker.zkoss.org/browse/ZK-3859
cor3000 ( 2018-02-01 14:45:00 +0800 )editthe Jackson libraries are used as an optional feature ZK-2650.
If you don't use client-side binding in combination with Pojo-JSON (or reverse) conversion it is not active. I'll perform a few more test verify that. Also if the latest version 2.9.4 will work with the existing features.
ZK-2650 also mentions a switch to disable Jackson and use the alternative GSON converter instead.
<library-property>
<name>org.zkoss.bind.jsonBindingParamConverter.class</name>
<value>org.zkoss.zkmax.bind.GsonConverter</value>
</library-property>
When we first upgraded from 7.0.x ZK to 8.0.5 we hadn't included the jackson-xxx.jar files but we noticed there were exceptions because they were missing so we included them to remove the exceptions.
Asked: 2018-02-01 04:39:36 +0800
Seen: 24 times
Last updated: Mar 22 '18
thanks for pointing that one out, we are on it
cor3000 ( 2018-02-01 10:33:50 +0800 )edit