Bug 2102823 (CVE-2022-22980) - CVE-2022-22980 Spring Data MongoDB: SpEL in query methods allow code injection
Summary: CVE-2022-22980 Spring Data MongoDB: SpEL in query methods allow code injection
Keywords:
Status: NEW
Alias: CVE-2022-22980
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2099407
TreeView+ depends on / blocked
 
Reported: 2022-06-30 18:15 UTC by Patrick Del Bello
Modified: 2023-07-21 22:26 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Spring Data MongoDB. This flaw allows an attacker to perform code injection when an application uses some annotations/query methods with Spring Expression Language (SpEL) expressions.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Patrick Del Bello 2022-06-30 18:15:50 UTC
A Spring Data MongoDB application is vulnerable to SpEL Injection when using @Query or @Aggregation-annotated query methods with SpEL expressions that contain query parameter placeholders for value binding if the input is not sanitized.

https://tanzu.vmware.com/security/cve-2022-22980


Note You need to log in before you can comment on or make changes to this bug.