CVE-2024-46953

high

Description

An issue was discovered in base/gsdevice.c in Artifex Ghostscript before 10.04.0. An integer overflow when parsing the filename format string (for the output filename) results in path truncation, and possible path traversal and code execution.

References

https://www.suse.com/support/update/announcement/2024/suse-su-20243942-1/

https://github.com/ArtifexSoftware/ghostpdl/blob/master/doc/News.html

https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=1f21a45df0fa3abec4cff12951022b192dda3c00

https://bugs.ghostscript.com/show_bug.cgi?id=707793

Details

Source: Mitre, NVD

Published: 2024-11-10

Updated: 2024-11-14

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: High