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. Learn more about Dependency Scanning →

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 Wed, 14 May 2025 12:15:24 +0000.