CVE-2013-10076

Description

A flaw was found in perl-extutils-typemaps-default. An integer underflow occurs when processing an empty list in vector typemaps, causing the application to calculate an excessively large buffer size. An attacker can exploit this vulnerability by supplying empty list input, leading to memory exhaustion and a Denial of Service (DoS).

Statement

This vulnerability is rated as Important severity because handling zero-element vector structures can trigger an unconstrained memory allocation, allowing an attacker to cause an abrupt denial of service via process crashes or resource exhaustion. The affected perl-ExtUtils-Typemaps-Default package is intended for building XS extensions and is not shipped in supported Red Hat Enterprise Linux products. Risk is restricted to downstream Perl applications that were compiled against these specific C++ bindings and expose methods accepting empty lists to untrusted callers.

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Crash, Exit, or Restart; DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Instability

This weakness will generally lead to undefined behavior and therefore crashes. In the case of overflows involving loop index variables, the likelihood of infinite loops is also high.

Integrity

Technical Impact: Modify Memory

If the value in question is important to data (as opposed to flow), simple data corruption has occurred. Also, if the wrap around results in other conditions such as buffer overflows, further memory corruption may occur.

Confidentiality,Availability,Access Control

Technical Impact: Execute Unauthorized Code or Commands; Bypass Protection Mechanism

This weakness can sometimes trigger buffer overflows which can be used to execute arbitrary code. This is usually outside the scope of a program's implicit security policy.

Frequently Asked Questions

Want to get errata notifications? Sign up here.