Uploaded image for project: 'mod-gobi'
  1. mod-gobi
  2. MODGOBI-182

BigDecimal multiply without scala

    XMLWordPrintable

Details

    • Thunderjet
    • Related dependency upgrade
    • Nolana (R3 2022)

    Description

      mod-gobi adds org.scala-lang:scala-library:2.13.8 dependency that comes with a Remote Code Execution (RCE) vulnerability:

      https://nvd.nist.gov/vuln/detail/CVE-2022-36944

      mod-gobi uses scala to run scala.math.BigDecimal.$times.

      However, Scala implements this by calling java.math.BigDecimal.multiply:

      https://github.com/scala/scala/blob/v2.13.8/src/library/scala/math/BigDecimal.scala#L488-L490

      There is no need to bloat mod-gobi with scala-library, please directly call java.math.BigDecimal and remove the scala-library dependency.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Nosko Serhii Nosko
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases