hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siyao Meng (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-16676) Security Vulnerability for dependency jetty-xml (Backport HADOOP-16152 to branch-3.2)
Date Thu, 07 Nov 2019 17:57:00 GMT

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

Siyao Meng commented on HADOOP-16676:
-------------------------------------

[~weichiu] During the backport to 3.2 I do notice some jetty exclusion rules not there in
{{hadoop-client-minicluster/pom.xml}} and {{hadoop-client-runtime/pom.xml}}, meaning there
could be other jiras that we want to backport before this one. Will look into it.

{code:title=https://builds.apache.org/job/PreCommit-HADOOP-Build/16630/artifact/out/patch-shadedclient.txt}
[INFO] Running org.apache.hadoop.example.ITUseMiniCluster
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 5.919 s <<<
FAILURE! - in org.apache.hadoop.example.ITUseMiniCluster
[ERROR] useWebHDFS(org.apache.hadoop.example.ITUseMiniCluster)  Time elapsed: 4.006 s  <<<
ERROR!
java.io.IOException: Unable to initialize WebAppContext
	at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1165)
	at org.apache.hadoop.hdfs.server.namenode.NameNodeHttpServer.start(NameNodeHttpServer.java:181)
...
Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/shaded/org/eclipse/jetty/xml/XmlParser
	at org.apache.hadoop.shaded.org.eclipse.jetty.webapp.MetaData.setWebXml(MetaData.java:191)
...
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.shaded.org.eclipse.jetty.xml.XmlParser
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
...

[ERROR] useHdfsFileSystem(org.apache.hadoop.example.ITUseMiniCluster)  Time elapsed: 1.804
s  <<< ERROR!
java.io.IOException: Unable to initialize WebAppContext
	at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1165)
...
Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/shaded/org/eclipse/jetty/xml/XmlParser
	at org.apache.hadoop.shaded.org.eclipse.jetty.webapp.MetaData.setWebXml(MetaData.java:191)
...
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.shaded.org.eclipse.jetty.xml.XmlParser
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)

[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   ITUseMiniCluster.clusterUp:74 ? IO Unable to initialize WebAppContext
[ERROR]   ITUseMiniCluster.clusterUp:74 ? IO Unable to initialize WebAppContext
[INFO] 
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
{code}

> Security Vulnerability for dependency jetty-xml (Backport HADOOP-16152 to branch-3.2)
> -------------------------------------------------------------------------------------
>
>                 Key: HADOOP-16676
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16676
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 3.2.1
>            Reporter: DW
>            Assignee: Siyao Meng
>            Priority: Major
>         Attachments: HADOOP-16676.branch-3.2.001.patch, HADOOP-16676.branch-3.2.001.patch
>
>
> Hello,
>  
> org.apache.hadoop:hadoop-common define the dependency to jetty-webapp and jetty-xml
in version v9.3.24 with known CVE-2017-9735. Please can you upgrade to version 9.4.7 or higher?
> +--- org.apache.hadoop:hadoop-client:3.2.1
> | +--- org.apache.hadoop:hadoop-common:3.2.1
> | +--- org.eclipse.jetty:jetty-webapp:9.3.24.v20180605
> | | | +--- org.eclipse.jetty:jetty-xml:9.3.24.v20180605
> | | | \--- org.eclipse.jetty:jetty-servlet:9.3.24.v20180605 (*)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message