CVE-2022-24752 json
SQL Injection through sorting parameters in SyliusGridBundle
published 4y ago modified 4mo ago also GHSA-2xmm-g482-4439 , EUVD-2022-1277
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist sylius/grid-bundle 1.10.1
- sylius syliusgridbundle 1.10.1
Is CVE-2022-24752 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
1.39% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | sylius/grid-bundle | <1.10.1 |
1.10.1 |
Affected products
- Sylius SyliusGridBundle
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/Sylius/SyliusGridBundle/pull/222
web, patch, third-party-advisory
-
github.com
/Sylius/SyliusGridBundle/commit/73d0791d0575f955e830a3da4c3345f420d2f784
web, patch, third-party-advisory
-
github.com
/Sylius/SyliusGridBundle/security/advisories/GHSA-2xmm-g482-4439
web, third-party-advisory
-
github.com
/Sylius/SyliusGridBundle/releases/tag/v1.10.1
web, release-notes, third-party-advisory
-
github.com
/Sylius/SyliusGridBundle/releases/tag/v1.11.0-RC.2
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-24752
advisory
-
github.com
/Sylius/SyliusGridBundle
package
Sources
- CVE List CVE-2022-24752
- GitHub Advisory GHSA-2xmm-g482-4439
- NVD CVE-2022-24752
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.