The i_zval_ptr_dtor function in Zend/zend_variables.h in PHP 7.1.5 allows attackers to cause a denial of service (memory consumption and application crash) or possibly have unspecified other impact by triggering crafted operations on array data structures.
The product does not properly control the allocation and maintenance of a limited resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Php | Php | 7.1.5 (including) | 7.1.5 (including) |
Php5 | Ubuntu | esm-infra-legacy/trusty | * |
Php5 | Ubuntu | precise/esm | * |
Php5 | Ubuntu | trusty | * |
Php5 | Ubuntu | trusty/esm | * |
Php7.0 | Ubuntu | esm-infra/xenial | * |
Php7.0 | Ubuntu | upstream | * |
Php7.0 | Ubuntu | xenial | * |
Php7.0 | Ubuntu | yakkety | * |
Php7.0 | Ubuntu | zesty | * |
Php7.2 | Ubuntu | bionic | * |
Php7.2 | Ubuntu | cosmic | * |
Php7.2 | Ubuntu | disco | * |
Php7.2 | Ubuntu | esm-infra/bionic | * |
Php7.4 | Ubuntu | esm-infra/focal | * |
Php7.4 | Ubuntu | focal | * |
Mitigation of resource exhaustion attacks requires that the target system either:
The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.
The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.