High

Doctrine Security Misconfiguration Vulnerability

  • Disclosed: 17.05.2022
  • Updated: 11.10.2026 10:22

Doctrine Annotations before 1.2.7, Cache before 1.3.2 and 1.4.x before 1.4.2, Common before 2.4.3 and 2.5.x before 2.5.1, ORM before 2.4.8 or 2.5.x before 2.5.1, MongoDB ODM before 1.0.2, and MongoDB ODM Bundle before 3.0.1 use world-writable permissions for cache directories, which allows local users to execute arbitrary PHP code with additional privileges by leveraging an application with the umask set to 0 and that executes cache entries as code.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package aws/aws-sdk-php >= 3.0.0, < 3.2.1 3.2.1
Composer package doctrine/annotations < 1.2.7 1.2.7
Composer package doctrine/cache >= 1.4.0, < 1.4.2, >= 1.0.0, < 1.3.2 1.4.2, 1.3.2
Composer package doctrine/common < 2.4.3, >= 2.5.0-stable, < 2.5.1 2.4.3, 2.5.1
Composer package doctrine/mongodb-odm < 1.0.2 1.0.2
Composer package doctrine/mongodb-odm-bundle < 3.0.1 3.0.1
Composer package doctrine/orm >= 2.5.0, < 2.5.1 2.5.1
Composer package zendframework/zend-cache >= 2.5.0, < 2.5.3, >= 2.4.0, < 2.4.8 2.5.3, 2.4.8
Composer package zendframework/zendframework >= 2.4.0, < 2.4.8 2.4.8
Composer package zendframework/zendframework1 >= 1.12.0, < 1.12.16 1.12.16
Composer package zfcampus/zf-apigility-doctrine >= 1.0.0, < 1.0.3 1.0.3

References

CVSS score 7.8/10
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
-
Platform
Composer
Package
aws/aws-sdk-php, doctrine/annotations, doctrine/cache
Disclosed
17.05.2022
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-pw5c-xqf2-6xc2 - CC BY 4.0

Vulnerability history: doctrine/orm

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
05.2022 05.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 2

Disclosures per year

  1. 2022: 1
  2. 2023: 0
  3. 2024: 2
  4. 2025: 0
  5. 2026: 0
  1. High ghsa-vjrg-wpm8-rhrw >= 2.8.3, < 2.8.4 2.8.4
  2. Critical ghsa-6q9v-4hq6-5m67 >= 2.0.0, < 2.0.3, >= 1.0.0, < 1.2.4 2.0.3, 1.2.4
  3. Doctrine Security Misconfiguration Vulnerability this entry
    High · 7.8 CVE-2015-5723 >= 2.5.0, < 2.5.1 2.5.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.