CVE-2022-24752: SQL Injection through sorting parameters in SyliusGridBundle

Published Mar 15, 2022
·
Updated

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 theSylius\Component\Grid\Sorting\Sorter.php class and register it in the container. More information about this workaround is available in the GitHub Security Advisory.

Affected Software

5 affected components
Sylius SyliusGridBundle<1.10.1
Sylius SyliusGridBundle=1.11.0
Sylius SyliusGridBundle=1.11.0-alpha1
Sylius SyliusGridBundle=1.11.0-beta1
Sylius SyliusGridBundle=1.11.0-rc1

Event History

Mar 15, 2022
CVE Published
via MITRE·02:40 PM
Data Sourced
via MITRE·02:40 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is CVE-2022-24752?

CVE-2022-24752 is a vulnerability in SyliusGridBundle, a package of generic data grids for Symfony applications, that allows for potential direct SQL injections.

2

What is the severity of CVE-2022-24752?

The severity of CVE-2022-24752 is critical with a CVSS score of 9.8.

3

Which versions of SyliusGridBundle are affected by CVE-2022-24752?

Versions up to and excluding 1.10.1, 1.11.0, 1.11.0-alpha1, 1.11.0-beta1, and 1.11.0-rc1 of SyliusGridBundle are affected by CVE-2022-24752.

4

How can I fix CVE-2022-24752?

You should update SyliusGridBundle to version 1.10.1 or apply the necessary patches mentioned in the release notes of the fixed versions.

5

Where can I find more information about CVE-2022-24752?

You can find more information about CVE-2022-24752 in the references provided: [GitHub Commit](https://github.com/Sylius/SyliusGridBundle/commit/73d0791d0575f955e830a3da4c3345f420d2f784), [GitHub Pull Request](https://github.com/Sylius/SyliusGridBundle/pull/222), [GitHub Release](https://github.com/Sylius/SyliusGridBundle/releases/tag/v1.10.1).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203