Paper/Archive/CVE-2022-31003

CVE-2022-31003

freeswitch sofia-sip — Heap-based Buffer Overflow and Out-of-bounds Write in Sofia-SIP

Description · from the CVE record

Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library. Prior to version 1.13.8, when parsing each line of a sdp message, `rest = record + 2` will access the memory behind `\0` and cause an out-of-bounds write. An attacker can send a message with evil sdp to FreeSWITCH, causing a crash or more serious consequence, such as remote code execution. Version 1.13.8 contains a patch for this issue.

Affected

ProductAffectedFixed inSource
sofia-sip< 1.13.8–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: partial

References

refgithub.com/freeswitch/sofia-sip/security/advisories/GHSA-8w5j-6g2j-pxcprefgithub.com/freeswitch/sofia-sip/commit/907f2ac0ee504c93ebfefd676b4632a3575908c9reflists.debian.org/debian-lts-announce/2022/09/msg00001.htmladvisorysecurity.gentoo.org/glsa/202210-18advisorydebian.org/security/2023/dsa-5410