{"id":"CVE-2024-53259","aliases":["CVE-2024-53259","GHSA-px8v-pp82-rcvr","GO-2024-3302"],"related":["CGA-x3gx-7wvx-m9cw"],"kind":"vulnerability","state":"published","title":"quic-go affected by an ICMP Packet Too Large Injection Attack on Linux","summary":"quic-go is an implementation of the QUIC protocol in Go. 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). The attacker needs to at least know the client's IP and port tuple to mount an attack. This vulnerability is fixed in 0.48.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"quic-go is an implementation of the QUIC protocol in Go. 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). The attacker needs to at least know the client's IP and port tuple to mount an attack. This vulnerability is fixed in 0.48.2.","source":"cvelist"},{"lang":"en","text":"### Impact\nAn 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.\n\nBy 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).\n\nAs 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).\n\n### Patches\n\nThe fix is easy: Use `IP_PMTUDISC_PROBE` instead of `IP_PMTUDISC_DO`. This socket option only sets the DF bit, but disables the kernel's MTU tracking.\n\n_Has the problem been patched? What versions should users upgrade to?_\n\nFixed in https://github.com/quic-go/quic-go/pull/4729\nReleased in https://github.com/quic-go/quic-go/releases/tag/v0.48.2\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nUse iptables to drop ICMP Unreachable packets.\n\n### References\n\n_Are there any links users can visit to find out more?_\n\nThis bug was discovered while doing research for my new IETF draft on IP fragmentation: https://datatracker.ietf.org/doc/draft-seemann-tsvwg-udp-fragmentation/","format":"markdown","source":"ghsa"},{"lang":"en","text":"ICMP Packet Too Large Injection Attack on Linux in github.com/quic-go/quic-go","format":"markdown","source":"go"},{"lang":"es","text":"quic-go es una implementación del protocolo QUIC en Go. Un atacante que no se encuentre en la ruta de acceso puede inyectar un paquete ICMP de tamaño excesivo. Dado que las versiones de quic-go afectadas utilizan IP_PMTUDISC_DO, el núcleo devolvería un error de \"mensaje demasiado grande\" en sendmsg, es decir, cuando quic-go intenta enviar un paquete que excede la MTU indicada en ese paquete ICMP. Al establecer este valor en un valor menor a 1200 bytes (la MTU mínima para QUIC), el atacante puede interrumpir una conexión QUIC. Fundamentalmente, esto se puede hacer después de completar el protocolo de enlace, evitando así cualquier respaldo TCP que pueda implementarse en la capa de aplicación (por ejemplo, muchos navegadores recurren a HTTP sobre TCP si no pueden establecer una conexión QUIC). El atacante necesita al menos conocer la IP del cliente y la tupla de puertos para montar un ataque. Esta vulnerabilidad se corrigió en 0.48.2.","source":"nvd"}],"published":"2024-12-02T16:12:40.605Z","modified":"2026-09-10T03:50:21.661Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-345"],"affected":[{"ranges":[{"version":"< 0.48.2","status":"affected"}],"vendor":"quic-go","product":"quic-go","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.48.2"}],"ecosystem":"Go","package":"github.com/quic-go/quic-go","purl":"pkg:golang/github.com/quic-go/quic-go","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.48.2"}],"ecosystem":"Go","package":"github.com/quic-go/quic-go","purl":"pkg:golang/github.com/quic-go/quic-go","source":"go"}],"references":[{"url":"https://github.com/quic-go/quic-go/security/advisories/GHSA-px8v-pp82-rcvr","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/quic-go/quic-go/pull/4729","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/quic-go/quic-go/commit/ca31dd355cbe5fc6c5807992d9d1149c66c96a50","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/quic-go/quic-go/releases/tag/v0.48.2","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53259","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/quic-go/quic-go","tags":["package"],"sources":["ghsa"]},{"url":"https://datatracker.ietf.org/doc/draft-seemann-tsvwg-udp-fragmentation/","tags":["report"],"sources":["go"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-12-02T19:27:58.329Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-53259","url":"https://www.cve.org/CVERecord?id=CVE-2024-53259","licence":"CVE Terms of Use","modified":"2024-12-02T19:28:08.531Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-px8v-pp82-rcvr","url":"https://github.com/advisories/GHSA-px8v-pp82-rcvr","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:21.661Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-3302","url":"https://pkg.go.dev/vuln/GO-2024-3302","licence":"CC-BY-4.0","modified":"2026-02-04T04:13:29.531Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-53259","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53259","licence":"Public domain","modified":"2026-06-17T08:08:42.437Z"}],"updatedAt":"2026-11-25T22:58:49.641Z","epss":{"score":0.00604,"percentile":0.50254,"date":"2026-12-01T12:00:22.000Z"}}