[New-bugs-announce] [issue34104] email.message.get_payload should enforce correct encoding

Serge Droz report at bugs.python.org
Thu Jul 12 14:25:22 EDT 2018


New submission from Serge Droz <serge at drozilla.ch>:

The issue is really this:
https://noxxi.de/research/mime-5-easy-steps-to-bypass-av.html

get_payload should with decode=Treu should check the validity of the syntax and throw an error if it is not. This would happen if the underlying call to base64.decode would be called with validate=True

----------
messages: 321574
nosy: droz
priority: normal
severity: normal
status: open
title: email.message.get_payload should enforce correct encoding

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34104>
_______________________________________


More information about the New-bugs-announce mailing list