Out-of-bounds Read Affecting pjsip/pjproject package, versions [,2.12)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.39% (74th 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-PJSIPPJPROJECT-3125003
  • published18 Nov 2022
  • disclosed18 Nov 2022
  • creditUriya Yavnieli

Introduced: 18 Nov 2022

CVE-2021-43302  (opens in a new tab)
CWE-125  (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 Out-of-bounds Read when calling pjsua_recorder_create function, if the filename is shorter than 4 characters.

Workaround

Users who are unable to upgrade to the fixed version can check the parameters' length (i.e. the filenames and the buffer) before calling the above APIs.

CVSS Scores

version 3.1