critical9.8No CVE yet
GHSA-wpvf-5mc3-hv6m
Duplicate Advisory: Querydsl SQL/HQL injection
Impact
## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-6q3q-6v5j-h6vg. This link is maintained to preserve external references. ## Original Description Querydsl 5.1.0 allows SQL/HQL injection in orderBy in JPAQuery.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | com.querydsl:querydsl-jpa | <= 5.1.0 | none recorded |
| maven | com.querydsl:querydsl-apt | <= 5.1.0 | none recorded |
| maven | io.github.openfeign.querydsl:querydsl-jpa | <= 6.8 | none recorded |
| maven | io.github.openfeign.querydsl:querydsl-apt | <= 6.8 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-wpvf-5mc3-hv6m
- https://nvd.nist.gov/vuln/detail/CVE-2024-49203
- https://github.com/querydsl/querydsl/issues/3757
- https://github.com/querydsl/querydsl/releases/tag/QUERYDSL_5_1_0
- https://www.csirt.sk/querydsl-java-library-vulnerability-permits-sql-hql-injection.html
- https://github.com/OpenFeign/querydsl
- https://github.com/CSIRTTrizna/CVE-2024-49203