Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. doctrine/orm
  4. ›
  5. CVE-2011-1522

CVE-2011-1522: SQL Injection in doctrine orm

September 25, 2011 (updated November 17, 2024)

Multiple SQL injection vulnerabilities in the Doctrine\DBAL\Platforms\AbstractPlatform::modifyLimitQuery function in Doctrine 1.x before 1.2.4 and 2.x before 2.0.3 allow remote attackers to execute arbitrary SQL commands via the (1) limit or (2) offset field.

References

  • nvd.nist.gov/vuln/detail/CVE-2011-1522
  • web.archive.org/web/20120315064147/https://www.doctrine-project.org/blog/doctrine-security-fix.html

Code Behaviors & Features

Detect and mitigate CVE-2011-1522 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.2.4, all versions starting from 2.0.0 before 2.0.3

Fixed versions

  • 1.2.4
  • 2.1.3

Solution

Upgrade to version 1.2.4, 2.1.3 or above.

Source file

packagist/doctrine/orm/CVE-2011-1522.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:30 +0000.