p PatchFirst

CVE-2023-32307

CVE-2023-32307 · heap-over-flow and integer-overflow in sofia-sip

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. Referring to [GHSA-8599-x7rq-fr54](https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-8599-x7rq-fr54), several other potential heap-over-flow and integer-overflow in stun_parse_attr_error_code and stun_parse_attr_uint32 were found because the lack of attributes length check when Sofia-SIP handles STUN packets. The previous patch of [GHSA-8599-x7rq-fr54](https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-8599-x7rq-fr54) fixed the vulnerability when attr_type did not match the enum value, but there are also vulnerabilities in the handling of other valid cases. The OOB read and integer-overflow made by attacker may lead to crash, high consumption of memory or even other more serious consequences. These issue have been addressed in version 1.13.15. Users are advised to upgrade.

CVSS 7.5 · High · EPSS 1.1% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • sofia-sip

    Versions
    • < 1.13.15: Affected

    No fix published

  • sofia-sip Debian:12

    Affected ranges
    • ECOSYSTEM: < 1.12.11+20110422.1+1e14eea~dfsg-6

    Update to 1.12.11+20110422.1+1e14eea~dfsg-6

  • sofia-sip Debian:13

    Affected ranges
    • ECOSYSTEM: < 1.12.11+20110422.1+1e14eea~dfsg-6

    Update to 1.12.11+20110422.1+1e14eea~dfsg-6

  • sofia-sip Debian:14

    Affected ranges
    • ECOSYSTEM: < 1.12.11+20110422.1+1e14eea~dfsg-6

    Update to 1.12.11+20110422.1+1e14eea~dfsg-6

  • sofia-sip Ubuntu:Pro:16.04:LTS

    Versions
    • 1.12.11+20110422.1-2ubuntu1
    • 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1
    Affected ranges
    • ECOSYSTEM: < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm2

    Update to 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm2

  • sofia-sip Ubuntu:Pro:18.04:LTS

    Versions
    • 1.12.11+20110422.1-2.1
    • 1.12.11+20110422.1-2.1build1
    • 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1
    Affected ranges
    • ECOSYSTEM: < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.18.04.1~esm1

    Update to 1.12.11+20110422.1-2.1+deb10u3ubuntu0.18.04.1~esm1

  • sofia-sip Ubuntu:20.04:LTS

    Versions
    • 1.12.11+20110422.1-2.1build1
    • 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1
    Affected ranges
    • ECOSYSTEM: < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.2

    Update to 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.2

  • sofia-sip Ubuntu:22.04:LTS

    Versions
    • 1.12.11+20110422.1-2.1ubuntu1
    • 1.12.11+20110422.1-2.1ubuntu2
    • 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1
    Affected ranges
    • ECOSYSTEM: < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.2

    Update to 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.2

Original sources

Check your server →