PT-2017-15604 · Libxls · Libxls

CVE-2017-2896

·

Publicado

2017-11-20

·

Atualizado

2023-07-13

CVSS v3.1

8.8

Alta

VetorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions libxls versions 1.3.4 through 1.4.0
Description An out-of-bounds write vulnerability exists in the xls mergedCells function of libxls, allowing a specially crafted XLS file to cause memory corruption, potentially resulting in remote code execution. Additionally, memory management issues, including double-free and invalid free flaws, have been discovered in the read MSAT and read MSAT body functions within the ole.c component of libxls. These issues can be exploited by an attacker using a crafted file to cause a Denial of Service (DoS) or application crash. Other vulnerabilities, including stack-based buffer overflow and integer overflow, have been identified in various functions of libxls, such as xls getfcell, xls preparseWorkSheet, and xls appendSST, which can also lead to memory corruption and potentially result in remote code execution.
Recommendations For libxls versions 1.3.4 through 1.4.0, consider disabling the xls mergedCells function and restricting the use of the read MSAT and read MSAT body functions until a patch is available. Avoid using the xls getfcell, xls preparseWorkSheet, and xls appendSST functions with crafted XLS files. As a temporary workaround, restrict access to the ole.c component to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

RCE

Memory Corruption

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2017-2896
DSA-4173-1
RSEC-2023-0
RSEC-2023-1

Produtos afetados

Libxls