Colm O hEigeartaigh created CXF-9274:
----------------------------------------

             Summary: Limit the decompressed size of gzip-encoded messages
                 Key: CXF-9274
                 URL: https://issues.apache.org/jira/browse/CXF-9274
             Project: CXF
          Issue Type: Improvement
            Reporter: Colm O hEigeartaigh
            Assignee: Colm O hEigeartaigh
             Fix For: 3.6.14, 4.2.5, 4.1.10


GZIPInInterceptor wrapped gzip-encoded messages in a GZIPInputStream
with no limit on how much they could decompress to, so a small
compressed message could expand to a very large one.
 
Fail reading once more than 100 MB has been decompressed. The limit can
be set per endpoint or client with the "gzip-max-decompressed-size"
property, or for the whole JVM with the
org.apache.cxf.gzip-max-decompressed-size system property. A negative
value disables the limit.
 
Anything that legitimately sends gzipped bodies larger than 100 MB will need to 
raise the limit



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to