Project

General

Profile

Actions

Bug #86368

closed

Convert/Read PDF and AI Graphics Magick TEST problem

Added by Rene Tobias about 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Image Generation / GIFBUILDER
Start date:
2018-09-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello we have problems with converting/read PDF and AI - GraphicsMagick. When i go to Install Tool -> Test setup and i run test for "Convert image formats to jpg" i get following errors:

Read pdf
Image generation failed

ImageMagick / GraphicsMagick handling is enabled, but the execute command returned an error. Please check your settings, especially ['GFX']['processor_path'] and ['GFX']['processor_path_lzw'] and ensure Ghostscript is installed on your server.
Read ai
Image generation failed

ImageMagick / GraphicsMagick handling is enabled, but the execute command returned an error. Please check your settings, especially ['GFX']['processor_path'] and ['GFX']['processor_path_lzw'] and ensure Ghostscript is installed on your server.

The problem is related to security fix of GraphicMagick package - https://bugzilla.opensuse.org/show_bug.cgi?id=1105592.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #86369: GraphicsMagick / ImageMagick in some distros dropping 'default' support for PDFClosed2018-09-25

Actions
Actions #1

Updated by Josef Glatz about 6 years ago

  • Status changed from New to Needs Feedback

Hey Rene, could you make sure if #86369 helps? Please let me know if the steps there helps.

Actions #2

Updated by Rene Tobias about 6 years ago

Josef Glatz wrote:

Hey Rene, could you make sure if #86369 helps? Please let me know if the steps there helps.

Hey, yes i can confirm it #86369 helps. Will be there any patch for TYPO3? So we dont do this manualy on all our servers?

Actions #3

Updated by Josef Glatz about 6 years ago

Rene Tobias Tobias wrote:

Josef Glatz wrote:

Hey Rene, could you make sure if #86369 helps? Please let me know if the steps there helps.

Hey, yes i can confirm it #86369 helps. Will be there any patch for TYPO3? So we dont do this manualy on all our servers?

Thanks for your feedback. From my perspective, this is nothing which should be fixed in TYPO3 because the real problem is in the upstream / Ghostscript/Graphicsmagick.

https://adv-archiv.dfn-cert.de/adv/2018-1736/
http://www.linux-magazin.de/dfn-cert-advisories/update-dfn-cert-2018-1736-graphicsmagick-eine-schwachstelle-ermoeglicht-u-a-die-ausfuehrung-beliebigen-programmcodes/
http://www.linux-magazin.de/dfn-cert-advisories/update-dfn-cert-2018-1736-graphicsmagick-imagemagick-eine-schwachstelle-ermoeglicht-u-a-die-ausfuehrung-beliebigen-programmcodes/

Actions #4

Updated by Josef Glatz about 6 years ago

  • Related to Bug #86369: GraphicsMagick / ImageMagick in some distros dropping 'default' support for PDF added
Actions #5

Updated by Christian Eßl about 5 years ago

  • Category set to Image Generation / GIFBUILDER
Actions #6

Updated by Bernd Wilke almost 5 years ago

  • TYPO3 Version changed from 8 to 9

As we are aware of the possibility, the error message on failing tests should mention this security problem and not only state a missing path. In this way a maintainer can identify the real problem and work on it.

Actions #7

Updated by Susanne Moog over 4 years ago

  • Status changed from Needs Feedback to Closed

As this is the same issue as https://forge.typo3.org/issues/86369 and the workaround and potential solution will be handled there, let's close this issue and use the other one for further discussion.

Actions #8

Updated by Benjamin Robinson about 3 years ago

I also encountered the problem under TYPO3 11.5.0 with ImageMagick, that in the "Image Processing" I get the two errors at at "Read pdf" and "Read ai", but I'm not sure if this is actually related to the https://forge.typo3.org/issues/86369 , because thumbnails for newly uploaded .pdf and .ai files to the Filelist are generated without any problems. In any case, the error message is not helpful.

Actions #9

Updated by Simon Schaufelberger over 2 years ago

See https://stackoverflow.com/questions/60141724/typo3-image-manipulation-also-for-pdf-files as a solution (comment out "<policy domain="coder" rights="none" pattern="PDF" />")

Actions

Also available in: Atom PDF