commons-beanutils:commons-beanutils@1.9.4 vulnerabilities

  • latest version

    1.11.0

  • latest non vulnerable version

  • first published

    19 years ago

  • latest version published

    4 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the commons-beanutils:commons-beanutils package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

    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.

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

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

    [1.0,1.11.0)