-
Notifications
You must be signed in to change notification settings - Fork 38.1k
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
Improve diagnostics in SpEL for large array creation #28145
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
Comments
sbrannen
added
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
labels
Mar 8, 2022
Hi @sbrannen Does this address CVE-2022-22963? |
No. That CVE is specific to Spring Cloud Function. See the corresponding blog post for details. |
@sbrannen Oh sorry, I meant CVE-2022-22950 in Spring Framework. Does this commit address CVE-2022-22950? |
jhoeller
added
status: backported
An issue that has been backported to maintenance branches
and removed
for: backport-to-5.2.x
labels
Mar 31, 2022
This was referenced Feb 15, 2023
Open
Open
This was referenced Jun 27, 2023
anfit
pushed a commit
to anfit/spring-framework
that referenced
this issue
Oct 16, 2023
Attempting to create a large array in a SpEL expression can result in an OutOfMemoryError. Although the JVM recovers from that, the error message is not very helpful to the user. This commit improves the diagnostics in SpEL for large array creation by throwing a SpelEvaluationException with a meaningful error message in order to improve diagnostics for the user. Closes spring-projectsgh-28145
anfit
pushed a commit
to anfit/spring-framework
that referenced
this issue
Oct 18, 2023
Attempting to create a large array in a SpEL expression can result in an OutOfMemoryError. Although the JVM recovers from that, the error message is not very helpful to the user. This commit improves the diagnostics in SpEL for large array creation by throwing a SpelEvaluationException with a meaningful error message in order to improve diagnostics for the user. Closes spring-projectsgh-28145
This was referenced Jun 6, 2023
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Attempting to create a large array in a SpEL expression can result in an
OutOfMemoryError
. Although the JVM recovers from that, we should throw an exception with a meaningful error message in order to improve diagnostics for the user.The text was updated successfully, but these errors were encountered: