Package: katarakt Version: 0.2-3 Tags: patch, security Dear Maintainer, the katarakt 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 --git a/debian/katarakt.mime b/debian/katarakt.mime index 870b03b..a50f007 100644 --- a/debian/katarakt.mime +++ b/debian/katarakt.mime @@ -1,3 +1,3 @@ # default priority=5 -application/pdf; /usr/bin/katarakt '%s'; test=test -n "$DISPLAY"; description=Portable Document Format -application/x-pdf; /usr/bin/katarakt '%s'; test=test -n "$DISPLAY"; description=Portable Document Format +application/pdf; /usr/bin/katarakt %s; test=test -n "$DISPLAY"; description=Portable Document Format +application/x-pdf; /usr/bin/katarakt %s; test=test -n "$DISPLAY"; description=Portable Document Format