Skip to content

Potential buffer overflow in pjsip_auth_create_digest()

Low
sauwming published GHSA-73f7-48m9-w662 Mar 11, 2022

Package

No package listed

Affected versions

2.12 or lower

Patched versions

2.12.1 or later

Description

Impact

It is a stack-buffer overflow vulnerability and only impacts PJSIP users that accepts hashed digest credentials (credentials with data_type PJSIP_CRED_DATA_DIGEST).

Patches

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

Workarounds

Users need to check that the hashed digest data length must be equal to PJSIP_MD5STRLEN before passing to PJSIP.

For more information

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

Severity

Low

CVE ID

CVE-2022-24754

Weaknesses

No CWEs

Credits