Skip to content

Use after free of dialog set

High
sauwming published GHSA-ffff-m5fm-qm62 Feb 20, 2022

Package

No package listed

Affected versions

2.11.1 or below

Patched versions

2.12 or later

Description

In a dialog set (or forking) scenario, a 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 endless loop.

Impact

It is a use after free vulnerability and affects all PJSIP users.

Patches

The patch is available as commit db32359 in the master branch.

For more information

If you have any questions or comments about this advisory:
Email us at security@pjsip.org

Severity

High

CVE ID

CVE-2022-23608

Weaknesses

No CWEs

Credits