Buffer not correctly recycled in Gzip Request inflation
Moderate severity
GitHub Reviewed
Published
Nov 28, 2020
in
jetty/jetty.project
•
Updated Feb 21, 2024
Package
Affected versions
>= 9.4.0, <= 9.4.34
Patched versions
9.4.35.v20201120
Description
Published by the National Vulnerability Database
Nov 28, 2020
Reviewed
Dec 2, 2020
Published to the GitHub Advisory Database
Dec 2, 2020
Last updated
Feb 21, 2024
Impact
If GZIP request body inflation is enabled and requests from different clients are multiplexed onto a single connection and if an
attacker can send a request with a body that is received entirely by not consumed by the application, then a subsequent request
on the same connection will see that body prepended to it's body.
The attacker will not see any data, but may inject data into the body of the subsequent request
CVE score is 4.8 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Workarounds
The problem can be worked around by either:
Connection: close
to any response where the servlet does not fully consume request content.References