{"id":"CVE-2023-37457","published":"2023-12-14T19:43:30Z","modified":"2025-02-13T17:01:26Z","title":"Asterisk's PJSIP_HEADER dialplan function can overwrite memory/cause crash when using 'update'","vendor":"asterisk","product":"asterisk","tier":"tail","description":{"text":"Asterisk is an open source private branch exchange and telephony toolkit. In Asterisk versions 18.20.0 and prior, 20.5.0 and prior, and 21.0.0; as well as ceritifed-asterisk 18.9-cert5 and prior, the 'update' functionality of the PJSIP_HEADER dialplan function can exceed the available buffer space for storing the new value of a header. By doing so this can overwrite memory or cause a crash. This is not externally exploitable, unless dialplan is explicitly written to update a header based on data from an outside source. If the 'update' functionality is not used the vulnerability does not occur. A patch is available at commit a1ca0268254374b515fa5992f01340f7717113fa.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01116,"percentile":0.65948,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://github.com/asterisk/asterisk/security/advisories/GHSA-98rc-4j27-74hh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/asterisk/asterisk/commit/a1ca0268254374b515fa5992f01340f7717113fa","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00019.html","tags":[]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":13.19},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"asterisk","affectedVersions":[{"vendor":"asterisk","product":"asterisk","versions":["<= 18.20.0",">= 19.0.0, <= 20.5.0","= 21.0.0","<= 18.9-cert5"]}],"euvd":{"id":"EUVD-2023-41357","exploited":false,"provenance":"source"}}