Skip to content

Commit

Permalink
Update ivy version to 2.5.2 (#619)
Browse files Browse the repository at this point in the history
- Updates `org.apache.ivy:ivy` to version 2.5.2 to fix
CVE-2022-46751

- Adds 2 CVEs to trivyignore due to `debezium-supplier`
transitive dependencies.
  • Loading branch information
onobc authored Jan 24, 2025
1 parent e9afea1 commit 6cc9cdd
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
ignore-unfixed: true
severity: 'CRITICAL,HIGH'
exit-code: 1
trivyignores: .trivyignore
- name: 'Scanned'
shell: bash
run: echo "::info ::Scanned"
Expand Down
17 changes: 16 additions & 1 deletion .trivyignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
################################
## From debezium-supplier
################################
CVE-2023-1428
CVE-2023-32731

################################
# Snakeyaml 1.3.3
# SCDF usage has been mitigated.
################################
CVE-2022-1471
CVE-2016-1000027

################################
# Spring Web 5.3.x
# SCDF not affected.
################################
CVE-2016-1000027
4 changes: 0 additions & 4 deletions applications/processor/groovy-processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
<relativePath>../../stream-applications-core/pom.xml</relativePath>
</parent>

<properties>
<apache-ivy.version>2.5.1</apache-ivy.version>
</properties>

<dependencies>

<dependency>
Expand Down
1 change: 0 additions & 1 deletion applications/processor/script-processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<properties>
<jruby-complete.version>9.3.9.0</jruby-complete.version>
<jython-standalone.version>2.7.3</jython-standalone.version>
<apache-ivy.version>2.5.1</apache-ivy.version>
<graalvm.version>22.3.0</graalvm.version>
</properties>

Expand Down
1 change: 0 additions & 1 deletion scan-jar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ SCDIR=$(realpath $SCDIR)
if [[ "$1" != *"-sources.jar" ]] && [[ "$1" != *"-javadoc.jar" ]]; then
if [ "$TRIVY_UPLOAD" == "true" ]; then
echo "Scanning:$1"
echo "trivy rootfs --format sarif -o \"$1.sarif\" \"$1\""
trivy rootfs --exit-code 1 --format sarif -o "$1.sarif" "$1"
if [ -f "$1.sarif" ]; then
if [ -f $SCDIR/runs.sarif ]; then
Expand Down

0 comments on commit 6cc9cdd

Please sign in to comment.