CVE-2025-48734
ADVISORY - githubSummary
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.
Common Weakness Enumeration (CWE)
Improper Access Control
Improper Access Control
NIST
2.8
CVSS SCORE
8.8highGitHub
2.8
CVSS SCORE
8.8highDebian
-
Ubuntu
-
CVSS SCORE
N/AmediumAlma
-
CVSS SCORE
N/AhighAlma
-
CVSS SCORE
N/AhighAmazon
-
CVSS SCORE
N/AhighAmazon
-
CVSS SCORE
N/AhighAmazon
-
CVSS SCORE
N/AhighRed Hat
2.8
CVSS SCORE
8.8highRocky
-
CVSS SCORE
N/AhighRocky
-
CVSS SCORE
N/AhighRocky
-
CVSS SCORE
N/AhighOracle
-
CVSS SCORE
N/AhighOracle
-
CVSS SCORE
N/AhighOracle
-
CVSS SCORE
N/AhighOracle
-
CVSS SCORE
N/AhighChainguard
CGA-2g8v-879r-gcr3
-
Chainguard
CGA-4329-v87w-cxx5
-
Chainguard
CGA-44wh-mrp3-9r73
-
Chainguard
CGA-4m3v-9fm7-3827
-
Chainguard
CGA-4vxj-ffhj-xx7v
-
Chainguard
CGA-6294-j3wv-p997
-
Chainguard
CGA-65c9-4g2c-373p
-
Chainguard
CGA-682q-54jc-4587
-
Chainguard
CGA-6hmg-32q3-35m2
-
Chainguard
CGA-6v77-vhx2-j74f
-
Chainguard
CGA-833r-vwc8-62f8
-
Chainguard
CGA-c46g-426g-5hxr
-
Chainguard
CGA-ccc8-656h-rc37
-
Chainguard
CGA-f3gg-fqpw-f434
-
Chainguard
CGA-h6g7-pxcx-m22q
-
Chainguard
CGA-h73m-gfrj-3j4v
-
Chainguard
CGA-hg4r-wggg-wv2r
-
Chainguard
CGA-j63w-qc95-rg2q
-
Chainguard
CGA-jqx3-wwgp-2r3g
-
Chainguard
CGA-mh8p-6rr9-xrhf
-
Chainguard
CGA-p9rh-wq8w-5xr8
-
Chainguard
CGA-pfc4-84h8-cv7h
-
Chainguard
CGA-q9p5-pgm4-hw27
-
Chainguard
CGA-wrw4-qfp6-7h6x
-
Chainguard
CGA-xrg4-fgj3-f9vq
-
minimos
MINI-2cxh-ppgj-g2hp
-
minimos
MINI-2j52-wf6v-mmh3
-
minimos
MINI-59cr-8g3w-8832
-
minimos
MINI-665m-4pcp-q27m
-
minimos
MINI-9m2c-5qc5-3pxh
-
minimos
MINI-fw6x-hw6c-62qx
-
minimos
MINI-gpqc-vx7g-336f
-
minimos
MINI-p2qj-c8mw-3m7h
-
minimos
MINI-q8h7-v5pq-9rpm
-
minimos
MINI-qgrj-2f6x-9963
-
minimos
MINI-rpvj-hhqf-7hqf
-
minimos
MINI-vwp9-gf3w-qx35
-
minimos
MINI-x8xg-3rm7-h6qv
-
minimos
MINI-x9f4-3x3p-m2v6
-