-
Notifications
You must be signed in to change notification settings - Fork 8.9k
optimize: Update commons-lang to 3.18.0(#7666) #7667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 2.x #7667 +/- ##
============================================
+ Coverage 61.21% 61.27% +0.05%
Complexity 666 666
============================================
Files 1314 1314
Lines 49817 49817
Branches 5858 5858
============================================
+ Hits 30497 30523 +26
+ Misses 16575 16549 -26
Partials 2745 2745
🚀 New features to boost your workflow:
|
| <version>${commons-logging.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>commons-lang</groupId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not change it to commons‑lang3?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spring-boot-dependencies里面已经对commons-lang3做了版本管理,但它里面是<commons-lang3.version>3.12.0</commons-lang3.version>,只需要在 dependencies/pom.xml中指定<commons-lang3.version>3.18.0</commons-lang3.version>即可
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The client side does not strongly depend on Spring. This dependency should be added.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Because of long time no progress, close it. |
GHSA-j288-q9x7-2f5v
Apache Commons Lang中存在未控制的递归漏洞。此问题影响Apache Commons Lang:从commons-lang:commons-lang 2.0到2.6版本,以及org.apache.commons:commons-lang3的3.0版本之前至3.18.0版本。ClassUtils.getClass(...)方法在处理非常长的输入时可能会抛出StackOverflowError。由于应用程序和库通常不会处理Error,因此StackOverflowError可能会导致应用程序停止运行。建议用户升级到版本3.18.0,该版本已修复此问题。
受影响的版本
Apache Commons Lang (commons-lang:commons-lang) 2.0 through 2.6
Apache Commons Lang (org.apache.commons:commons-lang3) 3.0 before 3.18.0
Uncontrolled Recursion vulnerability in Apache Commons Lang. 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. The methods ClassUtils.getClass(...) can throw StackOverflowError on very long inputs. Because an Error is usually not handled by applications and libraries, a StackOverflowError could cause an application to stop. Users are recommended to upgrade to version 3.18.0, which fixes the issue.
Affected versions:
Apache Commons Lang (commons-lang:commons-lang) 2.0 through 2.6
Apache Commons Lang (org.apache.commons:commons-lang3) 3.0 before 3.18.0
How it could be?
upgrade commons-lang 2.6 to commons-lang3 3.18.0