Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/quic-go/quic-go
  4. ›
  5. CVE-2024-53259

CVE-2024-53259: quic-go affected by an ICMP Packet Too Large Injection Attack on Linux

December 2, 2024 (updated December 4, 2024)

An off-path attacker can inject an ICMP Packet Too Large packet. Since affected quic-go versions used IP_PMTUDISC_DO, the kernel would then return a “message too large” error on sendmsg, i.e. when quic-go attempts to send a packet that exceeds the MTU claimed in that ICMP packet.

By setting this value to smaller than 1200 bytes (the minimum MTU for QUIC), the attacker can disrupt a QUIC connection. Crucially, this can be done after completion of the handshake, thereby circumventing any TCP fallback that might be implemented on the application layer (for example, many browsers fall back to HTTP over TCP if they’re unable to establish a QUIC connection).

As far as I understand, the kernel tracks the MTU per 4-tuple, so the attacker needs to at least know the client’s IP and port tuple to mount an attack (assuming that it knows the server’s IP and port).

References

  • github.com/advisories/GHSA-px8v-pp82-rcvr
  • github.com/quic-go/quic-go
  • github.com/quic-go/quic-go/commit/ca31dd355cbe5fc6c5807992d9d1149c66c96a50
  • github.com/quic-go/quic-go/pull/4729
  • github.com/quic-go/quic-go/releases/tag/v0.48.2
  • github.com/quic-go/quic-go/security/advisories/GHSA-px8v-pp82-rcvr
  • nvd.nist.gov/vuln/detail/CVE-2024-53259

Code Behaviors & Features

Detect and mitigate CVE-2024-53259 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.48.2

Fixed versions

  • 0.48.2

Solution

Upgrade to version 0.48.2 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity

Source file

go/github.com/quic-go/quic-go/CVE-2024-53259.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 08 Jan 2026 12:20:08 +0000.