Vulnerabilities

1 via 2 paths

Dependencies

57

Source

GitHub

Commit

dd80ddf7

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 1
  • 1
Severity
  • 2
Status
  • 2
  • 0
  • 0

high severity

Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

  • Vulnerable module: commons-beanutils:commons-beanutils
  • Introduced through: org.apache.velocity.tools:velocity-tools-generic@3.1

Detailed paths

  • Introduced through: openmrs/openmrs-core@openmrs/openmrs-core#dd80ddf7d77d7b404ca9e03d26167d92db9430b8 org.apache.velocity.tools:velocity-tools-generic@3.1 commons-beanutils:commons-beanutils@1.9.4
  • Introduced through: openmrs/openmrs-core@openmrs/openmrs-core#dd80ddf7d77d7b404ca9e03d26167d92db9430b8 org.apache.velocity.tools:velocity-tools-generic@3.1 org.apache.commons:commons-digester3@3.2 commons-beanutils:commons-beanutils@1.9.4

Overview

commons-beanutils:commons-beanutils is a provides an easy-to-use but flexible wrapper around reflection and introspection.

Affected versions of this package are vulnerable to Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') via the getProperty and getNestedProperty methods of the PropertyUtilsBean class. An attacker can execute arbitrary code by accessing the declaredClass property of Java enum objects, which allows access to the ClassLoader.

Note:

The BeanIntrospector class that can mitigate this vulnerability was added in version 1.9.2 but its usage was not enabled by default.

Remediation

Upgrade commons-beanutils:commons-beanutils to version 1.11.0 or higher.

References

high severity
new

GPL-2.0 license

  • Module: jakarta.servlet.jsp:jakarta.servlet.jsp-api
  • Introduced through: jakarta.servlet.jsp:jakarta.servlet.jsp-api@4.1.0-M1

Detailed paths

  • Introduced through: openmrs/openmrs-core@openmrs/openmrs-core#dd80ddf7d77d7b404ca9e03d26167d92db9430b8 jakarta.servlet.jsp:jakarta.servlet.jsp-api@4.1.0-M1

GPL-2.0 license