Buffer Overflow Affecting ring package, versions <20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.37% (73rd 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-RING-5952029
  • published13 Jul 2022
  • disclosed9 Jun 2022

Introduced: 9 Jun 2022

CVE-2022-31031  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 ring to version 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ring package and not the ring package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In versions prior to and including 2.12.1 a stack buffer overflow vulnerability affects PJSIP users that use STUN in their applications, either by: setting a STUN server in their account/media config in PJSUA/PJSUA2 level, or directly using pjlib-util/stun_simple API. A patch is available in commit 450baca which should be included in the next release. There are no known workarounds for this issue.

CVSS Scores

version 3.1