Out-of-bounds Read Affecting freeswitch/sofia-sip package, versions [,1.13.8)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.15% (37th 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-UNMANAGED-FREESWITCHSOFIASIP-2849641
  • published1 Jun 2022
  • disclosed1 Jun 2022
  • creditCossack9989

Introduced: 1 Jun 2022

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

How to fix?

Upgrade freeswitch/sofia-sip to version 1.13.8 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read when sending a message with evil SDP to FreeSWITCH. 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 when IS_NON_WS(s[n]).

References

CVSS Base Scores

version 3.1