Doctrine Annotations before 1.2.7, Cache before 1.3.2 and 1.4.x before 1.4.2, Common…
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-264.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | doctrine/annotations (Packagist) | before 1.2.7 | 1.2.7 | Patch available | GHSA-pw5c-xqf2-6xc2 |
| — | doctrine/cache (Packagist) | 1.4.0 to before 1.4.2 | 1.4.2 | Patch available | GHSA-pw5c-xqf2-6xc2 |
| — | doctrine/common (Packagist) | before 2.4.3 | 2.4.3 | Patch available | GHSA-pw5c-xqf2-6xc2 |
| — | doctrine/common (Packagist) | 2.5.0-stable to before 2.5.1 | 2.5.1 | Patch available | GHSA-pw5c-xqf2-6xc2 |
| — | doctrine/orm (Packagist) | 2.5.0 to before 2.5.1 | 2.5.1 | Patch available | GHSA-pw5c-xqf2-6xc2 |
| — | doctrine/mongodb-odm (Packagist) | before 1.0.2 | 1.0.2 | Patch available | GHSA-pw5c-xqf2-6xc2 |
| — | doctrine/mongodb-odm-bundle (Packagist) | before 3.0.1 | 3.0.1 | Patch available | GHSA-pw5c-xqf2-6xc2 |
| — | zendframework/zendframework1 (Packagist) | 1.12.0 to before 1.12.16 | 1.12.16 | Patch available | GHSA-pw5c-xqf2-6xc2 |
| — | zendframework/zend-cache (Packagist) | 2.5.0 to before 2.5.3 | 2.5.3 | Patch available | GHSA-pw5c-xqf2-6xc2 |
| — | aws/aws-sdk-php (Packagist) | 3.0.0 to before 3.2.1 | 3.2.1 | Patch available | GHSA-pw5c-xqf2-6xc2 |
| — | doctrine/cache (Packagist) | 1.0.0 to before 1.3.2 | 1.3.2 | Patch available | GHSA-pw5c-xqf2-6xc2 |
| — | zendframework/zend-cache (Packagist) | 2.4.0 to before 2.4.8 | 2.4.8 | Patch available | GHSA-pw5c-xqf2-6xc2 |
| — | zendframework/zendframework (Packagist) | 2.4.0 to before 2.4.8 | 2.4.8 | Patch available | GHSA-pw5c-xqf2-6xc2 |
| — | zfcampus/zf-apigility-doctrine (Packagist) | 1.0.0 to before 1.0.3 | 1.0.3 | Patch available | GHSA-pw5c-xqf2-6xc2 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- doctrine/annotations (Packagist) Vendor— Affected before 1.2.7 Fixed in 1.2.7 Patch available GHSA-pw5c-xqf2-6xc2
- doctrine/cache (Packagist) Vendor— Affected 1.4.0 to before 1.4.2 Fixed in 1.4.2 Patch available GHSA-pw5c-xqf2-6xc2
- doctrine/common (Packagist) Vendor— Affected before 2.4.3 Fixed in 2.4.3 Patch available GHSA-pw5c-xqf2-6xc2
- doctrine/common (Packagist) Vendor— Affected 2.5.0-stable to before 2.5.1 Fixed in 2.5.1 Patch available GHSA-pw5c-xqf2-6xc2
- doctrine/orm (Packagist) Vendor— Affected 2.5.0 to before 2.5.1 Fixed in 2.5.1 Patch available GHSA-pw5c-xqf2-6xc2
- doctrine/mongodb-odm (Packagist) Vendor— Affected before 1.0.2 Fixed in 1.0.2 Patch available GHSA-pw5c-xqf2-6xc2
- doctrine/mongodb-odm-bundle (Packagist) Vendor— Affected before 3.0.1 Fixed in 3.0.1 Patch available GHSA-pw5c-xqf2-6xc2
- zendframework/zendframework1 (Packagist) Vendor— Affected 1.12.0 to before 1.12.16 Fixed in 1.12.16 Patch available GHSA-pw5c-xqf2-6xc2
- zendframework/zend-cache (Packagist) Vendor— Affected 2.5.0 to before 2.5.3 Fixed in 2.5.3 Patch available GHSA-pw5c-xqf2-6xc2
- aws/aws-sdk-php (Packagist) Vendor— Affected 3.0.0 to before 3.2.1 Fixed in 3.2.1 Patch available GHSA-pw5c-xqf2-6xc2
- doctrine/cache (Packagist) Vendor— Affected 1.0.0 to before 1.3.2 Fixed in 1.3.2 Patch available GHSA-pw5c-xqf2-6xc2
- zendframework/zend-cache (Packagist) Vendor— Affected 2.4.0 to before 2.4.8 Fixed in 2.4.8 Patch available GHSA-pw5c-xqf2-6xc2
- zendframework/zendframework (Packagist) Vendor— Affected 2.4.0 to before 2.4.8 Fixed in 2.4.8 Patch available GHSA-pw5c-xqf2-6xc2
- zfcampus/zf-apigility-doctrine (Packagist) Vendor— Affected 1.0.0 to before 1.0.3 Fixed in 1.0.3 Patch available GHSA-pw5c-xqf2-6xc2
CPE configurations NVD · 25
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:zend:zend-cache:*:*:*:*:*:*:*:* | up to 2.4.7 | Vulnerable | Zend |
| cpe:2.3:a:zend:zend-cache:2.5.0:*:*:*:*:*:*:* | 2.5.0 | Vulnerable | Zend |
| cpe:2.3:a:zend:zend-cache:2.5.1:*:*:*:*:*:*:* | 2.5.1 | Vulnerable | Zend |
| cpe:2.3:a:zend:zend-cache:2.5.2:*:*:*:*:*:*:* | 2.5.2 | Vulnerable | Zend |
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:a:doctrine-project:object_relational_mapper:*:*:*:*:*:*:*:* | up to 2.4.7 | Vulnerable | Doctrine-project |
| cpe:2.3:a:doctrine-project:object_relational_mapper:2.5.0:*:*:*:*:*:*:* | 2.5.0 | Vulnerable | Doctrine-project |
| cpe:2.3:a:doctrine-project:object_relational_mapper:2.5.0:alpha1:*:*:*:*:*:* | 2.5.0 alpha1 | Vulnerable | Doctrine-project |
| cpe:2.3:a:doctrine-project:object_relational_mapper:2.5.0:alpha2:*:*:*:*:*:* | 2.5.0 alpha2 | Vulnerable | Doctrine-project |
- cpe:2.3:a:zend:zend-cache:*:*:*:*:*:*:*:* Versions up to 2.4.7 Vulnerable ·Zend
- cpe:2.3:a:zend:zend-cache:2.5.0:*:*:*:*:*:*:* Versions 2.5.0 Vulnerable ·Zend
- cpe:2.3:a:zend:zend-cache:2.5.1:*:*:*:*:*:*:* Versions 2.5.1 Vulnerable ·Zend
- cpe:2.3:a:zend:zend-cache:2.5.2:*:*:*:*:*:*:* Versions 2.5.2 Vulnerable ·Zend
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:a:doctrine-project:object_relational_mapper:*:*:*:*:*:*:*:* Versions up to 2.4.7 Vulnerable ·Doctrine-project
- cpe:2.3:a:doctrine-project:object_relational_mapper:2.5.0:*:*:*:*:*:*:* Versions 2.5.0 Vulnerable ·Doctrine-project
- cpe:2.3:a:doctrine-project:object_relational_mapper:2.5.0:alpha1:*:*:*:*:*:* Versions 2.5.0 alpha1 Vulnerable ·Doctrine-project
- cpe:2.3:a:doctrine-project:object_relational_mapper:2.5.0:alpha2:*:*:*:*:*:* Versions 2.5.0 alpha2 Vulnerable ·Doctrine-project
Show 15 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:doctrine-project:object_relational_mapper:2.5.0:beta1:*:*:*:*:*:* | 2.5.0 beta1 | Vulnerable | Doctrine-project |
| cpe:2.3:a:doctrine-project:object_relational_mapper:2.5.0:rc1:*:*:*:*:*:* | 2.5.0 rc1 | Vulnerable | Doctrine-project |
| cpe:2.3:a:doctrine-project:object_relational_mapper:2.5.0:rc2:*:*:*:*:*:* | 2.5.0 rc2 | Vulnerable | Doctrine-project |
| cpe:2.3:a:doctrine-project:doctrinemongodbbundle:3.0.0:*:*:*:*:*:*:* | 3.0.0 | Vulnerable | Doctrine-project |
| cpe:2.3:a:zend:zend_framework:*:*:*:*:*:*:*:* | up to 2.4.7 | Vulnerable | Zend |
| cpe:2.3:a:doctrine-project:common:*:*:*:*:*:*:*:* | up to 2.4.2 | Vulnerable | Doctrine-project |
| cpe:2.3:a:doctrine-project:common:2.5.0:*:*:*:*:*:*:* | 2.5.0 | Vulnerable | Doctrine-project |
| cpe:2.3:a:doctrine-project:common:2.5.0:beta1:*:*:*:*:*:* | 2.5.0 beta1 | Vulnerable | Doctrine-project |
| cpe:2.3:a:doctrine-project:annotations:*:*:*:*:*:*:*:* | up to 1.2.6 | Vulnerable | Doctrine-project |
| cpe:2.3:a:doctrine-project:mongodb-odm:*:*:*:*:*:*:*:* | up to 1.0.1 | Vulnerable | Doctrine-project |
| cpe:2.3:a:zend:zend_framework:*:*:*:*:*:*:*:* | up to 1.12.15 | Vulnerable | Zend |
| cpe:2.3:a:doctrine-project:cache:*:*:*:*:*:*:*:* | up to 1.3.1 | Vulnerable | Doctrine-project |
| cpe:2.3:a:doctrine-project:cache:1.4.0:*:*:*:*:*:*:* | 1.4.0 | Vulnerable | Doctrine-project |
| cpe:2.3:a:doctrine-project:cache:1.4.1:*:*:*:*:*:*:* | 1.4.1 | Vulnerable | Doctrine-project |
| cpe:2.3:a:zend:zf-apigility-doctrine:*:*:*:*:*:*:*:* | up to 1.0.2 | Vulnerable | Zend |
- cpe:2.3:a:doctrine-project:object_relational_mapper:2.5.0:beta1:*:*:*:*:*:* Versions 2.5.0 beta1 Vulnerable ·Doctrine-project
- cpe:2.3:a:doctrine-project:object_relational_mapper:2.5.0:rc1:*:*:*:*:*:* Versions 2.5.0 rc1 Vulnerable ·Doctrine-project
- cpe:2.3:a:doctrine-project:object_relational_mapper:2.5.0:rc2:*:*:*:*:*:* Versions 2.5.0 rc2 Vulnerable ·Doctrine-project
- cpe:2.3:a:doctrine-project:doctrinemongodbbundle:3.0.0:*:*:*:*:*:*:* Versions 3.0.0 Vulnerable ·Doctrine-project
- cpe:2.3:a:zend:zend_framework:*:*:*:*:*:*:*:* Versions up to 2.4.7 Vulnerable ·Zend
- cpe:2.3:a:doctrine-project:common:*:*:*:*:*:*:*:* Versions up to 2.4.2 Vulnerable ·Doctrine-project
- cpe:2.3:a:doctrine-project:common:2.5.0:*:*:*:*:*:*:* Versions 2.5.0 Vulnerable ·Doctrine-project
- cpe:2.3:a:doctrine-project:common:2.5.0:beta1:*:*:*:*:*:* Versions 2.5.0 beta1 Vulnerable ·Doctrine-project
- cpe:2.3:a:doctrine-project:annotations:*:*:*:*:*:*:*:* Versions up to 1.2.6 Vulnerable ·Doctrine-project
- cpe:2.3:a:doctrine-project:mongodb-odm:*:*:*:*:*:*:*:* Versions up to 1.0.1 Vulnerable ·Doctrine-project
- cpe:2.3:a:zend:zend_framework:*:*:*:*:*:*:*:* Versions up to 1.12.15 Vulnerable ·Zend
- cpe:2.3:a:doctrine-project:cache:*:*:*:*:*:*:*:* Versions up to 1.3.1 Vulnerable ·Doctrine-project
- cpe:2.3:a:doctrine-project:cache:1.4.0:*:*:*:*:*:*:* Versions 1.4.0 Vulnerable ·Doctrine-project
- cpe:2.3:a:doctrine-project:cache:1.4.1:*:*:*:*:*:*:* Versions 1.4.1 Vulnerable ·Doctrine-project
- cpe:2.3:a:zend:zf-apigility-doctrine:*:*:*:*:*:*:*:* Versions up to 1.0.2 Vulnerable ·Zend
Remediation
- Fix · GHSA-pw5c-xqf2-6xc2 doctrine/annotations (Packagist) Fixed in 1.2.7 Advisory →
- Fix · GHSA-pw5c-xqf2-6xc2 doctrine/cache (Packagist) Fixed in 1.4.2 Advisory →
- Fix · GHSA-pw5c-xqf2-6xc2 doctrine/common (Packagist) Fixed in 2.4.3 Advisory →
- Fix · GHSA-pw5c-xqf2-6xc2 doctrine/common (Packagist) Fixed in 2.5.1 Advisory →
- Fix · GHSA-pw5c-xqf2-6xc2 doctrine/orm (Packagist) Fixed in 2.5.1 Advisory →
- Fix · GHSA-pw5c-xqf2-6xc2 doctrine/mongodb-odm (Packagist) Fixed in 1.0.2 Advisory →
- Fix · GHSA-pw5c-xqf2-6xc2 doctrine/mongodb-odm-bundle (Packagist) Fixed in 3.0.1 Advisory →
- Fix · GHSA-pw5c-xqf2-6xc2 zendframework/zendframework1 (Packagist) Fixed in 1.12.16 Advisory →
- Fix · GHSA-pw5c-xqf2-6xc2 zendframework/zend-cache (Packagist) Fixed in 2.5.3 Advisory →
- Fix · GHSA-pw5c-xqf2-6xc2 aws/aws-sdk-php (Packagist) Fixed in 3.2.1 Advisory →
- Fix · GHSA-pw5c-xqf2-6xc2 doctrine/cache (Packagist) Fixed in 1.3.2 Advisory →
- Fix · GHSA-pw5c-xqf2-6xc2 zendframework/zend-cache (Packagist) Fixed in 2.4.8 Advisory →
- Fix · GHSA-pw5c-xqf2-6xc2 zendframework/zendframework (Packagist) Fixed in 2.4.8 Advisory →
- Fix · GHSA-pw5c-xqf2-6xc2 zfcampus/zf-apigility-doctrine (Packagist) Fixed in 1.0.3 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2015-5723
- 2026-10-03 Alias added: GHSA-pw5c-xqf2-6xc2
References
Advisory 5
Other 15
- http://framework.zend.com/security/advisory/ZF2015-07
- 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/[email protected]/message/2IUUC7HPN4XE5NNTG4MR76OC662XRZUO
- https://lists.fedoraproject.org/archives/list/[email protected]/message/HPS7A54FQ2CR6PH4NDR6UIYJIRNFXW67
- https://www.doctrine-project.org/2015/08/31/security_misconfiguration_vulnerability_in_various_doctrine_projects.html
Sources
- CVE-2015-5723 · CVE Program
- CVE-2015-5723 · NVD
- FIRST EPSS
- GHSA-pw5c-xqf2-6xc2 · GitHub Advisory Database · CC BY 4.0
- CVE-2015-5723 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences