#987693 mysql-workbench has mailcap entries with quoted %-escapes

Package:
mysql-workbench
Source:
mysql-workbench
Description:
MySQL Workbench - a visual database modeling, administration and queuing tool
Submitter:
Marriott NZ
Date:
2025-08-13 09:11:07 UTC
Severity:
normal
Tags:
#987693#5
Date:
2021-04-27 21:39:23 UTC
From:
To:
Dear Maintainer,
the mysql-workbench 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.

/usr/lib/mime/packages/mysql-workbench should be changed from:

 application/vnd.mysql-workbench-model; mysql-workbench '%s'; description="MySQL Workbench Model"; test=test -n "$DISPLAY"; nametemplate=%s.mwb
 application/sql; mysql-workbench --script '%s'; description="MySQL Workbench Query File"; test=test -n "$DISPLAY"; nametemplate=%s.sql

to:

 application/vnd.mysql-workbench-model; mysql-workbench %s; description="MySQL Workbench Model"; test=test -n "$DISPLAY"; nametemplate=%s.mwb
 application/sql; mysql-workbench --script %s; description="MySQL Workbench Query File"; test=test -n "$DISPLAY"; nametemplate=%s.sql

If you need more information let me know.

Thanks,
MNZ

#987693#10
Date:
2025-08-13 09:09:45 UTC
From:
To:
Dear submitter,

as the package mysql-workbench has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1108002

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)