{"id":"GHSA-wpvf-5mc3-hv6m","summary":"Duplicate Advisory: Querydsl SQL/HQL injection","details":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-6q3q-6v5j-h6vg. This link is maintained to preserve external references.\n\n## Original Description\nQuerydsl 5.1.0 allows SQL/HQL injection in orderBy in JPAQuery.","modified":"2026-09-10T03:50:21.283093301Z","published":"2024-11-20T21:30:50Z","withdrawn":"2024-11-27T17:20:58Z","database_specific":{"cwe_ids":["CWE-89"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2024-11-21T22:23:12Z","nvd_published_at":"2024-11-20T21:15:08Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49203"},{"type":"WEB","url":"https://github.com/querydsl/querydsl/issues/3757"},{"type":"WEB","url":"https://github.com/CSIRTTrizna/CVE-2024-49203"},{"type":"WEB","url":"https://github.com/OpenFeign/querydsl"},{"type":"PACKAGE","url":"https://github.com/querydsl/querydsl"},{"type":"WEB","url":"https://github.com/querydsl/querydsl/releases/tag/QUERYDSL_5_1_0"},{"type":"WEB","url":"https://www.csirt.sk/querydsl-java-library-vulnerability-permits-sql-hql-injection.html"}],"affected":[{"package":{"name":"com.querydsl:querydsl-jpa","ecosystem":"Maven","purl":"pkg:maven/com.querydsl/querydsl-jpa"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"5.1.0"}]}],"versions":["4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.0.8","4.0.9","4.1.0","4.1.1","4.1.2","4.1.3","4.1.4","4.2.0","4.2.1","4.2.2","4.3.0","4.3.1","4.4.0","5.0.0","5.0.0.M1","5.1.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-wpvf-5mc3-hv6m/GHSA-wpvf-5mc3-hv6m.json"}},{"package":{"name":"com.querydsl:querydsl-apt","ecosystem":"Maven","purl":"pkg:maven/com.querydsl/querydsl-apt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"5.1.0"}]}],"versions":["4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.0.8","4.0.9","4.1.0","4.1.1","4.1.2","4.1.3","4.1.4","4.2.0","4.2.1","4.2.2","4.3.0","4.3.1","4.4.0","5.0.0","5.0.0.M1","5.1.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-wpvf-5mc3-hv6m/GHSA-wpvf-5mc3-hv6m.json"}},{"package":{"name":"io.github.openfeign.querydsl:querydsl-jpa","ecosystem":"Maven","purl":"pkg:maven/io.github.openfeign.querydsl/querydsl-jpa"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.8"}]}],"versions":["5.0.1","5.1","5.1.1","5.2","5.3","5.4","5.5","5.6","5.6.1","6.0","6.0.0.M1","6.0.0.M2","6.0.0.M3","6.0.0.RC1","6.0.1","6.0.2","6.0.3","6.1","6.2","6.2.1","6.3","6.4","6.5","6.6","6.7","6.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-wpvf-5mc3-hv6m/GHSA-wpvf-5mc3-hv6m.json"}},{"package":{"name":"io.github.openfeign.querydsl:querydsl-apt","ecosystem":"Maven","purl":"pkg:maven/io.github.openfeign.querydsl/querydsl-apt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.8"}]}],"versions":["5.0.1","5.1","5.1.1","5.2","5.3","5.4","5.5","5.6","5.6.1","6.0","6.0.0.M1","6.0.0.M2","6.0.0.M3","6.0.0.RC1","6.0.1","6.0.2","6.0.3","6.1","6.2","6.2.1","6.3","6.4","6.5","6.6","6.7","6.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-wpvf-5mc3-hv6m/GHSA-wpvf-5mc3-hv6m.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}