Vulnerability · Published Dec 9, 2021 · Assigned by mitre

CVE-2021-43608

Critical 9.8

In plain English

A critical-severity security flaw in the doctrine/dbal package (Packagist). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)2.4%top 15.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

Doctrine DBAL 3.x before 3.1.4 allows SQL Injection. The escaping of offset and length inputs to the generation of a LIMIT clause was not probably cast to an integer, allowing SQL injection to take place if application developers passed unescaped user input to the DBAL QueryBuilder or any other API that ultimately uses the AbstractPlatform::modifyLimitQuery API.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistdoctrine/dbal3.1.4GHSA-r7cj-8hjg-x622

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References