نسخههای متأثر
بازهها نیاز به بررسی دارند.
Composerdoctrine/dbal
- نسخههای متأثر
- >=3.0.0,<3.0.99|>=3.1.0,<3.1.4
- نسخهٔ اصلاحشده
- اعلام نشده
Composerdoctrine/dbal
- نسخههای متأثر
- >= 3.0.0, < 3.1.4
- نسخهٔ اصلاحشده
- 3.1.4
بهرهبرداری
شرح آسیبپذیری
We have released a new version Doctrine DBAL 3.1.4 that fixes a critical SQL injection vulnerability in the LIMIT clause generation API provided by the Platform abstraction.
We advise everyone using Doctrine DBAL 3.0.0 up to 3.1.3 to upgrade to 3.1.4 immediately.
The vulnerability can happen when unsanitized input is passed to many APIs in Doctrine DBAL and ORM that ultimately end up calling AbstractPlatform::modifyLimitQuery.
As a workaround you can cast all limit and offset parameters to integers before passing them to Doctrine APIs.
This vulnerability has been assigned CVE-2021-43608.
پیوندها
- https://github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/dbal/CVE-2021-43608.yaml
- https://github.com/advisories/GHSA-r7cj-8hjg-x622
- https://github.com/doctrine/dbal
- https://github.com/doctrine/dbal/commit/9dcfa4cb6c03250b78a84737ba7ceb82f4b7ba4d
- https://github.com/doctrine/dbal/releases
- https://github.com/doctrine/dbal/security/advisories/GHSA-r7cj-8hjg-x622
- https://nvd.nist.gov/vuln/detail/CVE-2021-43608
- https://www.doctrine-project.org/2021/11/11/dbal3-vulnerability-fixed.html

