IM
IronMonkey Threat Research

CVE-2020-6096 HIGH

Published: 2020-04-01 | Last Modified: 2024-11-21 | Status: Modified

Description

An exploitable signed comparison vulnerability exists in the ARMv7 memcpy() implementation of GNU glibc 2.30.9000. Calling memcpy() (on ARMv7 targets that utilize the GNU glibc implementation) with a negative value for the 'num' parameter results in a signed comparison vulnerability. If an attacker underflows the 'num' parameter to memcpy(), this vulnerability could lead to undefined behavior such as writing to out-of-bounds memory and potentially remote code execution. Furthermore, this memcpy() implementation allows for program execution to continue in scenarios where a segmentation fault or crash should have occurred. The dangers occur in that subsequent execution and iterations of this code will be executed with this corrupted data.

Additional Descriptions (1)

Se presenta una vulnerabilidad de comparación firmada explotable en la implementación de la función memcpy() de ARMv7 de GNU glibc versión 2.30.9000. Llamar a la función memcpy() (en objetivos ARMv7 que utilizan la implementación GNU glibc) con un valor negativo para el parámetro "num" resulta en una vulnerabilidad de comparación firmada. Si un atacante desborda el parámetro "num" en la función memcpy(), esta vulnerabilidad podría conllevar a un comportamiento indefinido, como escribir en la memoria fuera de límites y una potencial ejecución de código remota. Además, esta implementación de la función memcpy() permite que la ejecución del programa continúe en escenarios donde un fallo de segmentación o bloqueo debería haberse producido. Los peligros se presentan en que la ejecución posterior y las iteraciones de este código son ejecutadas con estos datos corruptos.

CVSS Metrics

Base Score: 8.1 (HIGH)

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack VectorNETWORK
Attack ComplexityHIGH
Privileges RequiredNONE
User InteractionNONE
ScopeUNCHANGED
Confidentiality ImpactHIGH
Integrity ImpactHIGH
Availability ImpactHIGH

Source: [email protected]

Type: Primary

Exploitability Score: 2.2

Impact Score: 5.9

Base Score: 6.8 (MEDIUM)

AV:N/AC:M/Au:N/C:P/I:P/A:P

Access VectorNETWORK
Access ComplexityMEDIUM
AuthenticationNONE
Confidentiality ImpactPARTIAL
Integrity ImpactPARTIAL
Availability ImpactPARTIAL

Source: [email protected]

Type: Primary

Exploitability Score: 8.6

Impact Score: 6.4

Weaknesses

Source Type Description
[email protected] Secondary
en CWE-195
[email protected] Secondary
en CWE-191
en CWE-681

Affected Products

Vendor Product Version Update Type
gnu glibc * <built-in method update of dict object at 0x7fd2d825adc0> Application
fedoraproject fedora 31 <built-in method update of dict object at 0x7fd360277600> Operating System
fedoraproject fedora 32 <built-in method update of dict object at 0x7fd34011fac0> Operating System
debian debian_linux 10.0 <built-in method update of dict object at 0x7fd34011f8c0> Operating System

Affected Configurations

Operator: OR

Vulnerable CPE
Yes cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
Yes cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

References