Package: libgsm-tools
Version: 1.0.18-2
Tags: patch, security

Dear Maintainer,
the libgsm-tools 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/libgsm-tools.mime b/debian/libgsm-tools.mime
--- a/debian/libgsm-tools.mime	2018-12-31 23:57:12.000000000 +0100
+++ b/debian/libgsm-tools.mime	2021-04-23 11:09:59.978323696 +0200
@@ -1 +1 @@
-audio/x-gsm; /usr/bin/toast -dcs '%s' > /dev/audio ; description=GSM Audio
+audio/x-gsm; /usr/bin/toast -dcs %s > /dev/audio ; description=GSM Audio

Reply via email to