CVE-2022-24752
SQL Injection through sorting parameters in SyliusGridBundle
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
Description
SyliusGridBundle is a package of generic data grids for Symfony applications. Prior to versions 1.10.1 and 1.11-rc2, values added at the end of query sorting were passed directly to the database. The maintainers do not know if this could lead to direct SQL injections but took steps to remediate the vulnerability. The issue is fixed in versions 1.10.1 and 1.11-rc2. As a workaround, overwrite the`Sylius\Component\Grid\Sorting\Sorter.php` class and register it in the container. More information about this workaround is available in the GitHub Security Advisory.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.4% · top 28% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
Affected products
- affected < 1.10.1
- affected 1.11-alpha, <= 1.11-rc
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistsylius/grid-bundleGHSA-2xmm-g482-4439 (opens in a new tab)
References (5)
- https://github.com/Sylius/SyliusGridBundle/security/advisories/GHSA-2xmm-g482-4439 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/Sylius/SyliusGridBundle/pull/222 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/Sylius/SyliusGridBundle/commit/73d0791d0575f955e830a3da4c3345f420d2f784 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/Sylius/SyliusGridBundle/releases/tag/v1.10.1 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/Sylius/SyliusGridBundle/releases/tag/v1.11.0-RC.2 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-2xmm-g482-4439 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-24752)Record last updated .