Debian DLA-3441-1 : sofia-sip - LTS security update

high Nessus Plugin ID 176638

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 10 host has packages installed that are affected by a vulnerability as referenced in the dla-3441 advisory.

- Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification.
Referring to [GHSA-8599-x7rq-fr54](https://github.com/freeswitch/sofia- sip/security/advisories/GHSA-8599-x7rq-fr54), several other potential heap-over-flow and integer-overflow in stun_parse_attr_error_code and stun_parse_attr_uint32 were found because the lack of attributes length check when Sofia-SIP handles STUN packets. The previous patch of [GHSA-8599-x7rq- fr54](https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-8599-x7rq-fr54) fixed the vulnerability when attr_type did not match the enum value, but there are also vulnerabilities in the handling of other valid cases. The OOB read and integer-overflow made by attacker may lead to crash, high consumption of memory or even other more serious consequences. These issue have been addressed in version 1.13.15. Users are advised to upgrade. (CVE-2023-32307)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the sofia-sip packages.

For Debian 10 Buster, this problem has been fixed in version 1.12.11+20110422.1-2.1+deb10u4.

See Also

https://www.debian.org/lts/security/2023/dla-3441

https://security-tracker.debian.org/tracker/CVE-2023-32307

https://packages.debian.org/source/buster/sofia-sip

Plugin Details

Severity: High

ID: 176638

File Name: debian_DLA-3441.nasl

Version: 1.2

Type: local

Agent: unix

Published: 6/2/2023

Updated: 6/9/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2023-32307

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:sofia-sip-doc, cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:libsofia-sip-ua-dev, p-cpe:/a:debian:debian_linux:sofia-sip-bin, p-cpe:/a:debian:debian_linux:libsofia-sip-ua0, p-cpe:/a:debian:debian_linux:libsofia-sip-ua-glib3, p-cpe:/a:debian:debian_linux:libsofia-sip-ua-glib-dev

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 6/2/2023

Vulnerability Publication Date: 5/26/2023

Reference Information

CVE: CVE-2023-32307