You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2022/04/22 04:33:59 UTC

[GitHub] [skywalking] sonatype-lift[bot] commented on a diff in pull request #8926: Fix the kafka consumer configuration override bug.

sonatype-lift[bot] commented on code in PR #8926:
URL: https://github.com/apache/skywalking/pull/8926#discussion_r855758235


##########
oap-server/server-storage-plugin/storage-banyandb-plugin/pom.xml:
##########
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  ~
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <parent>
+        <artifactId>server-storage-plugin</artifactId>
+        <groupId>org.apache.skywalking</groupId>
+        <version>9.1.0-SNAPSHOT</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+
+    <artifactId>storage-banyandb-plugin</artifactId>
+    <packaging>jar</packaging>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.skywalking</groupId>
+            <artifactId>server-core</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.skywalking</groupId>
+            <artifactId>library-client</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>

Review Comment:
   *Severe OSS Vulnerability:*
   ### pkg:maven/org.apache.skywalking/library-datacarrier-queue@9.1.0-SNAPSHOT
   0 Critical, 1 Severe, 0 Moderate, 0 Unknown vulnerabilities have been found across 1 dependencies
   
   <details>
     <summary><b>Components</b></summary><br/>
     <ul>
         <details>
           <summary><b>pkg:maven/com.google.guava/guava@31.1-jre</b></summary>
           <ul>
     <details>
       <summary><b>SEVERE Vulnerabilities (1)</b></summary><br/>
   <ul>
   
   > #### [sonatype-2020-0926] CWE-379: Creation of Temporary File in Directory with Incorrect Permissions
   > guava - Creation of Temporary File in Directory with Insecure Permissions [CVE-2020-8908]
   
   The software creates a temporary file in a directory whose permissions allow unintended actors to determine the file&#39;s existence or otherwise access that file.
   >
   > **CVSS Score:** 6.2
   >
   > **CVSS Vector:** CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
   >
   > **CWE:** CWE-379
   
   </ul>
       </details>
           </ul>
         </details>
     </ul>
   </details>
   
   (at-me [in a reply](https://help.sonatype.com/lift/talking-to-lift) with `help` or `ignore`)
   
   ---
   
   Was this a good recommendation?
   [ [🙁 Not relevant](https://www.sonatype.com/lift-comment-rating?comment=196333802&lift_comment_rating=1) ] - [ [😕 Won't fix](https://www.sonatype.com/lift-comment-rating?comment=196333802&lift_comment_rating=2) ] - [ [😑 Not critical, will fix](https://www.sonatype.com/lift-comment-rating?comment=196333802&lift_comment_rating=3) ] - [ [🙂 Critical, will fix](https://www.sonatype.com/lift-comment-rating?comment=196333802&lift_comment_rating=4) ] - [ [😊 Critical, fixing now](https://www.sonatype.com/lift-comment-rating?comment=196333802&lift_comment_rating=5) ]



##########
oap-server/server-starter/pom.xml:
##########
@@ -197,6 +197,11 @@
             <artifactId>storage-iotdb-plugin</artifactId>
             <version>${project.version}</version>
         </dependency>
+        <dependency>

Review Comment:
   *Severe OSS Vulnerability:*
   ### pkg:maven/org.apache.skywalking/storage-banyandb-plugin@9.1.0-SNAPSHOT
   0 Critical, 4 Severe, 0 Moderate, 0 Unknown vulnerabilities have been found across 4 dependencies
   
   <details>
     <summary><b>Components</b></summary><br/>
     <ul>
         <details>
           <summary><b>pkg:maven/io.netty/netty-handler@4.1.68.Final</b></summary>
           <ul>
     <details>
       <summary><b>SEVERE Vulnerabilities (1)</b></summary><br/>
   <ul>
   
   > #### [sonatype-2020-0026] CWE-300: Channel Accessible by Non-Endpoint ('Man-in-the-Middle')
   > netty-handler - Improper Certificate Validation
   
   The product does not adequately verify the identity of actors at both ends of a communication channel, or does not adequately ensure the integrity of the channel, in a way that allows the channel to be accessed or influenced by an actor that is not an endpoint.
   >
   > **CVSS Score:** 6.5
   >
   > **CVSS Vector:** CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
   >
   > **CWE:** CWE-300
   
   </ul>
       </details>
           </ul>
         </details>
         <details>
           <summary><b>pkg:maven/io.grpc/grpc-core@1.43.2</b></summary>
           <ul>
     <details>
       <summary><b>SEVERE Vulnerabilities (1)</b></summary><br/>
   <ul>
   
   > #### [sonatype-2021-0818] CWE-404: Improper Resource Shutdown or Release
   > grpc-core - Improper Resource Shutdown or Release
   
   The program does not release or incorrectly releases a resource before it is made available for re-use.
   >
   > **CVSS Score:** 6.5
   >
   > **CVSS Vector:** CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
   >
   > **CWE:** CWE-404
   
   </ul>
       </details>
           </ul>
         </details>
         <details>
           <summary><b>pkg:maven/com.google.guava/guava@31.1-jre</b></summary>
           <ul>
     <details>
       <summary><b>SEVERE Vulnerabilities (1)</b></summary><br/>
   <ul>
   
   > #### [sonatype-2020-0926] CWE-379: Creation of Temporary File in Directory with Incorrect Permissions
   > guava - Creation of Temporary File in Directory with Insecure Permissions [CVE-2020-8908]
   
   The software creates a temporary file in a directory whose permissions allow unintended actors to determine the file&#39;s existence or otherwise access that file.
   >
   > **CVSS Score:** 6.2
   >
   > **CVSS Vector:** CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
   >
   > **CWE:** CWE-379
   
   </ul>
       </details>
           </ul>
         </details>
         <details>
           <summary><b>pkg:maven/io.netty/netty-codec-http@4.1.68.Final</b></summary>
           <ul>
     <details>
       <summary><b>SEVERE Vulnerabilities (1)</b></summary><br/>
   <ul>
   
   > #### [CVE-2021-43797] CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')
   > Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers &amp; clients. Netty prior to version 4.1.71.Final skips control chars when they are present at the beginning / end of the header name. It should instead fail fast as these are not allowed by the spec and could lead to HTTP request smuggling. Failing to do the validation might cause netty to &quot;sanitize&quot; header names before it forward these to another remote system when used as proxy. This remote system can&#39;t see the invalid usage anymore, and therefore does not do the validation itself. Users should upgrade to version 4.1.71.Final.
   >
   > **CVSS Score:** 6.5
   >
   > **CVSS Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
   >
   > **CWE:** CWE-444
   
   </ul>
       </details>
           </ul>
         </details>
     </ul>
   </details>
   
   (at-me [in a reply](https://help.sonatype.com/lift/talking-to-lift) with `help` or `ignore`)
   
   ---
   
   Was this a good recommendation?
   [ [🙁 Not relevant](https://www.sonatype.com/lift-comment-rating?comment=196333787&lift_comment_rating=1) ] - [ [😕 Won't fix](https://www.sonatype.com/lift-comment-rating?comment=196333787&lift_comment_rating=2) ] - [ [😑 Not critical, will fix](https://www.sonatype.com/lift-comment-rating?comment=196333787&lift_comment_rating=3) ] - [ [🙂 Critical, will fix](https://www.sonatype.com/lift-comment-rating?comment=196333787&lift_comment_rating=4) ] - [ [😊 Critical, fixing now](https://www.sonatype.com/lift-comment-rating?comment=196333787&lift_comment_rating=5) ]



##########
oap-server/server-storage-plugin/storage-banyandb-plugin/pom.xml:
##########
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  ~
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <parent>
+        <artifactId>server-storage-plugin</artifactId>
+        <groupId>org.apache.skywalking</groupId>
+        <version>9.1.0-SNAPSHOT</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+
+    <artifactId>storage-banyandb-plugin</artifactId>
+    <packaging>jar</packaging>
+
+    <dependencies>
+        <dependency>

Review Comment:
   *Severe OSS Vulnerability:*
   ### pkg:maven/org.apache.skywalking/server-core@9.1.0-SNAPSHOT
   0 Critical, 4 Severe, 0 Moderate, 0 Unknown vulnerabilities have been found across 4 dependencies
   
   <details>
     <summary><b>Components</b></summary><br/>
     <ul>
         <details>
           <summary><b>pkg:maven/io.grpc/grpc-core@1.43.2</b></summary>
           <ul>
     <details>
       <summary><b>SEVERE Vulnerabilities (1)</b></summary><br/>
   <ul>
   
   > #### [sonatype-2021-0818] CWE-404: Improper Resource Shutdown or Release
   > grpc-core - Improper Resource Shutdown or Release
   
   The program does not release or incorrectly releases a resource before it is made available for re-use.
   >
   > **CVSS Score:** 6.5
   >
   > **CVSS Vector:** CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
   >
   > **CWE:** CWE-404
   
   </ul>
       </details>
           </ul>
         </details>
         <details>
           <summary><b>pkg:maven/io.netty/netty-handler@4.1.68.Final</b></summary>
           <ul>
     <details>
       <summary><b>SEVERE Vulnerabilities (1)</b></summary><br/>
   <ul>
   
   > #### [sonatype-2020-0026] CWE-300: Channel Accessible by Non-Endpoint ('Man-in-the-Middle')
   > netty-handler - Improper Certificate Validation
   
   The product does not adequately verify the identity of actors at both ends of a communication channel, or does not adequately ensure the integrity of the channel, in a way that allows the channel to be accessed or influenced by an actor that is not an endpoint.
   >
   > **CVSS Score:** 6.5
   >
   > **CVSS Vector:** CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
   >
   > **CWE:** CWE-300
   
   </ul>
       </details>
           </ul>
         </details>
         <details>
           <summary><b>pkg:maven/com.google.guava/guava@31.1-jre</b></summary>
           <ul>
     <details>
       <summary><b>SEVERE Vulnerabilities (1)</b></summary><br/>
   <ul>
   
   > #### [sonatype-2020-0926] CWE-379: Creation of Temporary File in Directory with Incorrect Permissions
   > guava - Creation of Temporary File in Directory with Insecure Permissions [CVE-2020-8908]
   
   The software creates a temporary file in a directory whose permissions allow unintended actors to determine the file&#39;s existence or otherwise access that file.
   >
   > **CVSS Score:** 6.2
   >
   > **CVSS Vector:** CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
   >
   > **CWE:** CWE-379
   
   </ul>
       </details>
           </ul>
         </details>
         <details>
           <summary><b>pkg:maven/io.netty/netty-codec-http@4.1.68.Final</b></summary>
           <ul>
     <details>
       <summary><b>SEVERE Vulnerabilities (1)</b></summary><br/>
   <ul>
   
   > #### [CVE-2021-43797] CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')
   > Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers &amp; clients. Netty prior to version 4.1.71.Final skips control chars when they are present at the beginning / end of the header name. It should instead fail fast as these are not allowed by the spec and could lead to HTTP request smuggling. Failing to do the validation might cause netty to &quot;sanitize&quot; header names before it forward these to another remote system when used as proxy. This remote system can&#39;t see the invalid usage anymore, and therefore does not do the validation itself. Users should upgrade to version 4.1.71.Final.
   >
   > **CVSS Score:** 6.5
   >
   > **CVSS Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
   >
   > **CWE:** CWE-444
   
   </ul>
       </details>
           </ul>
         </details>
     </ul>
   </details>
   
   (at-me [in a reply](https://help.sonatype.com/lift/talking-to-lift) with `help` or `ignore`)
   
   ---
   
   Was this a good recommendation?
   [ [🙁 Not relevant](https://www.sonatype.com/lift-comment-rating?comment=196333800&lift_comment_rating=1) ] - [ [😕 Won't fix](https://www.sonatype.com/lift-comment-rating?comment=196333800&lift_comment_rating=2) ] - [ [😑 Not critical, will fix](https://www.sonatype.com/lift-comment-rating?comment=196333800&lift_comment_rating=3) ] - [ [🙂 Critical, will fix](https://www.sonatype.com/lift-comment-rating?comment=196333800&lift_comment_rating=4) ] - [ [😊 Critical, fixing now](https://www.sonatype.com/lift-comment-rating?comment=196333800&lift_comment_rating=5) ]



##########
oap-server/server-storage-plugin/storage-banyandb-plugin/pom.xml:
##########
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  ~
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <parent>
+        <artifactId>server-storage-plugin</artifactId>
+        <groupId>org.apache.skywalking</groupId>
+        <version>9.1.0-SNAPSHOT</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+
+    <artifactId>storage-banyandb-plugin</artifactId>
+    <packaging>jar</packaging>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.skywalking</groupId>
+            <artifactId>server-core</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>

Review Comment:
   *Severe OSS Vulnerability:*
   ### pkg:maven/org.apache.skywalking/library-client@9.1.0-SNAPSHOT
   0 Critical, 4 Severe, 0 Moderate, 0 Unknown vulnerabilities have been found across 4 dependencies
   
   <details>
     <summary><b>Components</b></summary><br/>
     <ul>
         <details>
           <summary><b>pkg:maven/io.netty/netty-handler@4.1.68.Final</b></summary>
           <ul>
     <details>
       <summary><b>SEVERE Vulnerabilities (1)</b></summary><br/>
   <ul>
   
   > #### [sonatype-2020-0026] CWE-300: Channel Accessible by Non-Endpoint ('Man-in-the-Middle')
   > netty-handler - Improper Certificate Validation
   
   The product does not adequately verify the identity of actors at both ends of a communication channel, or does not adequately ensure the integrity of the channel, in a way that allows the channel to be accessed or influenced by an actor that is not an endpoint.
   >
   > **CVSS Score:** 6.5
   >
   > **CVSS Vector:** CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
   >
   > **CWE:** CWE-300
   
   </ul>
       </details>
           </ul>
         </details>
         <details>
           <summary><b>pkg:maven/io.grpc/grpc-core@1.43.2</b></summary>
           <ul>
     <details>
       <summary><b>SEVERE Vulnerabilities (1)</b></summary><br/>
   <ul>
   
   > #### [sonatype-2021-0818] CWE-404: Improper Resource Shutdown or Release
   > grpc-core - Improper Resource Shutdown or Release
   
   The program does not release or incorrectly releases a resource before it is made available for re-use.
   >
   > **CVSS Score:** 6.5
   >
   > **CVSS Vector:** CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
   >
   > **CWE:** CWE-404
   
   </ul>
       </details>
           </ul>
         </details>
         <details>
           <summary><b>pkg:maven/com.google.guava/guava@31.1-jre</b></summary>
           <ul>
     <details>
       <summary><b>SEVERE Vulnerabilities (1)</b></summary><br/>
   <ul>
   
   > #### [sonatype-2020-0926] CWE-379: Creation of Temporary File in Directory with Incorrect Permissions
   > guava - Creation of Temporary File in Directory with Insecure Permissions [CVE-2020-8908]
   
   The software creates a temporary file in a directory whose permissions allow unintended actors to determine the file&#39;s existence or otherwise access that file.
   >
   > **CVSS Score:** 6.2
   >
   > **CVSS Vector:** CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
   >
   > **CWE:** CWE-379
   
   </ul>
       </details>
           </ul>
         </details>
         <details>
           <summary><b>pkg:maven/io.netty/netty-codec-http@4.1.68.Final</b></summary>
           <ul>
     <details>
       <summary><b>SEVERE Vulnerabilities (1)</b></summary><br/>
   <ul>
   
   > #### [CVE-2021-43797] CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')
   > Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers &amp; clients. Netty prior to version 4.1.71.Final skips control chars when they are present at the beginning / end of the header name. It should instead fail fast as these are not allowed by the spec and could lead to HTTP request smuggling. Failing to do the validation might cause netty to &quot;sanitize&quot; header names before it forward these to another remote system when used as proxy. This remote system can&#39;t see the invalid usage anymore, and therefore does not do the validation itself. Users should upgrade to version 4.1.71.Final.
   >
   > **CVSS Score:** 6.5
   >
   > **CVSS Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
   >
   > **CWE:** CWE-444
   
   </ul>
       </details>
           </ul>
         </details>
     </ul>
   </details>
   
   (at-me [in a reply](https://help.sonatype.com/lift/talking-to-lift) with `help` or `ignore`)
   
   ---
   
   Was this a good recommendation?
   [ [🙁 Not relevant](https://www.sonatype.com/lift-comment-rating?comment=196333801&lift_comment_rating=1) ] - [ [😕 Won't fix](https://www.sonatype.com/lift-comment-rating?comment=196333801&lift_comment_rating=2) ] - [ [😑 Not critical, will fix](https://www.sonatype.com/lift-comment-rating?comment=196333801&lift_comment_rating=3) ] - [ [🙂 Critical, will fix](https://www.sonatype.com/lift-comment-rating?comment=196333801&lift_comment_rating=4) ] - [ [😊 Critical, fixing now](https://www.sonatype.com/lift-comment-rating?comment=196333801&lift_comment_rating=5) ]



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org