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: 2017-07-07 15:37 UTC
From: kelunik@php.net Assigned: bwoebi (profile)
Status: Assigned Package: Zlib related
PHP Version: Next Minor Version OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kelunik@php.net
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-07-07 15:37 UTC] bwoebi@php.net
-Assigned To: +Assigned To: bwoebi
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sat Nov 18 15:03:12 2017 UTC