CVE-2024-32663-1
authorPierre Chifflier <pollux@debian.org>
Sun, 30 Mar 2025 10:03:02 +0000 (12:03 +0200)
committerThorsten Alteholz <debian@alteholz.de>
Sun, 30 Mar 2025 10:03:02 +0000 (12:03 +0200)
commit6fbc7721ca4ef80bc864df6543f80bda912cf33a
treeb53e2ee865db5257e1c8d5b821db350cc8eb1716
parent3d0f525e0527d6531a269a3306c10bfccbb65276
CVE-2024-32663-1

commit 08d93f7c3762781b743f88f9fdc4389eb9c3eb64
Author: Philippe Antoine <pantoine@oisf.net>
Date:   Wed Mar 27 14:33:54 2024 +0100

    http2: use a reference counter for headers

    Ticket: 6892

    As HTTP hpack header compression allows one single byte to
    express a previously seen arbitrary-size header block (name+value)
    we should avoid to copy the vectors data, but just point
    to the same data, while reamining memory safe, even in the case
    of later headers eviction from the dybnamic table.

    Rust std solution is Rc, and the use of clone, so long as the
    data is accessed by only one thread.

    (cherry picked from commit 390f09692eb99809c679d3f350c7cc185d163e1a)

Gbp-Pq: Name CVE-2024-32663-1.patch
rust/src/http2/detect.rs
rust/src/http2/parser.rs