---
cve: "CVE-2022-31001"
severity: "HIGH"
cvss: 7.5
epss: "2.1%"
vendor: "freeswitch"
kev: false
exploited: false
published: "2022-05-31 20:15:07"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-08T06:57:31+02:00"
---

# CVE-2022-31001

> 7.5 HIGH · 🧪 PoC

## Beschreibung

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-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Keine | good |
| I Integrität | Keine | good |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- 756ab9b5c9370423489e0d6a27166863c7a57fef (Commit)
- a99804b336d0e16d26ab7119d56184d2d7110a36 (Commit)

## Referenzen

- <https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-79jq-hh82-cv9g>
- <https://github.com/freeswitch/sofia-sip/commit/a99804b336d0e16d26ab7119d56184d2d7110a36>
- <https://lists.debian.org/debian-lts-announce/2022/09/msg00001.html>
- <https://security.gentoo.org/glsa/202210-18>
- <https://www.debian.org/security/2023/dsa-5410>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2022-31001) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
