Vulnerability Details : CVE-2022-24752
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.
Vulnerability category: Sql Injection
Products affected by CVE-2022-24752
- cpe:2.3:a:sylius:syliusgridbundle:*:*:*:*:*:*:*:*
- cpe:2.3:a:sylius:syliusgridbundle:1.11.0:-:*:*:*:*:*:*
- cpe:2.3:a:sylius:syliusgridbundle:1.11.0:alpha1:*:*:*:*:*:*
- cpe:2.3:a:sylius:syliusgridbundle:1.11.0:beta1:*:*:*:*:*:*
- cpe:2.3:a:sylius:syliusgridbundle:1.11.0:rc1:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-24752
0.20%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 58 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-24752
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
GitHub, Inc. |
CWE ids for CVE-2022-24752
-
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.Assigned by: security-advisories@github.com (Primary)
References for CVE-2022-24752
-
https://github.com/Sylius/SyliusGridBundle/releases/tag/v1.10.1
Release v1.10.1 · Sylius/SyliusGridBundle · GitHubRelease Notes;Third Party Advisory
-
https://github.com/Sylius/SyliusGridBundle/pull/222
[Security] Dql injection through sorting parameters blocked by lchrusciel · Pull Request #222 · Sylius/SyliusGridBundle · GitHubPatch;Third Party Advisory
-
https://github.com/Sylius/SyliusGridBundle/commit/73d0791d0575f955e830a3da4c3345f420d2f784
bug #222 [Security] Dql injection through sorting parameters blocked … · Sylius/SyliusGridBundle@73d0791 · GitHubPatch;Third Party Advisory
-
https://github.com/Sylius/SyliusGridBundle/releases/tag/v1.11.0-RC.2
Release v1.11.0-RC.2 · Sylius/SyliusGridBundle · GitHubRelease Notes;Third Party Advisory
-
https://github.com/Sylius/SyliusGridBundle/security/advisories/GHSA-2xmm-g482-4439
DQL injection through sorting parameters blocked · Advisory · Sylius/SyliusGridBundle · GitHubThird Party Advisory
Jump to