Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2024-29507

Опубликовано: 03 июл. 2024
Источник: redhat
CVSS3: 5.4

Описание

Artifex Ghostscript before 10.03.0 sometimes has a stack-based buffer overflow via the CIDFSubstPath and CIDFSubstFont parameters.

A flaw was found in Ghostscript. Under specific conditions, the cidfsubstpath and cidfsubstfont parameters set by corresponding Postscript objects are used to load substitute fonts in pdfi_open_CIDFont_substitute_file. The values are copied via memcpy into the fontfname buffer without bounds checks. This flaw allows an attacker to pass values larger than the buffer size to trigger a stack buffer overflow, leading to a denial of service or other unexpected behavior.

Отчет

The buffer overflow vulnerability in Ghostscript, while serious, is categorized as moderate severity due to its limited impact vector and exploitation complexity. The flaw involves unchecked copying of data into a buffer via memcpy when handling the cidfsubstpath and cidfsubstfont parameters. Although this can lead to a stack buffer overflow, resulting in potential denial of service or unexpected behavior, the exploitability is constrained by specific conditions under which the parameters must be set. Furthermore, successful exploitation requires the attacker to have control over the input parameters and the environment in which Ghostscript operates.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10ghostscriptNot affected
Red Hat Enterprise Linux 6ghostscriptOut of support scope
Red Hat Enterprise Linux 7ghostscriptOut of support scope
Red Hat Enterprise Linux 8ghostscriptNot affected
Red Hat Enterprise Linux 8gimp:flatpak/ghostscriptNot affected
Red Hat Enterprise Linux 9ghostscriptWill not fix

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-121
https://bugzilla.redhat.com/show_bug.cgi?id=2295647ghostscript: stack-based buffer overflow via the CIDFSubstPath and CIDFSubstFont parameters

5.4 Medium

CVSS3

Связанные уязвимости

CVSS3: 5.4
ubuntu
больше 1 года назад

Artifex Ghostscript before 10.03.0 sometimes has a stack-based buffer overflow via the CIDFSubstPath and CIDFSubstFont parameters.

CVSS3: 5.4
nvd
больше 1 года назад

Artifex Ghostscript before 10.03.0 sometimes has a stack-based buffer overflow via the CIDFSubstPath and CIDFSubstFont parameters.

CVSS3: 5.4
debian
больше 1 года назад

Artifex Ghostscript before 10.03.0 sometimes has a stack-based buffer ...

CVSS3: 5.4
github
больше 1 года назад

Artifex Ghostscript before 10.03.0 sometimes has a stack-based buffer overflow via the CIDFSubstPath and CIDFSubstFont parameters.

CVSS3: 5.4
fstec
около 2 лет назад

Уязвимость набора программного обеспечения для обработки, преобразования и генерации документов Ghostscript, связанная с выходом операции за границы буфера в памяти, позволяющая нарушителю получить несанкционированный доступ к защищаемой информации

5.4 Medium

CVSS3