CVE-2022-42705: Use After Free

Published Dec 5, 2022
·
Updated

A use-after-free in respjsippubsub.c in Sangoma Asterisk 16.28, 18.14, 19.6, and certified/18.9-cert2 may allow a remote authenticated attacker to crash Asterisk (denial of service) by performing activity on a subscription via a reliable transport at the same time that Asterisk is also performing activity on that subscription.

Affected Software

16 affected componentsFixes available
Sangoma Asterisk>=16.0.0<16.29.1
Sangoma Asterisk>=18.14.0<18.15.1
Sangoma Asterisk>=19.6.0<19.7.1
Sangoma Asterisk=20.0.0
Sangoma Certified Asterisk=18.9-cert2
debian/asterisk<1:20.0.1~dfsg+~cs6.12.40431414-1
1:20.0.1~dfsg+~cs6.12.40431414-1
debian/asterisk
1:22.10.1+dfsg+~cs6.17.60671434-1
alpine/asterisk>=16.0.0<18.20.2-r0
18.20.2-r0
alpine/asterisk>=16.0.0<18.15.1-r0
18.15.1-r0
alpine/asterisk>=16.0.0<18.15.1-r0
18.15.1-r0
alpine/asterisk>=16.0.0<18.15.1-r0
18.15.1-r0
alpine/asterisk>=16.0.0<18.15.1-r0
18.15.1-r0
alpine/asterisk>=16.0.0<18.15.1-r0
18.15.1-r0
alpine/asterisk>=16.0.0<18.15.1-r0
18.15.1-r0
alpine/asterisk>=16.0.0<18.15.1-r0
18.15.1-r0
alpine/asterisk>=16.0.0<18.15.1-r0
18.15.1-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

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

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

    Fixed in 18.20.2-r0
  3. Upgrade

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

    Fixed in 18.15.1-r0
  4. Upgrade

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

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

Event History

Dec 5, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·09:15 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 CVE-2022-42705?

CVE-2022-42705 is a use-after-free vulnerability in Sangoma Asterisk 16.28, 18.14, 19.6, and certified/18.9-cert2.

2

How does CVE-2022-42705 affect Sangoma Asterisk?

CVE-2022-42705 may allow a remote authenticated attacker to crash Asterisk (denial of service) by performing activity on a subscription via a reliable transport at the same time that Asterisk is also performing operations on the same subscription.

3

Which versions of Sangoma Asterisk are affected by CVE-2022-42705?

Sangoma Asterisk 16.28, 18.14, 19.6, and certified/18.9-cert2 are affected by CVE-2022-42705.

4

How can I mitigate the impact of CVE-2022-42705?

To mitigate the impact of CVE-2022-42705, it is recommended to update Sangoma Asterisk to the patched versions provided by the vendor.

5

Where can I find more information about CVE-2022-42705?

You can find more information about CVE-2022-42705 on the official Asterisk issue tracker (JIRA), the Asterisk security advisory, and the Asterisk Git repository.

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