php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #74876 Add maxSize option for inflate_init
Submitted: 2017-07-07 15:35 UTC Modified: 2021-11-09 12:39 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: kelunik@php.net Assigned: bwoebi (profile)
Status: Assigned Package: Zlib related
PHP Version: Next Minor Version OS:
Private report: No CVE-ID: None
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
37 - 35 = ?
Subscribe to this entry?

 
 [2017-07-07 15:35 UTC] kelunik@php.net
Description:
------------
There should be a maxSize option for `inflate_init` to protect against things like https://blog.haschek.at/2017/how-to-defend-your-website-with-zip-bombs.html

Without such an option it's always possible for servers to crash clients with such a gzipped response.


Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-07-07 15:37 UTC] bwoebi@php.net
-Assigned To: +Assigned To: bwoebi
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Oct 15 13:01:27 2024 UTC