CVE Catalog

CVE-2005-2471

High
Published: Translated: NVD NIST

Summary

The pstopnm tool in netpbm improperly uses the "-dSAFER" option when calling Ghostscript to convert a PostScript file into PBM, PGM, or PNM formats. This allows external user-assisted attackers to execute arbitrary commands.

Risk Assessment

The organization is at risk of remote code execution by an attacker who provides a specially crafted PostScript file to a user. This could lead to system compromise or data theft.

Recommendation

Update the netpbm package to a version that properly handles the "-dSAFER" option or apply other security measures to restrict command execution by Ghostscript.

Related vulnerabilities

Original NVD description (English source)

pstopnm in netpbm does not properly use the "-dSAFER" option when calling Ghostscript to convert a PostScript file into a (1) PBM, (2) PGM, or (3) PNM file, which allows external user-assisted attackers to execute arbitrary commands.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS