GLSA-200412-20 : NASM: Buffer overflow vulnerability

This script is Copyright (C) 2004-2014 Tenable Network Security, Inc.


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.

See also :

http://www.nessus.org/u?4052346f
http://www.gentoo.org/security/en/glsa/glsa-200412-20.xml

Solution :

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

Risk factor :

Medium

Family: Gentoo Local Security Checks

Nessus Plugin ID: 16010 (gentoo_GLSA-200412-20.nasl)

Bugtraq ID:

CVE ID: