Skip to main content
← All vulnerabilities
CVE-2021-43608GHSA-R7CJ-8HJG-X622

Doctrine DBAL 3.x before 3.1.4 allows SQL Injection.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.4
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • doctrine/dbalPackagist

    From 3.0.0 · fixed in 3.1.4

References 4

GitHub · doctrine/dbal

doctrine-project.org