The gdImageScaleTwoPass function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in PHP before 5.6.12, u…
The gdImageScaleTwoPass function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in PHP before 5.6.12, uses inconsistent allocate and free approaches, which allows remote attackers to cause a denial of service (memory consumption) via a crafted call, as demonstrated by a call to the PHP imagescale function.
Weaknesses in this category are related to improper management of system resources.
https://cwe.mitre.org/data/definitions/399.html →Open in CWE collection →The product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed.
https://cwe.mitre.org/data/definitions/772.html →Open in CWE collection →An attacker performs flooding at the HTTP level to bring down only a particular web application rather than anything listening on a TCP/IP connection. This denial of service attack requires substantially fewer packets to be sent which makes DoS harder to detect. This is an equivalent of SYN flood in HTTP. The idea is to keep the HTTP session alive indefinitely and then repeat that hundreds of times. This attack targets resource depletion weaknesses in web server software. The web server will wait to attacker's responses on the initiated HTTP sessions while the connection threads are being exhausted.
https://capec.mitre.org/data/definitions/469.html →Open in CAPEC collection →| Product | Vendor | Status |
|---|---|---|
| libgd2 | Tracked | |
| libgd2 | Tracked | |
| libgd2 | Tracked | |
| libgd2 | Tracked | |
| libgd2 | Tracked | |
| php5 | Tracked | |
| php5 | Tracked | |
| php5 | Tracked | |
| php5 | Tracked | |
| php7.0 | Tracked | |
| php7.0 | Tracked | |
| rh-php56 | Tracked | |
| rh-php56 | Tracked | |
| rh-php56 | Tracked | |
| rh-php56 | Tracked | |
| rh-php56 | Tracked | |
| rh-php56-php | Tracked | |
| rh-php56-php | Tracked | |
| rh-php56-php | Tracked | |
| rh-php56-php | Tracked |