Skip to content

Commit 4cd563f

Browse files
committed
Document CVE-2025-48924 ClassUtils.getClass(...) can throw a
StackOverflowError on very long inputs
1 parent 1d5ba7a commit 4cd563f

File tree

1 file changed

+61
-11
lines changed

1 file changed

+61
-11
lines changed

src/site/xdoc/security.xml

Lines changed: 61 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
<?xml version="1.0"?>
2-
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
3-
distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under
4-
the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may
5-
obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to
6-
in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
7-
ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under
8-
the License. -->
2+
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding
3+
copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may
4+
obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
5+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the
6+
License. -->
97
<document>
108
<properties>
119
<title>Apache Commons Lang Security Reports</title>
@@ -25,14 +23,66 @@
2523
</p>
2624
<p>
2725
If you need help on building this component or other help on following the instructions to mitigate the known vulnerabilities listed here, please send
28-
your questions to the public
29-
<a href="mail-lists.html">user mailing list</a>.
26+
your questions to the
27+
public
28+
<a href="mail-lists.html">user mailing list</a>
29+
.
3030
</p>
3131
<p>
3232
If you have encountered an unlisted security vulnerability or other unexpected behavior that has security impact, or if the descriptions here are
33-
incomplete, please report them privately to the
34-
<a href="https://commons.apache.org/security.html">Apache Security Team</a>.
33+
incomplete, please report
34+
them privately to the
35+
<a href="https://commons.apache.org/security.html">Apache Security Team</a>
36+
.
3537
</p>
38+
<section name="CVE-2025-48924 ClassUtils.getClass(...) can throw a StackOverflowError on very long inputs">
39+
<p>
40+
ClassUtils.getClass(...) can throw a StackOverflowError on very long inputs.
41+
</p>
42+
<p>
43+
Affected versions:
44+
</p>
45+
<ul>
46+
<li>Apache Commons Lang (commons-lang:commons-lang) 2.0 through 2.6</li>
47+
<li>Apache Commons Lang (org.apache.commons:commons-lang3) 3.0 before 3.18.0</li>
48+
</ul>
49+
<p>
50+
Uncontrolled Recursion vulnerability in Apache Commons Lang.
51+
</p>
52+
<p>
53+
This issue affects Apache Commons Lang: Starting with commons-lang:commons-lang 2.0 to 2.6, and, from org.apache.commons:commons-lang3 3.0 before 3.18.0.
54+
</p>
55+
<p>
56+
The methods ClassUtils.getClass(...) can throw StackOverflowError on very long inputs. Because an Error is usually not handled by applications and libraries, a
57+
StackOverflowError could cause an application to stop.
58+
</p>
59+
<p>
60+
Users are recommended to upgrade to version 3.18.0, which fixes the issue.
61+
</p>
62+
<p>
63+
Credit:
64+
</p>
65+
<p>
66+
OSS-Fuzz Issue 42522972 (finder)
67+
</p>
68+
<p>
69+
References:
70+
</p>
71+
<p>
72+
<ul>
73+
<li>
74+
<a href="https://lists.apache.org/thread/bgv0lpswokgol11tloxnjfzdl7yrc1g1">Announcement email</a>
75+
</li>
76+
<li>
77+
<a href="https://www.cve.org/CVERecord?id=CVE-2025-48924">cve.org CVE-2025-48924</a>
78+
</li>
79+
</ul>
80+
</p>
81+
<p>
82+
</p>
83+
<p>
84+
</p>
85+
</section>
3686
</section>
3787
</body>
3888
</document>

0 commit comments

Comments
 (0)