CVE-2021-43618
HIGH(7.5)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 7.5 — Hoch
Erwähnungen (letzte 60 Tage)
EPSS-Score
4.5%
Exploit-Wahrscheinlichkeit (30 Tage)
CVSS Score
7.5
Technische Schwere
Beschreibung
GNU Multiple Precision Arithmetic Library (GMP) through 6.2.1 has an mpz/inp_raw.c integer overflow and resultant buffer overflow via crafted input, leading to a segmentation fault on 32-bit platforms.
Erkennung & Indikatoren
Ausnutzung
In den geprüften Quellen nicht genannt
Behobene Versionen
- gmp/2:6.2.1+dfsg-3
- gmp/2:6.2.1+dfsg-1+deb11u1
- gmp/2:6.1.2+dfsg-4+deb10u1
- 2:6.1.2+dfsg-1+deb9u1
- >=dev-libs/gmp-6.2.1-r2
Threat-Hunting-Queries
Detection of applications crashing due to specially crafted input processed by GMP's mpz_inp_raw function on 32-bit platforms.
Sentinel/Defender KQL
DeviceProcessEvents
| where ProcessCommandLine contains "mpz_inp_raw" and ProcessCommandLine contains "32-bit" and InitiatingProcessCommandLine contains "crafted input"
| where ActionType == "ProcessTerminated" and ExitCode != 0 // Look for crashes/segmentation faults
| summarize count() by DeviceName, InitiatingProcessFileName, ProcessCommandLineSplunk SPL
index=* (mpz_inp_raw AND "32-bit" AND "crafted input") (crash OR "segmentation fault")
| stats count by host, process, commandSigma
title: GMP Buffer Overflow Crash
author: SecBoard
date: 2023/11/20
logsource:
category: process_creation
product: windows
detection:
selection:
CommandLine|contains:
- 'mpz_inp_raw'
- '32-bit'
- 'crafted input'
condition: selection
falsepositives:
- Legitimate use of GMP with expected crashes (unlikely in production for this specific vulnerability context)
level: highElastic ES|QL
from process where process.command_line : "mpz_inp_raw" and process.command_line : "32-bit" and process.command_line : "crafted input" and process.exit_code != 0
| stats count() by host.name, process.executable, process.command_lineSecBoard-generated · behavioral · requires customization — Von SecBoard erzeugt und nicht in einer Zielumgebung validiert. Vor dem Einsatz an die eigene Protokollierung anpassen.
Betroffene Produkte
- cpe:2.3:a:gmplib:gmp:*:*:*:*:*:*:x86:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*
- cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:*
Referenzen
- http://seclists.org/fulldisclosure/2022/Oct/8
- http://www.openwall.com/lists/oss-security/2022/10/13/3
- https://bugs.debian.org/994405
- https://gmplib.org/list-archives/gmp-bugs/2021-September/005077.html
- https://gmplib.org/repo/gmp-6.2/rev/561a9c25298e
- https://lists.debian.org/debian-lts-announce/2021/12/msg00001.html
- https://security.gentoo.org/glsa/202309-13
- https://security.netapp.com/advisory/ntap-20221111-0001/
- http://seclists.org/fulldisclosure/2022/Oct/8
- http://www.openwall.com/lists/oss-security/2022/10/13/3