# Apache Commons Lang: ClassUtils.getClass(...) 方法在处理非常长的输入时会抛出StackOverflowError错误
## 漏洞概述
Apache Commons Lang 中存在不受控递归漏洞,可能导致 `StackOverflowError`。
## 影响版本
- `commons-lang:commons-lang` 2.0 到 2.6 版本
- `org.apache.commons:commons-lang3` 3.0 到 3.18.0 版本 (不包括 3.18.0)
## 漏洞细节
`ClassUtils.getClass(...)` 方法在处理非常长的输入时会抛出 `StackOverflowError`。由于应用程序或库通常不会处理这类异常,这可能导致应用程序停止运行。
## 影响
漏洞可能导致应用程序因 `StackOverflowError` 而停止运行。建议升级到 3.18.0 版本以修复此问题。
| # | POC 描述 | 源链接 | 神龙链接 |
|---|---|---|---|
| 1 | Apache's commons-lang2 v2.6 with a backported fix for CVE-2025-48924 | https://github.com/njawalkar/apache-commons-lang2 | POC详情 |
标题: CVE-2025-48924: Apache Commons Lang, Apache Commons Lang: ClassUtils.getClass(...) can throw a StackOverflowError on very long inputs-Apache Mail Archives -- 🔗来源链接
标签: vendor-advisory
神龙速读暂无评论