NASM ppscan() buffer overflow
| nasm-ppscan-bo (42995) |
Description:
NASM is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by off-by-one error within the ppscan() function. By persuading a victim to assemble a specially crafted ASM file, a remote attacker could overflow a buffer with a zero byte and execute arbitrary code on the system or cause the application to crash.
*CVSS:
| Base Score: | 6.8 |
| Access Vector: | Network |
| Access Complexity: | Medium |
| Authentication: | None |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 5 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
Remedy:
Upgrade to the latest version of NASM (2.03 or later), available from the NASM Web site. See References.
References:
- NASM Web site: The Netwide Assembler: NASM.
- SourceForge.net: Detail: 1942146: nasm 2.02 triggers stack guard in glibc 2.7.
- SourceForge.net: Files: The Netwide Assembler.
- BID-29656: NASM 'ppscan()' Off-By-One Buffer Overflow Vulnerability
- CVE-2008-2719: Off-by-one error in the ppscan function (preproc.c) in Netwide Assembler (NASM) 2.02 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted file that triggers a stack-based buffer overflow.
- MDVSA-2008:120: Updated nasm packages fix vulnerability
- SA30594: NASM "ppscan()" Off-By-One Vulnerability
- SECTRACK ID: 1020259: NASM Stack Overflow in Processing ASM Files Lets Users Execute Arbitrary Code
- USN-648-1: nasm vulnerability
- VUPEN/ADV-2008-1811: NASM ppscan() Function Off-by-one Buffer Overflow Vulnerability
Platforms Affected:
- Canonical Ubuntu 8.04 LTS
- MandrakeSoft Mandrake Linux 2008.1 X86_64
- MandrakeSoft Mandrake Linux 2008.1
- NASM NASM 2.02 rc2
- NASM NASM 2.02
Reported:
May 21, 2008
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
