temporalio / temporalio/samples-java

jackson-json-crypto-1.1.0.jar: 1 vulnerabilities (highest severity is: 6.1)

オープン
#268 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Mend: dependency security vulnerability
主要言語
Java
スター
258
フォーク
189
平均マージ
6日 4時間
マージ済み PR(30日)
4

説明

Vulnerable Library - jackson-json-crypto-1.1.0.jar

Path to dependency file: /core/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.hibernate/hibernate-validator/5.3.0.Final/fe2600d905fc7ca8294044310c3b2a72e98ec27e/hibernate-validator-5.3.0.Final.jar

Found in HEAD commit: a098522a3d94dca5cfac985284941f2c5b8d28ca

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (jackson-json-crypto version) Remediation Possible**
CVE-2023-1932 Medium 6.1 hibernate-validator-5.3.0.Final.jar Transitive 2.1.0

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2023-1932
Vulnerable Library - hibernate-validator-5.3.0.Final.jar

Hibernate's Bean Validation (JSR-303) reference implementation.

Library home page: http://hibernate.org/validator

Path to dependency file: /core/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.hibernate/hibernate-validator/5.3.0.Final/fe2600d905fc7ca8294044310c3b2a72e98ec27e/hibernate-validator-5.3.0.Final.jar

Dependency Hierarchy:

  • jackson-json-crypto-1.1.0.jar (Root Library)
    • hibernate-validator-5.3.0.Final.jar (Vulnerable Library)

Found in HEAD commit: a098522a3d94dca5cfac985284941f2c5b8d28ca

Found in base branch: main

Vulnerability Details

A vulnerability was found in hibernate-validator version 6.1.2.Final, where the method 'isValid' in the class org.hibernate.validator.internal.constraintvalidators.hv.SafeHtmlValidator can by bypassed by omitting the tag end (less than sign). Browsers typically still render the invalid html which leads to attacks like HTML injection and Cross-Site-Scripting.

Publish Date: 2023-04-07

URL: CVE-2023-1932

CVSS 3 Score Details (6.1)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://bugzilla.redhat.com/show_bug.cgi?id=1809444

Release Date: 2023-04-07

Fix Resolution (org.hibernate:hibernate-validator): 6.2.0.CR1

Direct dependency fix Resolution (com.codingrodent:jackson-json-crypto): 2.1.0

⛑️ Automatic Remediation will be attempted for this issue.


:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

core/build.gradleから始め、jackson-json-cryptoとhibernate-validatorの依存関係階層を調査します。修正の詳細に従って依存関係を更新し、その後プロジェクトの依存関係または脆弱性スキャンを実行します。CVE-2023-1932が報告されなくなれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
build-system, security
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。