Bug #86368
closedConvert/Read PDF and AI Graphics Magick TEST problem
0%
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.
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.
Updated by Rene Tobias about 6 years ago
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/
Updated by Josef Glatz about 6 years ago
- Related to Bug #86369: GraphicsMagick / ImageMagick in some distros dropping 'default' support for PDF added
Updated by Christian Eßl about 5 years ago
- Category set to Image Generation / GIFBUILDER
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.
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.
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.
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" />")