Heap-based Buffer Overflow Affecting sofia-sip package, versions <1.12.11+20110422.1-2.1+deb11u1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
4.89% (94th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-SOFIASIP-2855195
  • published2 Jun 2022
  • disclosed31 May 2022

Introduced: 31 May 2022

CVE-2022-31003  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Debian:11 sofia-sip to version 1.12.11+20110422.1-2.1+deb11u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sofia-sip package and not the sofia-sip package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.

CVSS Scores

version 3.1