CVE-2022-31001

high

Description

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.

References

https://www.debian.org/security/2023/dsa-5410

https://security.gentoo.org/glsa/202210-18

https://lists.debian.org/debian-lts-announce/2022/09/msg00001.html

https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-79jq-hh82-cv9g

https://github.com/freeswitch/sofia-sip/commit/a99804b336d0e16d26ab7119d56184d2d7110a36

Details

Source: Mitre, NVD

Published: 2022-05-31

Updated: 2024-02-15

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High