You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by jo...@apache.org on 2022/03/24 16:00:27 UTC

[impala] branch master updated (f9dfd1f -> b694901)

This is an automated email from the ASF dual-hosted git repository.

joemcdonnell pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git.


    from f9dfd1f  IMPALA-11196 Fix ClientCacheTest ASAN and TSAN build failure
     new aa404b8  IMPALA-11197/IMPALA-11149: Address CVEs in pac4j/xmlsec
     new b694901  IMPALA-11198: Exclude aws-java-sdk-bundle coming from Ranger audit

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 fe/pom.xml   |  6 ++++++
 java/pom.xml | 12 +++++++-----
 2 files changed, 13 insertions(+), 5 deletions(-)

[impala] 02/02: IMPALA-11198: Exclude aws-java-sdk-bundle coming from Ranger audit

Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

joemcdonnell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit b694901414b05d4f7696b424507e253f07d0a182
Author: Joe McDonnell <jo...@cloudera.com>
AuthorDate: Wed Mar 23 17:30:56 2022 -0700

    IMPALA-11198: Exclude aws-java-sdk-bundle coming from Ranger audit
    
    Ranger started pulling in aws-java-sdk-bundle. Impala uses a
    stripped down version of this jar (impala-minimal-s3a-aws-sdk)
    to save space and we don't need aws-java-sdk-bundle. This adds
    an exclusion to ranger-plugins-audit to avoid this dependency.
    
    Testing:
     - Ran core tests
    
    Change-Id: Ia60601e9f21661f62a6c261e547f67a26e0400d0
    Reviewed-on: http://gerrit.cloudera.org:8080/18349
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
    Reviewed-by: Csaba Ringhofer <cs...@cloudera.com>
---
 fe/pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/fe/pom.xml b/fe/pom.xml
index 8cfa721..62cb57c 100644
--- a/fe/pom.xml
+++ b/fe/pom.xml
@@ -162,6 +162,12 @@ under the License.
           <groupId>org.apache.hive</groupId>
           <artifactId>hive-exec</artifactId>
         </exclusion>
+        <!-- Exclude the aws-java-sdk-bundle dependency because the Impala minimal
+             version of this dependency is used instead. -->
+        <exclusion>
+          <groupId>com.amazonaws</groupId>
+          <artifactId>aws-java-sdk-bundle</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
 

[impala] 01/02: IMPALA-11197/IMPALA-11149: Address CVEs in pac4j/xmlsec

Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

joemcdonnell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit aa404b856f182e381f1d40b55dc568d87828d2ec
Author: Joe McDonnell <jo...@cloudera.com>
AuthorDate: Wed Mar 23 17:14:46 2022 -0700

    IMPALA-11197/IMPALA-11149: Address CVEs in pac4j/xmlsec
    
    This upgrades pac4j and several of its dependencies
    (including xmlsec) to address CVEs in those components.
    Specifically:
     - pac4j 4.5.5 addresses CVE-2021-44878
     - xmlsec 2.2.3 addresses CVE-2021-40690
     - bcprov 1.68 addresses CVE-2020-15522
    
    This also upgrade springframework to 5.2.9.RELEASE to
    match the version for pac4j 4.5.5.
    
    Testing:
     - Ran core job
    
    Change-Id: I8421d867dd0fce8eeaa6bc13a511ca3e8dd05723
    Reviewed-on: http://gerrit.cloudera.org:8080/18348
    Reviewed-by: Csaba Ringhofer <cs...@cloudera.com>
    Tested-by: Joe McDonnell <jo...@cloudera.com>
---
 java/pom.xml | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/java/pom.xml b/java/pom.xml
index 0e26d95..81bd034 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -67,12 +67,14 @@ under the License.
     <jackson-databind.version>2.10.5.1</jackson-databind.version>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <iceberg.version>${env.IMPALA_ICEBERG_VERSION}</iceberg.version>
-    <pac4j.version>4.0.3</pac4j.version>
+    <pac4j.version>4.5.5</pac4j.version>
     <!-- xmlsec, bcprov-jdk15on and springframework are not used by Impala directly,
-         but needed to replace pac4j 4.0.3's unsafe versions -->
-    <xmlsec.version>2.2.1</xmlsec.version>
-    <bcprov-jdk15on.version>1.64</bcprov-jdk15on.version>
-    <springframework.version>4.3.29.RELEASE</springframework.version>
+         but they are needed by pac4j. This uses a newer xmlsec to address a CVE,
+         but bcprov-jdk15on and springframework versions match the versions from
+         pac4j 4.5.5. -->
+    <xmlsec.version>2.2.3</xmlsec.version>
+    <bcprov-jdk15on.version>1.68</bcprov-jdk15on.version>
+    <springframework.version>5.2.9.RELEASE</springframework.version>
     <json-smart.version>2.4.7</json-smart.version>
   </properties>