Package: dia Version: 0.97.3+git20160930-9 Tags: patch, security Dear Maintainer, the dia package has mailcap entries with quoted %-escapes. That is considered unsafe. Proper escaping should be left to the programs using the entry.
This Lintian tag is triggered: https://lintian.debian.org/tags/quoted-placeholder-in-mailcap-entry.html See also grave bug #930908, which was recently closed because "a Lintian test already exists": https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930908 I'm using the "security" tag because the affected rules in combination with certain mail user agents (or document openers) are the cause of a shell command injection vulnerability. If you need more information let me know. Thanks, MNZ
diff -ru a/debian/dia.mime b/debian/dia.mime --- a/debian/dia.mime 2017-05-23 16:52:27.000000000 +0200 +++ b/debian/dia.mime 2021-04-23 11:02:26.751563201 +0200 @@ -1 +1 @@ -application/x-dia-diagram; dia '%s'; description="DIA diagram"; test=test -n "$DISPLAY"; nametemplate=%s.dia +application/x-dia-diagram; dia %s; description="DIA diagram"; test=test -n "$DISPLAY"; nametemplate=%s.dia

