CVE-2023-22741CWE-120

heap-over-flow in stun_parse_attribute in sofia-sip

Critical · published January 19, 2023

CVSS v3.1
9.8
EPSS
2%
Percentile
83.8
In the wild
Unconfirmed
What it is

🔥 A staggering oversight in Sofia-SIP could lead to remote code execution just by mishandling STUN packets! Think of it like a restaurant that accepts orders without checking if they have the ingredients on hand. When the kitchen tries to prepare a dish with too much of an element, it risks spilling everything all over the floor! This vulnerability allows an attacker to control the heap overflow, potentially executing their own code and gaining full control over the affected system. The implications could be absolutely devastating, compromising sensitive data and infrastructure. Imagine a malicious user turning a trusted communication service into their playground!

Put simply

Think of it like a restaurant that accepts orders without checking if they have the ingredients on hand. When the kitchen tries to prepare a dish with too much of an element, it risks spilling everything all over the floor! In affected versions, Sofia-SIP lacks critical checks for message and attributes lengths when handling STUN packets, leading to an exploitable heap overflow in methods like stun_parse_attribute(). This allows attackers to manipulate memory and execute arbitrary code.

What to do

This vulnerability allows an attacker to control the heap overflow, potentially executing their own code and gaining full control over the affected system. The implications could be absolutely devastating, compromising sensitive data and infrastructure. Imagine a malicious user turning a trusted communication service into their playground! Immediately upgrade Sofia-SIP to the latest version to close this security gap. There are no known workarounds, so timely action is essential. Make sure to audit your systems to identify any instances of the vulnerable library in use. This is fixable! Stay vigilant and apply the upgrade, and you'll be on your way to securing your systems in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02380 · 83.8th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2023-01-19T21:20Z
EPSS history
Timeline
  • 19 JAN 21:20Z
    heap-over-flow in stun_parse_attribute in sofia-sip
    cvelistv5