CVE-2022-31003 Heap-based Buffer Overflow and Out-of-bounds Write in Sofia-SIP
An out-of-bounds write in Sofia-SIP allows attackers to cause crashes or execute code via malicious SDP messages.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-31003?
CVE-2022-31003 is a critical memory corruption vulnerability in Debian Debian Linux, published on 31 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library. Prior to version 1.13.8, when parsing each line of a sdp message, `rest = record + 2` will access the memory behind `\0` and cause an out-of-bounds write. An attacker can send a message with evil sdp to FreeSWITCH, causing a crash or more serious consequence, such as remote code execution. Version 1.13.8 contains a patch for this issue.
Which versions are affected by CVE-2022-31003?
It affects 2 products.
Products include Debian Debian Linux, Signalwire Sofia-Sip.
How do I fix CVE-2022-31003?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-31003 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31003 exists.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2022-31003, DEBIAN-CVE-2022-31003, GHSA-8w5j-6g2j-pxcp, UBUNTU-CVE-2022-31003.