Use After Free Affecting pjsip/pjproject package, versions [,2.12)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.98% (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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PJSIPPJPROJECT-2408990
  • published23 Feb 2022
  • disclosed23 Feb 2022
  • creditEric Wolf

Introduced: 23 Feb 2022

CVE-2022-23608  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade pjsip/pjproject to version 2.12 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. The hash key shared by multiple UAC dialogs can potentially be prematurely freed when one of the dialogs is destroyed. The issue may cause a dialog set to be registered in the hash table multiple times (with different hash keys) leading to undefined behavior such as dialog list collision which eventually leads to an endless loop.

References

CVSS Scores

version 3.1