Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.github.openfeign.querydsl/querydsl-apt
  4. ›
  5. CVE-2024-49203

CVE-2024-49203: Querydsl vulnerable to HQL injection trough orderBy

November 27, 2024 (updated December 16, 2024)

The order by method enables injecting HQL queries. This may cause blind HQL injection, which could lead to leakage of sensitive information, and potentially also Denial Of Service. This vulnerability is present since the original querydsl repository(https://github.com/querydsl/querydsl) where it was assigned preliminary CVE identifier CVE-2024-49203.

References

  • github.com/CSIRTTrizna/CVE-2024-49203
  • github.com/OpenFeign/querydsl
  • github.com/OpenFeign/querydsl/releases/tag/5.6.1
  • github.com/OpenFeign/querydsl/releases/tag/6.10.1
  • github.com/OpenFeign/querydsl/security/advisories/GHSA-6q3q-6v5j-h6vg
  • github.com/advisories/GHSA-6q3q-6v5j-h6vg
  • github.com/querydsl/querydsl/issues/3757
  • github.com/querydsl/querydsl/releases/tag/QUERYDSL_5_1_0
  • nvd.nist.gov/vuln/detail/CVE-2024-49203
  • www.csirt.sk/querydsl-java-library-vulnerability-permits-sql-hql-injection.html

Code Behaviors & Features

Detect and mitigate CVE-2024-49203 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.6.1, all versions starting from 6.0.0.M1 before 6.10.1

Fixed versions

  • 5.6.1
  • 6.10.1

Solution

Upgrade to version 5.6.1, 6.10.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

maven/io.github.openfeign.querydsl/querydsl-apt/CVE-2024-49203.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:08 +0000.