FreeBSD : libxml2 stack buffer overflow in URI parsing (847ade05-6717-11d8-b321-000a95bc6fae)

high Nessus Plugin ID 36421

Synopsis

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

Description

Yuuichi Teranishi reported a crash in libxml2's URI handling when a long URL is supplied. The implementation in nanohttp.c and nanoftp.c uses a 4K stack buffer, and longer URLs will overwrite the stack. This could result in denial-of-service or arbitrary code execution in applications using libxml2 to parse documents.

Solution

Update the affected package.

See Also

http://www.xmlsoft.org/news.html

https://mail.gnome.org/archives/xml/2004-February/msg00070.html

http://www.nessus.org/u?74ae7396

Plugin Details

Severity: High

ID: 36421

File Name: freebsd_pkg_847ade05671711d8b321000a95bc6fae.nasl

Version: 1.12

Type: local

Published: 4/23/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:libxml2, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 2/25/2004

Vulnerability Publication Date: 2/8/2004

Reference Information

CVE: CVE-2004-0110