CVE-2022-39244: Buffer overflow in pjlib scanner and pjmedia

Published Oct 6, 2022
·
Updated

PJSIP is a free and open source multimedia communication library written in C. In versions of PJSIP prior to 2.13 the PJSIP parser, PJMEDIA RTP decoder, and PJMEDIA SDP parser are affeced by a buffer overflow vulnerability. Users connecting to untrusted clients are at risk. This issue has been patched and is available as commit c4d3498 in the master branch and will be included in releases 2.13 and later. Users are advised to upgrade. There are no known workarounds for this issue.

Affected Software

14 affected componentsFixes available
ubuntu/ring<20180228.1.503
20180228.1.503
ubuntu/ring<20190215.1.
20190215.1.
PJSIP PJSIP<2.13
debian/asterisk<1:20.0.1~dfsg+~cs6.12.40431414-1
1:20.0.1~dfsg+~cs6.12.40431414-1
debian/ring<20230206.0~ds1-1
20230206.0~ds1-1
debian/asterisk
1:22.10.1+dfsg+~cs6.17.60671434-1
debian/ring
20230206.0~ds2-1.1+deb12u1
alpine/pjproject<2.13-r0
2.13-r0
alpine/pjproject<2.13-r0
2.13-r0
alpine/pjproject<2.13-r0
2.13-r0
alpine/pjproject<2.13-r0
2.13-r0
alpine/pjproject<2.13-r0
2.13-r0
alpine/pjproject<2.13-r0
2.13-r0
alpine/pjproject<2.13-r0
2.13-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/ring to a version that resolves this vulnerability.

    Fixed in 20180228.1.503
  2. Upgrade

    Upgrade ubuntu/ring to a version that resolves this vulnerability.

    Fixed in 20190215.1.
  3. Upgrade

    Upgrade debian/asterisk to a version that resolves this vulnerability.

    Fixed in 1:22.10.1+dfsg+~cs6.17.60671434-1
  4. Upgrade

    Upgrade debian/ring to a version that resolves this vulnerability.

    Fixed in 20230206.0~ds2-1.1+deb12u1
  5. Upgrade

    Upgrade alpine/pjproject to a version that resolves this vulnerability.

    Fixed in 2.13-r0
  6. Upgrade

    Upgrade debian/asterisk to a version that resolves this vulnerability.

    Fixed in 1:20.0.1~dfsg+~cs6.12.40431414-1
  7. Upgrade

    Upgrade debian/ring to a version that resolves this vulnerability.

    Fixed in 20230206.0~ds1-1
  8. Upgrade

    Upgrade PJSIP to a version that resolves this vulnerability.

    Fixed in 2.13Patch c4d3498

Event History

Oct 6, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·06:16 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2022-39244.

2

What is PJSIP?

PJSIP is a free and open source multimedia communication library written in C.

3

What versions of PJSIP are affected by this vulnerability?

Versions of PJSIP prior to 2.13 are affected by this vulnerability.

4

Which components of PJSIP are vulnerable?

The PJSIP parser, PJMEDIA RTP decoder, and PJMEDIA SDP parser are affected by this vulnerability.

5

How can users be affected by this vulnerability?

Users connecting to untrusted clients are at risk.

6

What is the severity of this vulnerability?

The severity of this vulnerability is critical, with a severity value of 9.8.

7

How can I fix this vulnerability in PJSIP?

To fix this vulnerability, users should update to a version of PJSIP 2.13 or later, which includes the patch for this issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203