p PatchFirst

CVE-2022-31001

CVE-2022-31001 · Out-of-bounds Read in Sofia-SIP

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

Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library. Prior to version 1.13.8, an attacker can send a message with evil sdp to FreeSWITCH, which may cause crash. This type of crash may be caused by `#define MATCH(s, m) (strncmp(s, m, n = sizeof(m) - 1) == 0)`, which will make `n` bigger and trigger out-of-bound access when `IS_NON_WS(s[n])`. Version 1.13.8 contains a patch for this issue.

CVSS 7.5 · High · EPSS 2.2% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • sofia-sip

    Versions
    • < 1.13.8: Affected

    No fix published

  • sofia-sip Debian:12

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

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

  • sofia-sip Debian:13

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

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

  • sofia-sip Debian:14

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

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

  • sofia-sip Ubuntu:Pro:16.04:LTS

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

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

  • sofia-sip Ubuntu:18.04:LTS

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

    Update to 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1

  • sofia-sip Ubuntu:20.04:LTS

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

    Update to 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1

  • sofia-sip Ubuntu:22.04:LTS

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

    Update to 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1

Original sources

Check your server →