9.8
CRITICAL
CVE-2024-49203
Querydsl JPA orderBy SQL Injection
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.

INFO

Published Date :

Nov. 20, 2024, 9:15 p.m.

Last Modified :

Feb. 21, 2025, 5:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2024-49203 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-49203 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 5 months, 1 week ago
1 stars 0 fork 0 watcher
Born at : Oct. 8, 2024, 12:42 p.m. This repo has been linked 1 different CVEs too.

Framework for type-safe JPA queries, which is focused on projects with complex domain model

joiner querydsl eclipselink jpa java dsl hibernate kotlin

Java Kotlin

Updated: 1 month, 2 weeks ago
20 stars 0 fork 0 watcher
Born at : Jan. 11, 2016, 8:25 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-49203 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-49203 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Feb. 21, 2025

    Action Type Old Value New Value
    Removed CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Removed CWE CWE-89
  • CVE Modified by [email protected]

    Feb. 13, 2025

    Action Type Old Value New Value
    Added Tag disputed
    Changed Description Querydsl 5.1.0 and OpenFeign Querydsl 6.8 allows SQL/HQL injection in orderBy in JPAQuery. 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.
    Added Reference https://github.com/spring-projects/spring-data-jpa/issues/3693
  • CVE Modified by [email protected]

    Dec. 19, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/advisories/GHSA-6q3q-6v5j-h6vg
    Added Reference https://github.com/OpenFeign/querydsl/pull/742
    Added Reference https://github.com/OpenFeign/querydsl/pull/743
    Added Reference https://github.com/OpenFeign/querydsl/releases/tag/5.6.1
    Added Reference https://github.com/OpenFeign/querydsl/releases/tag/6.10.1
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Dec. 03, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-89
  • CVE Modified by [email protected]

    Nov. 21, 2024

    Action Type Old Value New Value
    Changed Description Querydsl 5.1.0 allows SQL/HQL injection in orderBy in JPAQuery. Querydsl 5.1.0 and OpenFeign Querydsl 6.8 allows SQL/HQL injection in orderBy in JPAQuery.
    Added Reference https://github.com/OpenFeign/querydsl/
  • CVE Received by [email protected]

    Nov. 20, 2024

    Action Type Old Value New Value
    Added Description Querydsl 5.1.0 allows SQL/HQL injection in orderBy in JPAQuery.
    Added Reference MITRE https://github.com/querydsl/querydsl/releases/tag/QUERYDSL_5_1_0 [No types assigned]
    Added Reference MITRE https://www.csirt.sk/querydsl-java-library-vulnerability-permits-sql-hql-injection.html [No types assigned]
    Added Reference MITRE https://github.com/querydsl/querydsl/issues/3757 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-49203 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-49203 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: May. 04, 2025 12:36