Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2024-21634 (High) detected in ion-java-1.0.2.jar, ion-java-1.9.5.jar #3926

Closed
mend-for-github-com bot opened this issue Jan 9, 2024 · 1 comment · Fixed by #4134
Closed

CVE-2024-21634 (High) detected in ion-java-1.0.2.jar, ion-java-1.9.5.jar #3926

mend-for-github-com bot opened this issue Jan 9, 2024 · 1 comment · Fixed by #4134
Assignees
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Milestone

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Jan 9, 2024

CVE-2024-21634 - High Severity Vulnerability

Vulnerable Libraries - ion-java-1.0.2.jar, ion-java-1.9.5.jar

ion-java-1.0.2.jar

A Java implementation of the Amazon Ion data notation.

Library home page: https://github.com/amznlabs/ion-java/

Path to dependency file: /data-prepper-plugins/kafka-plugins/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/software.amazon.ion/ion-java/1.0.2/ee9dacea7726e495f8352b81c12c23834ffbc564/ion-java-1.0.2.jar

Dependency Hierarchy:

  • schema-registry-serde-1.1.15.jar (Root Library)
    • aws-java-sdk-sts-1.12.151.jar
      • aws-java-sdk-core-1.12.151.jar
        • ion-java-1.0.2.jar (Vulnerable Library)
ion-java-1.9.5.jar

A Java implementation of the Amazon Ion data notation.

Path to dependency file: /release/archives/linux/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.amazon.ion/ion-java/1.9.5/42becac25189163db3393f93c455a4db92d3029b/ion-java-1.9.5.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.amazon.ion/ion-java/1.9.5/42becac25189163db3393f93c455a4db92d3029b/ion-java-1.9.5.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.amazon.ion/ion-java/1.9.5/42becac25189163db3393f93c455a4db92d3029b/ion-java-1.9.5.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.amazon.ion/ion-java/1.9.5/42becac25189163db3393f93c455a4db92d3029b/ion-java-1.9.5.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.amazon.ion/ion-java/1.9.5/42becac25189163db3393f93c455a4db92d3029b/ion-java-1.9.5.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.amazon.ion/ion-java/1.9.5/42becac25189163db3393f93c455a4db92d3029b/ion-java-1.9.5.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.amazon.ion/ion-java/1.9.5/42becac25189163db3393f93c455a4db92d3029b/ion-java-1.9.5.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.amazon.ion/ion-java/1.9.5/42becac25189163db3393f93c455a4db92d3029b/ion-java-1.9.5.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.amazon.ion/ion-java/1.9.5/42becac25189163db3393f93c455a4db92d3029b/ion-java-1.9.5.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.amazon.ion/ion-java/1.9.5/42becac25189163db3393f93c455a4db92d3029b/ion-java-1.9.5.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.amazon.ion/ion-java/1.9.5/42becac25189163db3393f93c455a4db92d3029b/ion-java-1.9.5.jar

Dependency Hierarchy:

  • jackson-dataformat-ion-2.15.3.jar (Root Library)
    • ion-java-1.9.5.jar (Vulnerable Library)

Found in HEAD commit: 774fa213614252c4772b018731452f020cafa16a

Found in base branch: main

Vulnerability Details

Amazon Ion is a Java implementation of the Ion data notation. Prior to version 1.10.5, a potential denial-of-service issue exists in ion-java for applications that use ion-java to deserialize Ion text encoded data, or deserialize Ion text or binary encoded data into the IonValue model and then invoke certain IonValue methods on that in-memory representation. An actor could craft Ion data that, when loaded by the affected application and/or processed using the IonValue model, results in a StackOverflowError originating from the ion-java library. The patch is included in ion-java 1.10.5. As a workaround, do not load data which originated from an untrusted source or that could have been tampered with.

Publish Date: 2024-01-03

URL: CVE-2024-21634

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-264p-99wq-f4j6

Release Date: 2024-01-03

Fix Resolution: com.amazon.ion:ion-java:1.10.5

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jan 9, 2024
@dlvenable dlvenable added this to the v2.7 milestone Jan 9, 2024
@dlvenable dlvenable self-assigned this Jan 9, 2024
@dlvenable
Copy link
Member

This hasn't been release yet, but we should fix this vulnerability before releasing 2.7.

@mend-for-github-com mend-for-github-com bot changed the title CVE-2024-21634 (High) detected in ion-java-1.9.5.jar CVE-2024-21634 (High) detected in ion-java-1.0.2.jar, ion-java-1.9.5.jar Jan 22, 2024
dlvenable added a commit to dlvenable/data-prepper that referenced this issue Feb 15, 2024
… redact input data in exceptions. So a couple tests needed modifications. Additionally, this uses ion-java 1.10.5 which has a fix for CVE-2024-21634, so this PR will resolve opensearch-project#3926.

Signed-off-by: David Venable <dlv@amazon.com>
@dlvenable dlvenable mentioned this issue Feb 15, 2024
4 tasks
oeyh pushed a commit that referenced this issue Feb 28, 2024
… redact input data in exceptions. So a couple tests needed modifications. Additionally, this uses ion-java 1.10.5 which has a fix for CVE-2024-21634, so this PR will resolve #3926. (#4134)

Signed-off-by: David Venable <dlv@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
Development

Successfully merging a pull request may close this issue.

1 participant