Doctrine Security Misconfiguration Vulnerability
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.
| Platform | Package | Vulnerable versions | Fixed 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
- https://nvd.nist.gov/vuln/detail/CVE-2015-5723
- https://framework.zend.com/security/advisory/ZF2015-07
- https://github.com/FriendsOfPHP/security-advisories/blob/master/aws/aws-sdk-php/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/cache/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/orm/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zend-cache/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zfcampus/zf-apigility-doctrine/CVE-2015-5723.yaml
- https://github.com/aws/aws-sdk-php/releases/tag/3.2.1
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2IUUC7HPN4XE5NNTG4MR76OC662XRZUO
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HPS7A54FQ2CR6PH4NDR6UIYJIRNFXW67
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2IUUC7HPN4XE5NNTG4MR76OC662XRZUO
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HPS7A54FQ2CR6PH4NDR6UIYJIRNFXW67
- https://www.doctrine-project.org/2015/08/31/security_misconfiguration_vulnerability_in_various_doctrine_projects.html
- http://framework.zend.com/security/advisory/ZF2015-07
- http://www.debian.org/security/2015/dsa-3369
- http://www.doctrine-project.org/2015/08/31/security_misconfiguration_vulnerability_in_various_doctrine_projects.html
- 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
- 2022: 1
- 2023: 0
- 2024: 2
- 2025: 0
- 2026: 0
-
Doctrine Security Misconfiguration Vulnerability this entry
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.