nghttp2: Denial of service — GLSA 201612-13

Nghttp2 is vulnerable to a Denial of Service attack.

Affected packages

net-libs/nghttp2 on all architectures
Affected versions < 1.7.1
Unaffected versions >= 1.7.1

Background

Nghttp2 is an implementation of HTTP/2 and its header compression algorithm HPACK in C.

Description

Nghttpd, nghttp, and libnghttp2_asio applications do not limit the memory usage for the incoming HTTP header field. If a peer sends a specially crafted HTTP/2 HEADERS frame and CONTINUATION frame, they will crash with an out of memory error.

Impact

A remote attacker could possibly cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All nghttp2 users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=net-libs/nghttp2-1.7.1"
 

References

Release date
December 05, 2016

Latest revision
December 05, 2016: 1

Severity
normal

Exploitable
remote

Bugzilla entries