{"id":"CVE-2022-31001","published":"2022-05-31T00:00:00Z","modified":"2024-08-03T07:03:40Z","title":"Out-of-bounds Read in Sofia-SIP","vendor":"freeswitch","product":"sofia-sip","tier":"tail","description":{"text":"Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library. Prior to version 1.13.8, an attacker can send a message with evil sdp to FreeSWITCH, which may cause crash. This type of crash may be caused by `#define MATCH(s, m) (strncmp(s, m, n = sizeof(m) - 1) == 0)`, which will make `n` bigger and trigger out-of-bound access when `IS_NON_WS(s[n])`. Version 1.13.8 contains a patch for this issue.","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.02239,"percentile":0.83109,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-79jq-hh82-cv9g","tags":[]},{"url":"https://github.com/freeswitch/sofia-sip/commit/a99804b336d0e16d26ab7119d56184d2d7110a36","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00001.html","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202210-18","tags":["vendor-advisory"]},{"url":"https://www.debian.org/security/2023/dsa-5410","tags":["vendor-advisory"]}],"priority":{"score":21.9,"factors":[{"name":"EPSS percentile","points":16.62},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"freeswitch","affectedVersions":[{"vendor":"freeswitch","product":"sofia-sip","versions":["< 1.13.8"]}],"euvd":{"id":"EUVD-2022-52708","exploited":false,"provenance":"source"}}