Skip to main content
← All vulnerabilities
CVE-2022-31003

Heap-based Buffer Overflow and Out-of-bounds Write in Sofia-SIP

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.13.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • freeswitch sofia-sip

    fixed in 1.13.8

References 5

GitHub · freeswitch/sofia-sip

lists.debian.org

security.gentoo.org

debian.org