Bug 2007571 (CVE-2021-32714)

Summary: CVE-2021-32714 rust-hyper: integer overflow in chunked Transfer-Encoding
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: igor.raits, rust-sig
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-24 12:21:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2007573    
Bug Blocks:    

Description Dhananjay Arunesh 2021-09-24 09:53:37 UTC
hyper is an HTTP library for Rust. In versions prior to 0.14.10, hyper's HTTP
server and client code had a flaw that could trigger an integer overflow when
decoding chunk sizes that are too big. This allows possible data loss, or if
combined with an upstream HTTP proxy that allows chunk sizes larger than hyper
does, can result in "request smuggling" or "desync attacks." The vulnerability
is patched in version 0.14.10. Two possible workarounds exist. One may reject
requests manually that contain a `Transfer-Encoding` header or ensure any
upstream proxy rejects `Transfer-Encoding` chunk sizes greater than what fits in
64-bit unsigned integers.

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32714
https://github.com/hyperium/hyper/security/advisories/GHSA-5h46-h7hh-c6x9

Comment 1 Dhananjay Arunesh 2021-09-24 09:55:45 UTC
Created rust-hyper tracking bugs for this issue:

Affects: fedora-34 [bug 2007573]

Comment 2 Product Security DevOps Team 2021-09-24 12:21:06 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.