Improper resource allocation In php8.4
Description
In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, when SoapServer is configured with SOAP_PERSISTENCE_SESSION, the handler object is persisted across requests via session storage. However, in the case SOAP requests results in an error, the persistance is handled incorrectly, resulting in freeing the object while keeping a pointer to it, which may lead to use-after-free. This may lead to memory corruption, information disclosure, or process crashes, with confidentiality, integrity, and availability impact on the vulnerable system.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
rpm rhel8 | 0:7.4.33-4.module+el8.10.0+24352+91532d3e | ||
rpm rhel9 | 0:8.0.30-6.el9_8 | ||
debian 12 | 8.2.31-1~deb12u1 | ||
debian 14 | 8.4.21-1 | ||
debian 13 | 8.4.21-1~deb13u1 | ||
rpm rhel10 | 0:8.3.31-1.el10_2 | ||
rpm rhel7 | - | - | |
rpm rhel10 | 0:8.4.21-1.el10_2 | ||
rpm rhel6 | - | - |
Aliases