CVE-2024-49203
Querydsl 5.1.0 and OpenFeign Querydsl 6.8 allows SQL/HQL injection …
Querydsl 5.1.0 and OpenFeign Querydsl 6.8 allows SQL/HQL injection in orderBy in JPAQuery. NOTE: this is disputed by a Querydsl community member because the product is not intended to defend against a developer who uses untrusted input directly in query construction.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/OpenFeign/querydsl/security/advisories/GHSA-6q3q-6v5j-h6vg
- nvd.nist.gov/vuln/detail/CVE-2024-49203
- github.com/querydsl/querydsl/issues/3757
- github.com/CSIRTTrizna/CVE-2024-49203
- github.com/querydsl/querydsl/releases/tag/QUERYDSL_5_1_0
- www.csirt.sk/querydsl-java-library-vulnerability-permits-sql-hql-injection.html
- github.com/OpenFeign/querydsl/releases/tag/5.6.1
- github.com/OpenFeign/querydsl/releases/tag/6.10.1
- nvd.nist.gov/vuln/detail/CVE-2024-49203
- cve.org/CVERecord?id=CVE-2024-49203
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.