GLSA-200412-20 : NASM: Buffer overflow vulnerability

medium Nessus Plugin ID 16010

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200412-20 (NASM: Buffer overflow vulnerability)

Jonathan Rockway discovered that NASM-0.98.38 has an unprotected vsprintf() to an array in preproc.c. This code vulnerability may lead to a buffer overflow and potential execution of arbitrary code.
Impact :

A remote attacker could craft a malicious object file which, when supplied in NASM, would result in the execution of arbitrary code with the rights of the user running NASM.
Workaround :

There is no known workaround at this time.

Solution

All NASM users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-lang/nasm-0.98.38-r1'

See Also

http://www.nessus.org/u?4052346f

https://security.gentoo.org/glsa/200412-20

Plugin Details

Severity: Medium

ID: 16010

File Name: gentoo_GLSA-200412-20.nasl

Version: 1.16

Type: local

Published: 12/20/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:nasm, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 12/20/2004

Vulnerability Publication Date: 12/16/2004

Reference Information

GLSA: 200412-20