SecBoard
Zurück zur CVE-Übersicht

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

Risk Signal Score20/100 — NIEDRIG
  • CVSS 7.5 — Hoch

Erwähnungen (letzte 60 Tage)

Artikel

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, ProcessCommandLine

Splunk SPL

index=* (mpz_inp_raw AND "32-bit" AND "crafted input") (crash OR "segmentation fault")
| stats count by host, process, command

Sigma

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: high

Elastic 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_line

SecBoard-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