| + |
A possible workaround for those who cannot upgrade is to block requests and responses featuring more than one content-length header after the overflow occured; these ones are always invalid because they're always resolved during the parsing phase, hence this condition never reaches the HTTP layer: |
| - |
A possible workaround for those who cannot upgrade is to block requests |
| - |
and responses featuring more than one content-length header after the |
| - |
overflow occured; these ones are always invalid because they're always |
| - |
resolved during the parsing phase, hence this condition never reaches |
| - |
the HTTP layer: |
| |
|
| |
http-request deny if { req.hdr_cnt(content-length) gt 1 } |
| |
http-response deny if { res.hdr_cnt(content-length) gt 1 } |