On Wed, 19 Dec 2018 14:36:07 +0700 "Dmitriy Sidorov" <[email protected]> wrote:
Package: clamav

Version: 0.100.2+dfsg-0+deb9u1

Severity: important

Tags: upstream

ClamAV didn’t do correct decode of complex UTF-8 filename from MHTML
container. Debug output

LibClamAV debug: rfc2047 returns 'Content-Disposition: attachment;
filename="Пакет документов Ð ´ля оплаты
декабрь      .gz"'

LibClamAV debug: parseMimeHeader: cmd='Content-Disposition', arg='
attachment; filename="Пакет документов Ð     ´ля
оплаты декабрь      .gz"'

LibClamAV debug: messageAddArgument, arg='filename="Пакет
документов Ð  ´ля оплаты декабрь      .gz"'

LibClamAV debug: Multipart 0: End of header information

LibClamAV debug: Part 0 has 4108 lines, rc = 1

LibClamAV debug: Mixed message part 0 is of type 1

LibClamAV debug: messageToFileblob

LibClamAV debug: messageExport: numberOfEncTypes == 1

LibClamAV debug: messageExport: enctype 0 is 2

LibClamAV debug: blobSetFilename: "P.P0P:P5Q. P4P>P:Q.P<P5P=Q.P>P2 P
4P;Q. P>P?P;P0Q.Q. P4P5P:P0P1Q

LibClamAV debug: fileblobSetFilename: file
_P_P0P_P5Q__P4P_P_Q_P_P5P_Q_P_P2_P_4P_Q__P_P_P_P0Q_Q__P4P5P_P0P1Q saved to
……

…..

LibClamAV debug: Exported 234078 bytes using enctype 2

LibClamAV debug: 2 trailing bytes to export

LibClamAV debug: base64chars = 2 (@ @ @)

LibClamAV debug:
CDBNAME:CL_TYPE_MHTML:234079:_P_P0P_P5Q__P4P_P_Q_P_P5P_Q_P_P2_P_4P_Q__P_P_P_
P0Q_Q__P4P5P_P0P1Q:234079:234079:0:0:0:(nil)


This is actually still an issue. Clamav has closed down their Bugzilla in the mean time, so I opened a new Issue on their github tracker:

https://github.com/Cisco-Talos/clamav/issues/1954


--
Edmund Lodewijks <[email protected]>
TZ: UTC+2 / GMT+2

Reply via email to