Out-of-bounds Read Affecting sofia-sip package, versions <1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.24% (84th 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-UBUNTU2004-SOFIASIP-2850375
  • published2 Jun 2022
  • disclosed31 May 2022

Introduced: 31 May 2022

CVE-2022-31001  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 sofia-sip to version 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1 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 Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1