HighGHSA-pw5c-xqf2-6xc2CVE-2015-5723

Doctrine Security Misconfiguration Vulnerability

Published 17 May 2022 · Updated 30 Nov 2024

Affected packages

Affected
<1.2.7
Fixed in
1.2.7
Update to the fixed version for your release line, for example:composer require doctrine/annotations:^1.2.7
Affected
>=1.4.0 <1.4.2
Fixed in
1.4.2
Update to the fixed version for your release line, for example:composer require doctrine/cache:^1.4.2
Affected
<2.4.3
Fixed in
2.4.3
Update to the fixed version for your release line, for example:composer require doctrine/common:^2.4.3
Affected
>=2.5.0-stable <2.5.1
Fixed in
2.5.1
Update to the fixed version for your release line, for example:composer require doctrine/common:^2.5.1
doctrine/ormComposer
Affected
>=2.5.0 <2.5.1
Fixed in
2.5.1
Update to the fixed version for your release line, for example:composer require doctrine/orm:^2.5.1
Affected
<1.0.2
Fixed in
1.0.2
Update to the fixed version for your release line, for example:composer require doctrine/mongodb-odm:^1.0.2
Affected
<3.0.1
Fixed in
3.0.1
Update to the fixed version for your release line, for example:composer require doctrine/mongodb-odm-bundle:^3.0.1
Affected
>=1.12.0 <1.12.16
Fixed in
1.12.16
Update to the fixed version for your release line, for example:composer require zendframework/zendframework1:^1.12.16
Affected
>=2.5.0 <2.5.3
Fixed in
2.5.3
Update to the fixed version for your release line, for example:composer require zendframework/zend-cache:^2.5.3
Affected
>=3.0.0 <3.2.1
Fixed in
3.2.1
Update to the fixed version for your release line, for example:composer require aws/aws-sdk-php:^3.2.1
Affected
>=1.0.0 <1.3.2
Fixed in
1.3.2
Update to the fixed version for your release line, for example:composer require doctrine/cache:^1.3.2
Affected
>=2.4.0 <2.4.8
Fixed in
2.4.8
Update to the fixed version for your release line, for example:composer require zendframework/zend-cache:^2.4.8
Affected
>=2.4.0 <2.4.8
Fixed in
2.4.8
Update to the fixed version for your release line, for example:composer require zendframework/zendframework:^2.4.8
Affected
>=1.0.0 <1.0.3
Fixed in
1.0.3
Update to the fixed version for your release line, for example:composer require zfcampus/zf-apigility-doctrine:^1.0.3

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.

Is GHSA-pw5c-xqf2-6xc2 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected doctrine/annotations, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.