7.5 HIGH
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): LOW
- Privileges required (PR): NONE
- User interaction (UI): NONE
- Scope (S): UNCHANGED
- Confidentiality impact (C): NONE
- Integrity impact (I): NONE
- Availability impact (A): HIGH
nghttp2 Denial of service: Assertion failure due to the missing state validation
nghttp2 is an implementation of the Hypertext Transfer Protocol version 2 in C. Prior to version 1.68.1, the nghttp2 library stops reading the incoming data when user facing public API `nghttp2_session_terminate_session` or `nghttp2_session_terminate_session2` is called by the application. They might be called internally by the library when it detects the situation that is subject to connection error. Due to the missing internal state validation, the library keeps reading the rest of the data after one of those APIs is called. Then receiving a malformed frame that causes FRAME_SIZE_ERROR causes assertion failure. nghttp2 v1.68.1 adds missing state validation to avoid assertion failure. No known workarounds are available.
References
Affected products
- ==< 1.68.1
Matching in nixpkgs
pkgs.nghttp2
HTTP/2 C library and tools
pkgs.libnghttp2
HTTP/2 C library and tools
pkgs.libnghttp2_asio
High level HTTP/2 C++ library
-
nixos-unstable 0-unstable-2022-08-11
- nixpkgs-unstable 0-unstable-2022-08-11
- nixos-unstable-small 0-unstable-2022-08-11
-
nixos-25.11 0-unstable-2022-08-11
- nixos-25.11-small 0-unstable-2022-08-11
- nixpkgs-25.11-darwin 0-unstable-2022-08-11
Package maintainers
-
@c0bw3b Renaud <c0bw3b@gmail.com>
-
@Izorkin Yurii Izorkin <Izorkin@gmail.com>