CVE-2015-5723: Doctrine/orm Doctrine Security Misconfiguration Vulnerability Vulnerability
HIGHCVE-2015-5723 is a HIGH (CVSS 7.8) doctrine security misconfiguration vulnerability vulnerability (General Security Weakness) affecting Doctrine/orm libraries in the Packagist ecosystem. The issue involves doctrine security misconfiguration vulnerability. Remediation is available by upgrading affected packages to version 2.5.1, 1.2.7, 1.4.2, 2.4.3, 1.0.2, 3.0.1, 1.12.16, 2.5.3, 3.2.1, 1.3.2, 2.4.8, 1.0.3.
CVE-2015-5723 at a Glance
Security Impact
CVSS: 7.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2015-5723
To remediate this vulnerability, upgrade all affected Doctrine/orm dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade doctrine/orm to 2.5.1
Upgrade doctrine/annotations to 1.2.7
Upgrade doctrine/cache to 1.4.2
Upgrade doctrine/common to 2.4.3
Upgrade doctrine/common to 2.5.1
Upgrade doctrine/mongodb-odm to 1.0.2
Upgrade doctrine/mongodb-odm-bundle to 3.0.1
Upgrade zendframework/zendframework1 to 1.12.16
Upgrade zendframework/zend-cache to 2.5.3
Upgrade aws/aws-sdk-php to 3.2.1
Upgrade doctrine/cache to 1.3.2
Upgrade zendframework/zend-cache to 2.4.8
Upgrade zendframework/zendframework to 2.4.8
Upgrade zfcampus/zf-apigility-doctrine to 1.0.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for doctrine/orm
How to Check if You Are Affected
To determine whether your application is affected by CVE-2015-5723, inspect your project dependencies for Doctrine/orm:
inspect dependencies for doctrine/orm
Analyze the terminal output to locate any version of Doctrine/orm in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.5.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Doctrine/orm, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2015-5723 Affected Doctrine/orm Versions
14 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
doctrine/orm
|
Packagist |
≥ 2.5.0
< 2.5.1
|
2.5.1
|
|
doctrine/annotations
|
Packagist |
< 1.2.7
|
1.2.7
|
|
doctrine/cache
|
Packagist |
≥ 1.4.0
< 1.4.2
|
1.4.2
|
|
doctrine/common
|
Packagist |
< 2.4.3
|
2.4.3
|
|
doctrine/common
|
Packagist |
≥ 2.5.0-stable
< 2.5.1
|
2.5.1
|
|
doctrine/mongodb-odm
|
Packagist |
< 1.0.2
|
1.0.2
|
|
doctrine/mongodb-odm-bundle
|
Packagist |
< 3.0.1
|
3.0.1
|
|
zendframework/zendframework1
|
Packagist |
≥ 1.12.0
< 1.12.16
|
1.12.16
|
|
zendframework/zend-cache
|
Packagist |
≥ 2.5.0
< 2.5.3
|
2.5.3
|
|
aws/aws-sdk-php
|
Packagist |
≥ 3.0.0
< 3.2.1
|
3.2.1
|
|
doctrine/cache
|
Packagist |
≥ 1.0.0
< 1.3.2
|
1.3.2
|
|
zendframework/zend-cache
|
Packagist |
≥ 2.4.0
< 2.4.8
|
2.4.8
|
|
zendframework/zendframework
|
Packagist |
≥ 2.4.0
< 2.4.8
|
2.4.8
|
|
zfcampus/zf-apigility-doctrine
|
Packagist |
≥ 1.0.0
< 1.0.3
|
1.0.3
|
References
Frequently Asked Questions
What is CVE-2015-5723?
Which Doctrine/orm versions are affected?
What version fixes CVE-2015-5723?
Is doctrine/orm affected?
Is doctrine/annotations affected?
What is the CVSS score of CVE-2015-5723?
What CWE is associated with CVE-2015-5723?
How can I check Packagist dependencies for CVE-2015-5723?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pw5c-xqf2-6xc2",
"modified" : "2023-10-19T19:12:06Z",
"published" : "2022-05-17T03:44:28Z",
"aliases" : [ "CVE-2015-5723" ],
"summary" : "Doctrine Security Misconfiguration Vulnerability",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "doctrine/annotations"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "doctrine/cache"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.4.0"
}, {
"fixed" : "1.4.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "doctrine/common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.4.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "doctrine/common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.5.0-stable"
}, {
"fixed" : "2.5.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "doctrine/orm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.5.0"
}, {
"fixed" : "2.5.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "doctrine/mongodb-odm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "doctrine/mongodb-odm-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.0.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "zendframework/zendframework1"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.12.0"
}, {
"fixed" : "1.12.16"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "zendframework/zend-cache"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.5.0"
}, {
"fixed" : "2.5.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "aws/aws-sdk-php"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.2.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "doctrine/cache"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.3.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "zendframework/zend-cache"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.0"
}, {
"fixed" : "2.4.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "zendframework/zendframework"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.0"
}, {
"fixed" : "2.4.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "zfcampus/zf-apigility-doctrine"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.0.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-5723"
}, {
"type" : "WEB",
"url" : "https://framework.zend.com/security/advisory/ZF2015-07"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/aws/aws-sdk-php/CVE-2015-5723.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/cache/CVE-2015-5723.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/orm/CVE-2015-5723.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zend-cache/CVE-2015-5723.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/CVE-2015-5723.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/CVE-2015-5723.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/zfcampus/zf-apigility-doctrine/CVE-2015-5723.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/aws/aws-sdk-php/releases/tag/3.2.1"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2IUUC7HPN4XE5NNTG4MR76OC662XRZUO"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HPS7A54FQ2CR6PH4NDR6UIYJIRNFXW67"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2IUUC7HPN4XE5NNTG4MR76OC662XRZUO"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HPS7A54FQ2CR6PH4NDR6UIYJIRNFXW67"
}, {
"type" : "WEB",
"url" : "https://www.doctrine-project.org/2015/08/31/security_misconfiguration_vulnerability_in_various_doctrine_projects.html"
}, {
"type" : "WEB",
"url" : "http://framework.zend.com/security/advisory/ZF2015-07"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2015/dsa-3369"
}, {
"type" : "WEB",
"url" : "http://www.doctrine-project.org/2015/08/31/security_misconfiguration_vulnerability_in_various_doctrine_projects.html"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-19T19:12:06Z",
"nvd_published_at" : "2016-06-07T14:06:00Z"
}
}