Index: ImageMagick-7.1.2-33/config/policy-SUSE.xml
===================================================================
--- ImageMagick-7.1.2-33.orig/config/policy-SUSE.xml
+++ ImageMagick-7.1.2-33/config/policy-SUSE.xml
@@ -105,6 +105,8 @@
 
   <!-- Prevent access to sensitive system directories. -->
   <policy domain="path" rights="none" pattern="/etc/*"/>
+  <!-- but allow to read own data. -->
+  <policy domain="path" rights="read" pattern="/etc/IM*"/>
 
   <!-- Prevent directory traversal via relative paths. -->
   <policy domain="path" rights="none" pattern="*../*"/>
Index: ImageMagick-7.1.2-33/config/policy-limited.xml
===================================================================
--- ImageMagick-7.1.2-33.orig/config/policy-limited.xml
+++ ImageMagick-7.1.2-33/config/policy-limited.xml
@@ -108,6 +108,8 @@
 
   <!-- Prevent access to sensitive system configuration files. -->
   <policy domain="path" rights="none" pattern="/etc/*"/>
+  <!-- but allow to read own data. -->
+  <policy domain="path" rights="read" pattern="/etc/IM*"/>
 
   <!-- Prevent indirect file reads using @filename syntax. -->
   <policy domain="path" rights="none" pattern="@*"/>
Index: ImageMagick-7.1.2-33/config/policy-open.xml
===================================================================
--- ImageMagick-7.1.2-33.orig/config/policy-open.xml
+++ ImageMagick-7.1.2-33/config/policy-open.xml
@@ -167,6 +167,8 @@
 
   <!-- Prevent access to sensitive system locations. -->
   <!-- <policy domain="path" rights="none" pattern="/etc/*"/> -->
+  <!-- but allow to read own data. -->
+  <!-- <policy domain="path" rights="read" pattern="/etc/IM*"/> -->
 
   <!-- Disable indirect file reads (@filename). -->
   <!-- <policy domain="path" rights="none" pattern="@*"/> -->
Index: ImageMagick-7.1.2-33/config/policy-secure.xml
===================================================================
--- ImageMagick-7.1.2-33.orig/config/policy-secure.xml
+++ ImageMagick-7.1.2-33/config/policy-secure.xml
@@ -105,6 +105,8 @@
 
   <!-- Prevent access to sensitive system directories. -->
   <policy domain="path" rights="none" pattern="/etc/*"/>
+  <!-- but allow to read own data. -->
+  <policy domain="path" rights="read" pattern="/etc/IM*"/>
 
   <!-- Prevent directory traversal via relative paths. -->
   <policy domain="path" rights="none" pattern="*../*"/>
Index: ImageMagick-7.1.2-33/config/policy-websafe.xml
===================================================================
--- ImageMagick-7.1.2-33.orig/config/policy-websafe.xml
+++ ImageMagick-7.1.2-33/config/policy-websafe.xml
@@ -99,6 +99,8 @@
 
   <!-- Prevent access to operating system configuration files. -->
   <policy domain="path" rights="none" pattern="/etc/*"/>
+  <!-- but allow to read own data. -->
+  <policy domain="path" rights="read" pattern="/etc/IM*"/>
 
   <!-- Prevent access to Linux process and runtime information. -->
   <policy domain="path" rights="none" pattern="/proc/*"/>
