{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"important"},"category":"csaf_vex","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":"SUSE CVE-2024-52811","title":"Title"},{"category":"description","text":"The ngtcp2 project is an effort to implement IETF QUIC protocol in C. In affected versions acks are not validated before being written to the qlog leading to a buffer overflow. In `ngtcp2_conn::conn_recv_pkt` for an ACK, there was new logic that got added to skip `conn_recv_ack` if an ack has already been processed in the payload. However, this causes us to also skip `ngtcp2_pkt_validate_ack`. The ack which was skipped still got written to qlog. The bug occurs in `ngtcp2_qlog::write_ack_frame`. It is now possible to reach this code with an invalid ack, suppose `largest_ack=0` and `first_ack_range=15`. Subtracting `largest_ack - first_ack_range` will lead to an integer underflow which is 20 chars long. However, the ngtcp2 qlog code assumes the number written is a signed integer and only accounts for 19 characters of overhead (see `NGTCP2_QLOG_ACK_FRAME_RANGE_OVERHEAD`). Therefore, we overwrite the buffer causing a heap overflow. This is high priority and could potentially impact many users if they enable qlog. qlog is disabled by default. Due to its overhead, it is most likely used for debugging purpose, but the actual use is unknown. ngtcp2 v1.9.1 fixes the bug and users are advised to upgrade. Users unable to upgrade should not turn on qlog.","title":"Description of the CVE"},{"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":"CVE-2024-52811","url":"https://www.suse.com/security/cve/CVE-2024-52811"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1233780 for CVE-2024-52811","url":"https://bugzilla.suse.com/1233780"},{"category":"external","summary":"Advisory link for openSUSE-SU-2025:14766-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/NVYO4EORHYOTKRPIS6X2X7WD5IUPREW7/"}],"title":"SUSE CVE CVE-2024-52811","tracking":{"current_release_date":"2025-03-15T04:19:06Z","generator":{"date":"2024-11-27T03:48:26Z","engine":{"name":"cve-database.git:bin/generate-csaf-vex.pl","version":"1"}},"id":"CVE-2024-52811","initial_release_date":"2024-11-27T03:48:26Z","revision_history":[{"date":"2024-11-27T03:48:26Z","number":"2","summary":"Current version"},{"date":"2025-01-01T00:26:11Z","number":"3","summary":"Current version"},{"date":"2025-02-05T03:51:08Z","number":"4","summary":"Current version"},{"date":"2025-02-12T03:55:49Z","number":"5","summary":"Current version"},{"date":"2025-02-13T00:27:28Z","number":"6","summary":"Current version"},{"date":"2025-02-14T04:08:44Z","number":"7","summary":"Current version"},{"date":"2025-02-16T04:01:19Z","number":"8","summary":"Current version"},{"date":"2025-03-15T04:19:06Z","number":"9","summary":"Current version"}],"status":"interim","version":"9"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_name","name":"openSUSE Tumbleweed","product":{"name":"openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed","product_identification_helper":{"cpe":"cpe:/o:opensuse:tumbleweed"}}},{"category":"product_version","name":"libngtcp2-16-1.10.0-1.1","product":{"name":"libngtcp2-16-1.10.0-1.1","product_id":"libngtcp2-16-1.10.0-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/libngtcp2-16@1.10.0-1.1"}}},{"category":"product_version","name":"libngtcp2-devel-1.10.0-1.1","product":{"name":"libngtcp2-devel-1.10.0-1.1","product_id":"libngtcp2-devel-1.10.0-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/libngtcp2-devel@1.10.0-1.1"}}},{"category":"product_version","name":"libngtcp2_crypto_gnutls8-1.10.0-1.1","product":{"name":"libngtcp2_crypto_gnutls8-1.10.0-1.1","product_id":"libngtcp2_crypto_gnutls8-1.10.0-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/libngtcp2_crypto_gnutls8@1.10.0-1.1"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"libngtcp2-16-1.10.0-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:libngtcp2-16-1.10.0-1.1"},"product_reference":"libngtcp2-16-1.10.0-1.1","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"libngtcp2-devel-1.10.0-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:libngtcp2-devel-1.10.0-1.1"},"product_reference":"libngtcp2-devel-1.10.0-1.1","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"libngtcp2_crypto_gnutls8-1.10.0-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:libngtcp2_crypto_gnutls8-1.10.0-1.1"},"product_reference":"libngtcp2_crypto_gnutls8-1.10.0-1.1","relates_to_product_reference":"openSUSE Tumbleweed"}]},"vulnerabilities":[{"cve":"CVE-2024-52811","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2024-52811"}],"notes":[{"category":"general","text":"The ngtcp2 project is an effort to implement IETF QUIC protocol in C. In affected versions acks are not validated before being written to the qlog leading to a buffer overflow. In `ngtcp2_conn::conn_recv_pkt` for an ACK, there was new logic that got added to skip `conn_recv_ack` if an ack has already been processed in the payload. However, this causes us to also skip `ngtcp2_pkt_validate_ack`. The ack which was skipped still got written to qlog. The bug occurs in `ngtcp2_qlog::write_ack_frame`. It is now possible to reach this code with an invalid ack, suppose `largest_ack=0` and `first_ack_range=15`. Subtracting `largest_ack - first_ack_range` will lead to an integer underflow which is 20 chars long. However, the ngtcp2 qlog code assumes the number written is a signed integer and only accounts for 19 characters of overhead (see `NGTCP2_QLOG_ACK_FRAME_RANGE_OVERHEAD`). Therefore, we overwrite the buffer causing a heap overflow. This is high priority and could potentially impact many users if they enable qlog. qlog is disabled by default. Due to its overhead, it is most likely used for debugging purpose, but the actual use is unknown. ngtcp2 v1.9.1 fixes the bug and users are advised to upgrade. Users unable to upgrade should not turn on qlog.","title":"CVE description"}],"product_status":{"recommended":["openSUSE Tumbleweed:libngtcp2-16-1.10.0-1.1","openSUSE Tumbleweed:libngtcp2-devel-1.10.0-1.1","openSUSE Tumbleweed:libngtcp2_crypto_gnutls8-1.10.0-1.1"]},"references":[{"category":"external","summary":"CVE-2024-52811","url":"https://www.suse.com/security/cve/CVE-2024-52811"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1233780 for CVE-2024-52811","url":"https://bugzilla.suse.com/1233780"},{"category":"external","summary":"Advisory link for openSUSE-SU-2025:14766-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/NVYO4EORHYOTKRPIS6X2X7WD5IUPREW7/"}],"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 Tumbleweed:libngtcp2-16-1.10.0-1.1","openSUSE Tumbleweed:libngtcp2-devel-1.10.0-1.1","openSUSE Tumbleweed:libngtcp2_crypto_gnutls8-1.10.0-1.1"]}],"threats":[{"category":"impact","date":"2024-11-25T21:05:10Z","details":"important"}],"title":"CVE-2024-52811"}]}