Vulnerabilities

1 via 1 paths

Dependencies

44

Source

GitHub

Commit

d5130d4c

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 1
  • 5
Severity
  • 1
  • 5
Status
  • 6
  • 0
  • 0

high severity

Remote Code Execution (RCE)

  • Vulnerable module: com.h2database:h2
  • Introduced through: com.h2database:h2@2.3.232

Detailed paths

  • Introduced through: equinor/neqsim@equinor/neqsim#d5130d4c1565ee77bc1385b0c5947feecbd0f58c com.h2database:h2@2.3.232

Overview

com.h2database:h2 is a database engine

Affected versions of this package are vulnerable to Remote Code Execution (RCE). It provides a web console for managing the database, and by default it does not have a password set. The CREATE ALIAS function calls Java code, allowing an attacker to execute arbitrary Java code on projects running the h2 database.

NOTE: To be remotely exploitable, the affected application must be configured with the non-default setting webAllowOthers=true, either in a config file or as a parameter passed in when the servlet is invoked. The vulnerability can be avoided by setting a password on the database and/or restricting access to localhost using the above setting.

PoC

CREATE ALIAS REVERSE AS $$ String reverse(String s) { return new StringBuilder(s).reverse().toString(); } $$;
CALL REVERSE('Test');

Remediation

There is no fixed version for com.h2database:h2.

References

medium severity

LGPL-3.0 license

  • Module: com.github.fommil:jniloader
  • Introduced through: com.googlecode.matrix-toolkits-java:mtj@1.0.4

Detailed paths

  • Introduced through: equinor/neqsim@equinor/neqsim#d5130d4c1565ee77bc1385b0c5947feecbd0f58c com.googlecode.matrix-toolkits-java:mtj@1.0.4 com.github.fommil.netlib:all@1.1.2 com.github.fommil.netlib:netlib-native_ref-linux-armhf@1.1 com.github.fommil.netlib:native_ref-java@1.1 com.github.fommil:jniloader@1.1
  • Introduced through: equinor/neqsim@equinor/neqsim#d5130d4c1565ee77bc1385b0c5947feecbd0f58c com.googlecode.matrix-toolkits-java:mtj@1.0.4 com.github.fommil.netlib:all@1.1.2 com.github.fommil.netlib:netlib-native_ref-linux-i686@1.1 com.github.fommil.netlib:native_ref-java@1.1 com.github.fommil:jniloader@1.1
  • Introduced through: equinor/neqsim@equinor/neqsim#d5130d4c1565ee77bc1385b0c5947feecbd0f58c com.googlecode.matrix-toolkits-java:mtj@1.0.4 com.github.fommil.netlib:all@1.1.2 com.github.fommil.netlib:netlib-native_ref-linux-x86_64@1.1 com.github.fommil.netlib:native_ref-java@1.1 com.github.fommil:jniloader@1.1
  • Introduced through: equinor/neqsim@equinor/neqsim#d5130d4c1565ee77bc1385b0c5947feecbd0f58c com.googlecode.matrix-toolkits-java:mtj@1.0.4 com.github.fommil.netlib:all@1.1.2 com.github.fommil.netlib:netlib-native_ref-osx-x86_64@1.1 com.github.fommil.netlib:native_ref-java@1.1 com.github.fommil:jniloader@1.1
  • Introduced through: equinor/neqsim@equinor/neqsim#d5130d4c1565ee77bc1385b0c5947feecbd0f58c com.googlecode.matrix-toolkits-java:mtj@1.0.4 com.github.fommil.netlib:all@1.1.2 com.github.fommil.netlib:netlib-native_ref-win-i686@1.1 com.github.fommil.netlib:native_ref-java@1.1 com.github.fommil:jniloader@1.1
  • Introduced through: equinor/neqsim@equinor/neqsim#d5130d4c1565ee77bc1385b0c5947feecbd0f58c com.googlecode.matrix-toolkits-java:mtj@1.0.4 com.github.fommil.netlib:all@1.1.2 com.github.fommil.netlib:netlib-native_ref-win-x86_64@1.1 com.github.fommil.netlib:native_ref-java@1.1 com.github.fommil:jniloader@1.1
  • Introduced through: equinor/neqsim@equinor/neqsim#d5130d4c1565ee77bc1385b0c5947feecbd0f58c com.googlecode.matrix-toolkits-java:mtj@1.0.4 com.github.fommil.netlib:all@1.1.2 com.github.fommil.netlib:netlib-native_system-linux-armhf@1.1 com.github.fommil.netlib:native_system-java@1.1 com.github.fommil:jniloader@1.1
  • Introduced through: equinor/neqsim@equinor/neqsim#d5130d4c1565ee77bc1385b0c5947feecbd0f58c com.googlecode.matrix-toolkits-java:mtj@1.0.4 com.github.fommil.netlib:all@1.1.2 com.github.fommil.netlib:netlib-native_system-linux-i686@1.1 com.github.fommil.netlib:native_system-java@1.1 com.github.fommil:jniloader@1.1
  • Introduced through: equinor/neqsim@equinor/neqsim#d5130d4c1565ee77bc1385b0c5947feecbd0f58c com.googlecode.matrix-toolkits-java:mtj@1.0.4 com.github.fommil.netlib:all@1.1.2 com.github.fommil.netlib:netlib-native_system-linux-x86_64@1.1 com.github.fommil.netlib:native_system-java@1.1 com.github.fommil:jniloader@1.1
  • Introduced through: equinor/neqsim@equinor/neqsim#d5130d4c1565ee77bc1385b0c5947feecbd0f58c com.googlecode.matrix-toolkits-java:mtj@1.0.4 com.github.fommil.netlib:all@1.1.2 com.github.fommil.netlib:netlib-native_system-osx-x86_64@1.1 com.github.fommil.netlib:native_system-java@1.1 com.github.fommil:jniloader@1.1
  • Introduced through: equinor/neqsim@equinor/neqsim#d5130d4c1565ee77bc1385b0c5947feecbd0f58c com.googlecode.matrix-toolkits-java:mtj@1.0.4 com.github.fommil.netlib:all@1.1.2 com.github.fommil.netlib:netlib-native_system-win-i686@1.1 com.github.fommil.netlib:native_system-java@1.1 com.github.fommil:jniloader@1.1
  • Introduced through: equinor/neqsim@equinor/neqsim#d5130d4c1565ee77bc1385b0c5947feecbd0f58c com.googlecode.matrix-toolkits-java:mtj@1.0.4 com.github.fommil.netlib:all@1.1.2 com.github.fommil.netlib:netlib-native_system-win-x86_64@1.1 com.github.fommil.netlib:native_system-java@1.1 com.github.fommil:jniloader@1.1

LGPL-3.0 license

medium severity

LGPL-2.0 license

  • Module: com.googlecode.matrix-toolkits-java:mtj
  • Introduced through: com.googlecode.matrix-toolkits-java:mtj@1.0.4

Detailed paths

  • Introduced through: equinor/neqsim@equinor/neqsim#d5130d4c1565ee77bc1385b0c5947feecbd0f58c com.googlecode.matrix-toolkits-java:mtj@1.0.4

LGPL-2.0 license

medium severity

Dual license: EPL-1.0, MPL-2.0

  • Module: com.h2database:h2
  • Introduced through: com.h2database:h2@2.3.232

Detailed paths

  • Introduced through: equinor/neqsim@equinor/neqsim#d5130d4c1565ee77bc1385b0c5947feecbd0f58c com.h2database:h2@2.3.232

Dual license: EPL-1.0, MPL-2.0

medium severity

LGPL-3.0 license

  • Module: org.jfree:jcommon
  • Introduced through: org.jfree:jcommon@1.0.24

Detailed paths

  • Introduced through: equinor/neqsim@equinor/neqsim#d5130d4c1565ee77bc1385b0c5947feecbd0f58c org.jfree:jcommon@1.0.24

LGPL-3.0 license

medium severity

LGPL-3.0 license

  • Module: org.jfree:jfreechart
  • Introduced through: org.jfree:jfreechart@1.5.5

Detailed paths

  • Introduced through: equinor/neqsim@equinor/neqsim#d5130d4c1565ee77bc1385b0c5947feecbd0f58c org.jfree:jfreechart@1.5.5

LGPL-3.0 license