Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions adls-plugins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
<artifactId>adls-plugins</artifactId>

<dependencies>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty</artifactId>
<version>${netty.version}</version>
</dependency>
Comment on lines +31 to +35

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-high high

Hardcoding dependency versions in child modules reduces maintainability and can lead to version mismatch issues across the project. It is highly recommended to define the version in the parent pom.xml (either under properties or dependencyManagement) and reference it here using a property.

Additionally, Netty 3.9.9.Final is an extremely old version with multiple known security vulnerabilities (CVEs). If a 3.x version is strictly required due to legacy dependencies, please consider upgrading to at least 3.10.6.Final. Otherwise, upgrading to a supported 4.x version is strongly recommended.

Suggested change
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty</artifactId>
<version>3.9.9.Final</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty</artifactId>
<version>${netty.version}</version>
</dependency>

<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro-mapred</artifactId>
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
<app.parents>
system:cdap-data-pipeline[6.11.0-SNAPSHOT,7.0.0-SNAPSHOT),system:cdap-data-streams[6.11.0-SNAPSHOT,7.0.0-SNAPSHOT)
</app.parents>
<netty.version>3.10.6.Final</netty.version>
<main.basedir>${project.basedir}</main.basedir>
</properties>

Expand Down
Loading