Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 4, 2025

This PR contains the following updates:

Package Change Age Confidence
commons-beanutils:commons-beanutils (source) 1.9.4 -> 1.11.0 age confidence

GitHub Vulnerability Alerts

CVE-2025-48734

Improper Access Control vulnerability in Apache Commons.

A special BeanIntrospector class was added in version 1.9.2. This can be used to stop attackers from using the declared class property of Java enum objects to get access to the classloader. However this protection was not enabled by default. PropertyUtilsBean (and consequently BeanUtilsBean) now disallows declared class level property access by default.

Releases 1.11.0 and 2.0.0-M2 address a potential security issue when accessing enum properties in an uncontrolled way. If an application using Commons BeanUtils passes property paths from an external source directly to the getProperty() method of PropertyUtilsBean, an attacker can access the enum’s class loader via the “declaredClass” property available on all Java “enum” objects. Accessing the enum’s “declaredClass” allows remote attackers to access the ClassLoader and execute arbitrary code. The same issue exists with PropertyUtilsBean.getNestedProperty().
Starting in versions 1.11.0 and 2.0.0-M2 a special BeanIntrospector suppresses the “declaredClass” property. Note that this new BeanIntrospector is enabled by default, but you can disable it to regain the old behavior; see section 2.5 of the user's guide and the unit tests.

This issue affects Apache Commons BeanUtils 1.x before 1.11.0, and 2.x before 2.0.0-M2.Users of the artifact commons-beanutils:commons-beanutils

1.x are recommended to upgrade to version 1.11.0, which fixes the issue.

Users of the artifact org.apache.commons:commons-beanutils2

2.x are recommended to upgrade to version 2.0.0-M2, which fixes the issue.


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the security label Jun 4, 2025
@renovate renovate bot force-pushed the renovate/maven-commons-beanutils-commons-beanutils-vulnerability branch from 8cf6067 to 98556a9 Compare June 17, 2025 09:27
@renovate renovate bot force-pushed the renovate/maven-commons-beanutils-commons-beanutils-vulnerability branch 3 times, most recently from 1b1b278 to 200986a Compare August 19, 2025 08:35
@renovate renovate bot force-pushed the renovate/maven-commons-beanutils-commons-beanutils-vulnerability branch from 200986a to cc97d87 Compare August 26, 2025 09:49
@renovate renovate bot force-pushed the renovate/maven-commons-beanutils-commons-beanutils-vulnerability branch from cc97d87 to bbe0fa2 Compare August 26, 2025 11:06
@morpheus-87 morpheus-87 merged commit ec557fd into main Aug 26, 2025
3 checks passed
@renovate renovate bot deleted the renovate/maven-commons-beanutils-commons-beanutils-vulnerability branch August 26, 2025 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants