[ 
https://issues.apache.org/jira/browse/SPARK-20433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16105951#comment-16105951
 ] 

Andrew Ash commented on SPARK-20433:
------------------------------------

As I wrote in that PR, it's 2.6.7.1 of jackson-databind that has the fix, and 
the Jackson project did not publish a corresponding 2.6.7.1 of the other 
components of Jackson.

This affects Spark because a known vulnerable library is on the classpath at 
runtime. So you can only guarantee that Spark isn't vulnerable by removing the 
vulnerable code from the runtime classpath.

Anyways a Jackson bump to a fixed version will likely be picked up by Apache 
Spark the next time Jackson is upgraded so I trust this will get fixed 
eventually regardless of whether Apache takes the hotfix version now or a 
regular release in the future.

> Security issue with jackson-databind
> ------------------------------------
>
>                 Key: SPARK-20433
>                 URL: https://issues.apache.org/jira/browse/SPARK-20433
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.1.0
>            Reporter: Andrew Ash
>              Labels: security
>
> There was a security vulnerability recently reported to the upstream 
> jackson-databind project at 
> https://github.com/FasterXML/jackson-databind/issues/1599 which now has a fix 
> released.
> From my reading of that, versions 2.7.9.1, 2.8.8.1, and 2.9.0.pr3 are the 
> first fixed versions in their respectful 2.X branches, and versions in the 
> 2.6.X line and earlier remain vulnerable.
> Right now Spark master branch is on 2.6.5: 
> https://github.com/apache/spark/blob/master/pom.xml#L164
> and Hadoop branch-2.7 is on 2.2.3: 
> https://github.com/apache/hadoop/blob/branch-2.7/hadoop-project/pom.xml#L71
> and Hadoop branch-3.0.0-alpha2 is on 2.7.8: 
> https://github.com/apache/hadoop/blob/branch-3.0.0-alpha2/hadoop-project/pom.xml#L74
> We should try to find to find a way to get on a patched version of 
> jackson-bind for the Spark 2.2.0 release.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to