{"id":"GHSA-hxp2-xqf3-v83h","aliases":["GO-2023-1535"],"status":"published","title":"Panic during unmarshal of Hello Verify Request in github.com/pion/dtls/v2","description":"### Impact\n\nWhen attempting to unmarshal a Server Hello request we could attempt to unmarshal into a buffer that was too small. This could result in a panic leading the program to crash.\n\nThis issue could be abused to cause a denial of service.\n\n### Workaround\n\nNone","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2023-02-07T18:24:39Z","modified":"2024-05-20T16:03:47Z","fixes":[{"ecosystem":"Go","package":"github.com/pion/dtls/v2","fixed_in":["2.2.4"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/pion/dtls/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.4"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/pion/dtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.5.4"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/pion/dtls","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.5.4"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/pion/dtls/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.4"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/pion/dtls/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.4"}]}]}],"references":[{"url":"https://github.com/pion/dtls/security/advisories/GHSA-hxp2-xqf3-v83h","tags":["web"]},{"url":"https://github.com/pion/dtls/commit/7a14903448b70069fd9e02adf210ca23083c56d2","tags":["web","fix"]},{"url":"https://pkg.go.dev/vuln/GO-2023-1535","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hxp2-xqf3-v83h"},{"url":"https://github.com/pion/dtls","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-hxp2-xqf3-v83h","title":"Panic during unmarshal of Hello Verify Request in github.com/pion/dtls/v2","description":"### Impact\n\nWhen attempting to unmarshal a Server Hello request we could attempt to unmarshal into a buffer that was too small. This could result in a panic leading the program to crash.\n\nThis issue could be abused to cause a denial of service.\n\n### Workaround\n\nNone","status":"published","published":"2023-02-07T18:24:39Z","modified":"2023-06-13T23:51:00Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:36:55.184601Z"}],"osv":[{"id":"GHSA-hxp2-xqf3-v83h","title":"Panic during unmarshal of Hello Verify Request in github.com/pion/dtls/v2","description":"### Impact\n\nWhen attempting to unmarshal a Server Hello request we could attempt to unmarshal into a buffer that was too small. This could result in a panic leading the program to crash.\n\nThis issue could be abused to cause a denial of service.\n\n### Workaround\n\nNone","status":"published","published":"2023-02-07T18:24:39Z","modified":"2023-11-08T04:20:17.527719Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:46:49.621585Z"},{"id":"GO-2023-1535","title":"Panic during unmarshal of Server Hello in github.com/pion/dtls/v2","description":"Unmarshalling a Server Hello can panic, which could allow a denial of service.","status":"published","published":"2023-02-13T16:00:55Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:01.185262Z"}]}}
