VDB
Sign up
HIGH7.8

GHSA-pw5c-xqf2-6xc2

Doctrine Security Misconfiguration Vulnerability

Quick fix

GHSA-pw5c-xqf2-6xc2 — doctrine/annotations: upgrade to the fixed version with the command below.

composer require doctrine/annotations:^1.2.7

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/doctrine/annotations
Introduced in: 0Fixed in: 1.2.7
Fixcomposer require doctrine/annotations:^1.2.7
Packagist/doctrine/cache
Introduced in: 1.4.0Fixed in: 1.4.2
Fixcomposer require doctrine/cache:^1.4.2
Packagist/doctrine/common
Introduced in: 0Fixed in: 2.4.3
Fixcomposer require doctrine/common:^2.4.3
Packagist/doctrine/common
Introduced in: 2.5.0-stableFixed in: 2.5.1
Fixcomposer require doctrine/common:^2.5.1
Packagist/doctrine/orm
Introduced in: 2.5.0Fixed in: 2.5.1
Fixcomposer require doctrine/orm:^2.5.1
Packagist/doctrine/mongodb-odm
Introduced in: 0Fixed in: 1.0.2
Fixcomposer require doctrine/mongodb-odm:^1.0.2
Packagist/doctrine/mongodb-odm-bundle
Introduced in: 0Fixed in: 3.0.1
Fixcomposer require doctrine/mongodb-odm-bundle:^3.0.1
Packagist/zendframework/zendframework1
Introduced in: 1.12.0Fixed in: 1.12.16
Fixcomposer require zendframework/zendframework1:^1.12.16
Packagist/zendframework/zend-cache
Introduced in: 2.5.0Fixed in: 2.5.3
Fixcomposer require zendframework/zend-cache:^2.5.3
Packagist/aws/aws-sdk-php
Introduced in: 3.0.0Fixed in: 3.2.1
Fixcomposer require aws/aws-sdk-php:^3.2.1
Packagist/doctrine/cache
Introduced in: 1.0.0Fixed in: 1.3.2
Fixcomposer require doctrine/cache:^1.3.2
Packagist/zendframework/zend-cache
Introduced in: 2.4.0Fixed in: 2.4.8
Fixcomposer require zendframework/zend-cache:^2.4.8
Packagist/zendframework/zendframework
Introduced in: 2.4.0Fixed in: 2.4.8
Fixcomposer require zendframework/zendframework:^2.4.8
Packagist/zfcampus/zf-apigility-doctrine
Introduced in: 1.0.0Fixed in: 1.0.3
Fixcomposer require zfcampus/zf-apigility-doctrine:^1.0.3

References