{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"moderate"},"category":"csaf_security_advisory","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"Security update for netty","title":"Title of the patch"},{"category":"description","text":"This update for netty fixes the following issues:\n\n- CVE-2021-21295: Fixed an improper Content-Length header field validation (bsc#1183262). :\n\nThis update was imported from the SUSE:SLE-15-SP2:Update update project.","title":"Description of the patch"},{"category":"details","text":"openSUSE-2021-448","title":"Patchnames"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"SUSE ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"self","summary":"URL of this CSAF notice","url":"https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2021_0448-1.json"},{"category":"self","summary":"URL for openSUSE-SU-2021:0448-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/XDF63Q7PJ5ZO6J24Z3YJ7WWZWTTROVC2/"},{"category":"self","summary":"E-Mail link for openSUSE-SU-2021:0448-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/XDF63Q7PJ5ZO6J24Z3YJ7WWZWTTROVC2/"},{"category":"self","summary":"SUSE Bug 1183262","url":"https://bugzilla.suse.com/1183262"},{"category":"self","summary":"SUSE CVE CVE-2021-21295 page","url":"https://www.suse.com/security/cve/CVE-2021-21295/"}],"title":"Security update for netty","tracking":{"current_release_date":"2021-03-19T13:05:57Z","generator":{"date":"2021-03-19T13:05:57Z","engine":{"name":"cve-database.git:bin/generate-csaf.pl","version":"1"}},"id":"openSUSE-SU-2021:0448-1","initial_release_date":"2021-03-19T13:05:57Z","revision_history":[{"date":"2021-03-19T13:05:57Z","number":"1","summary":"Current version"}],"status":"final","version":"1"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_version","name":"netty-4.1.13-lp152.3.3.1.x86_64","product":{"name":"netty-4.1.13-lp152.3.3.1.x86_64","product_id":"netty-4.1.13-lp152.3.3.1.x86_64"}},{"category":"product_version","name":"netty-javadoc-4.1.13-lp152.3.3.1.x86_64","product":{"name":"netty-javadoc-4.1.13-lp152.3.3.1.x86_64","product_id":"netty-javadoc-4.1.13-lp152.3.3.1.x86_64"}},{"category":"product_version","name":"netty-poms-4.1.13-lp152.3.3.1.x86_64","product":{"name":"netty-poms-4.1.13-lp152.3.3.1.x86_64","product_id":"netty-poms-4.1.13-lp152.3.3.1.x86_64"}}],"category":"architecture","name":"x86_64"},{"branches":[{"category":"product_name","name":"openSUSE Leap 15.2","product":{"name":"openSUSE Leap 15.2","product_id":"openSUSE Leap 15.2","product_identification_helper":{"cpe":"cpe:/o:opensuse:leap:15.2"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"netty-4.1.13-lp152.3.3.1.x86_64 as component of openSUSE Leap 15.2","product_id":"openSUSE Leap 15.2:netty-4.1.13-lp152.3.3.1.x86_64"},"product_reference":"netty-4.1.13-lp152.3.3.1.x86_64","relates_to_product_reference":"openSUSE Leap 15.2"},{"category":"default_component_of","full_product_name":{"name":"netty-javadoc-4.1.13-lp152.3.3.1.x86_64 as component of openSUSE Leap 15.2","product_id":"openSUSE Leap 15.2:netty-javadoc-4.1.13-lp152.3.3.1.x86_64"},"product_reference":"netty-javadoc-4.1.13-lp152.3.3.1.x86_64","relates_to_product_reference":"openSUSE Leap 15.2"},{"category":"default_component_of","full_product_name":{"name":"netty-poms-4.1.13-lp152.3.3.1.x86_64 as component of openSUSE Leap 15.2","product_id":"openSUSE Leap 15.2:netty-poms-4.1.13-lp152.3.3.1.x86_64"},"product_reference":"netty-poms-4.1.13-lp152.3.3.1.x86_64","relates_to_product_reference":"openSUSE Leap 15.2"}]},"vulnerabilities":[{"cve":"CVE-2021-21295","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2021-21295"}],"notes":[{"category":"general","text":"Netty is an open-source, asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. In Netty (io.netty:netty-codec-http2) before version 4.1.60.Final there is a vulnerability that enables request smuggling. If a Content-Length header is present in the original HTTP/2 request, the field is not validated by `Http2MultiplexHandler` as it is propagated up. This is fine as long as the request is not proxied through as HTTP/1.1. If the request comes in as an HTTP/2 stream, gets converted into the HTTP/1.1 domain objects (`HttpRequest`, `HttpContent`, etc.) via `Http2StreamFrameToHttpObjectCodec `and then sent up to the child channel's pipeline and proxied through a remote peer as HTTP/1.1 this may result in request smuggling. In a proxy case, users may assume the content-length is validated somehow, which is not the case. If the request is forwarded to a backend channel that is a HTTP/1.1 connection, the Content-Length now has meaning and needs to be checked. An attacker can smuggle requests inside the body as it gets downgraded from HTTP/2 to HTTP/1.1. For an example attack refer to the linked GitHub Advisory. Users are only affected if all of this is true: `HTTP2MultiplexCodec` or `Http2FrameCodec` is used, `Http2StreamFrameToHttpObjectCodec` is used to convert to HTTP/1.1 objects, and these HTTP/1.1 objects are forwarded to another remote peer. This has been patched in 4.1.60.Final As a workaround, the user can do the validation by themselves by implementing a custom `ChannelInboundHandler` that is put in the `ChannelPipeline` behind `Http2StreamFrameToHttpObjectCodec`.","title":"CVE description"}],"product_status":{"recommended":["openSUSE Leap 15.2:netty-4.1.13-lp152.3.3.1.x86_64","openSUSE Leap 15.2:netty-javadoc-4.1.13-lp152.3.3.1.x86_64","openSUSE Leap 15.2:netty-poms-4.1.13-lp152.3.3.1.x86_64"]},"references":[{"category":"external","summary":"CVE-2021-21295","url":"https://www.suse.com/security/cve/CVE-2021-21295"},{"category":"external","summary":"SUSE Bug 1183262 for CVE-2021-21295","url":"https://bugzilla.suse.com/1183262"},{"category":"external","summary":"SUSE Bug 1184203 for CVE-2021-21295","url":"https://bugzilla.suse.com/1184203"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["openSUSE Leap 15.2:netty-4.1.13-lp152.3.3.1.x86_64","openSUSE Leap 15.2:netty-javadoc-4.1.13-lp152.3.3.1.x86_64","openSUSE Leap 15.2:netty-poms-4.1.13-lp152.3.3.1.x86_64"]}],"scores":[{"cvss_v3":{"baseScore":6.5,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"products":["openSUSE Leap 15.2:netty-4.1.13-lp152.3.3.1.x86_64","openSUSE Leap 15.2:netty-javadoc-4.1.13-lp152.3.3.1.x86_64","openSUSE Leap 15.2:netty-poms-4.1.13-lp152.3.3.1.x86_64"]}],"threats":[{"category":"impact","date":"2021-03-19T13:05:57Z","details":"moderate"}],"title":"CVE-2021-21295"}]}