{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-49203","id":"CVE-2024-49203","title":"Querydsl vulnerable to HQL injection through orderBy","description":"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.","descriptionLong":"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.","published":"2024-11-20T00:00:00.000Z","updated":"2026-10-28T02:30:39.277944743Z","reserved":"2024-10-14T00:00:00.000Z","status":"Deferred","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L","rating":"high","source":"GitHub"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"io.github.openfeign.querydsl:querydsl-jpa","purl":"pkg:maven/io.github.openfeign.querydsl/querydsl-jpa","ranges":[">=6.0.0.M1 <6.10.1","<5.6.1"],"fixed":["6.10.1","5.6.1"],"advisory":"GHSA-6q3q-6v5j-h6vg"},{"ecosystem":"Maven","name":"io.github.openfeign.querydsl:querydsl-apt","purl":"pkg:maven/io.github.openfeign.querydsl/querydsl-apt","ranges":[">=6.0.0.M1 <6.10.1","<5.6.1"],"fixed":["6.10.1","5.6.1"],"advisory":"GHSA-6q3q-6v5j-h6vg"},{"ecosystem":"Maven","name":"com.querydsl:querydsl-jpa","purl":"pkg:maven/com.querydsl/querydsl-jpa","ranges":["<=5.1.0"],"fixed":[],"advisory":"GHSA-6q3q-6v5j-h6vg"},{"ecosystem":"Maven","name":"com.querydsl:querydsl-apt","purl":"pkg:maven/com.querydsl/querydsl-apt","ranges":["<=5.1.0"],"fixed":[],"advisory":"GHSA-6q3q-6v5j-h6vg"}],"cwes":["CWE-89"],"aliases":["GHSA-6q3q-6v5j-h6vg"],"references":[{"url":"https://github.com/querydsl/querydsl/releases/tag/QUERYDSL_5_1_0","tags":["web"]},{"url":"https://www.csirt.sk/querydsl-java-library-vulnerability-permits-sql-hql-injection.html","tags":["web"]},{"url":"https://github.com/querydsl/querydsl/issues/3757","tags":["report","web"]},{"url":"https://github.com/OpenFeign/querydsl/","tags":["web"]},{"url":"https://github.com/OpenFeign/querydsl/releases/tag/5.6.1","tags":["web"]},{"url":"https://github.com/OpenFeign/querydsl/pull/742","tags":["fix"]},{"url":"https://github.com/advisories/GHSA-6q3q-6v5j-h6vg","tags":["advisory"]},{"url":"https://github.com/OpenFeign/querydsl/releases/tag/6.10.1","tags":["web"]},{"url":"https://github.com/OpenFeign/querydsl/pull/743","tags":["fix"]},{"url":"https://github.com/spring-projects/spring-data-jpa/issues/3693","tags":["report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49203.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49203","tags":["advisory"]},{"url":"https://github.com/OpenFeign/querydsl/security/advisories/GHSA-6q3q-6v5j-h6vg","tags":["web"]},{"url":"https://github.com/CSIRTTrizna/CVE-2024-49203","tags":["web"]},{"url":"https://github.com/OpenFeign/querydsl","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.00411,"epssPercentile":0.36151,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-49203","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49203","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-49203","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6q3q-6v5j-h6vg","ok":true,"note":"GHSA-6q3q-6v5j-h6vg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-49203","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}