WaratekVRT Sign in

CVE-2024-49203

SeverityNot scored
Fixed in6.10.1, 5.6.1
WeaknessSQL injection (CWE-89)
Published20 Nov 2024
Updated17 Jun 2026

Disputed. The record is tagged disputed: someone contests that the vulnerability exists. We still show our assessment, because the dispute is about whether the vulnerability exists, not whether Waratek can block it.

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.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: yes, technical impact: total.
  • Indexed PoC none indexed
  • EPSS 0.41% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR sql-injection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-89: SQL Injection.
Candidate fix https://github.com/OpenFeign/querydsl/pull/742 : a pull request: the change under review

How to mitigate CVE-2024-49203

Upgrade the affected software to a release that fixes it: 6.10.1 or 5.6.1. Until you can, Waratek RASP blocks exploitation with its SQL injection rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
io.github.openfeign.querydsl:querydsl-jpa 6.0.0.M1 6.10.1 unbounded
io.github.openfeign.querydsl:querydsl-apt 6.0.0.M1 6.10.1 unbounded
io.github.openfeign.querydsl:querydsl-jpa 0 5.6.1 unbounded
io.github.openfeign.querydsl:querydsl-apt 0 5.6.1 unbounded
com.querydsl:querydsl-jpa 0 none 5.1.0
com.querydsl:querydsl-apt 0 none 5.1.0

Products and versions

4 products, 6 version entries
SourceVendorProductSchemeAffected versions
osv com.querydsl querydsl-apt generic ≤ 5.1.0
osv com.querydsl querydsl-jpa generic ≤ 5.1.0
osv io.github.openfeign.querydsl querydsl-apt generic < 5.6.1 · ≥ 6.0.0 and < 6.10.1
osv io.github.openfeign.querydsl querydsl-jpa generic < 5.6.1 · ≥ 6.0.0 and < 6.10.1

References

URLTags
https://github.com/OpenFeign/querydsl/pull/742 pr
https://github.com/OpenFeign/querydsl/security/advisories/GHSA-6q3q-6v5j-h6vg WEB
https://github.com/querydsl/querydsl/issues/3757 WEB
https://github.com/CSIRTTrizna/CVE-2024-49203 WEB
https://github.com/OpenFeign/querydsl PACKAGE
https://github.com/OpenFeign/querydsl/releases/tag/5.6.1 WEB
https://github.com/OpenFeign/querydsl/releases/tag/6.10.1 WEB
https://github.com/querydsl/querydsl/releases/tag/QUERYDSL_5_1_0 WEB
https://www.csirt.sk/querydsl-java-library-vulnerability-permits-sql-hql-injection.html WEB
https://github.com/OpenFeign/querydsl/

Timeline

Published2024-11-20By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.