Buffer Overflow Affecting pjsip/pjproject package, versions [,2.13.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.5% (66th 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 Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PJSIPPJPROJECT-3360027
  • published15 Mar 2023
  • disclosed15 Mar 2023
  • credit0x34d

Introduced: 15 Mar 2023

CVE-2023-27585  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade pjsip/pjproject to version 2.13.1 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow in the DNS resolver in dns.c. Systems are only vulnerable if the DNS resolver is in use, e.g. configured via pjsua_config.nameserver or UaConfig.nameserver.

Workaround

This vulnerability can be avoided by disabling DNS resolution by setting nameserver_count to 0, or by using an external resolver with pjsip_resolver_set_ext_resolver().

References

CVSS Base Scores

version 3.1