Issue 17843: Lib/test/testbz2_bigmem.bz2 trigger virus warnings (original) (raw)

Issue17843

Created on 2013-04-25 11:06 by christian.heimes, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
bz2-viruswarning.diff nadeem.vawda,2013-04-28 17:22 Fix for Python 3.2
Messages (13)
msg187773 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2013-04-25 11:06
In ebb8c7d79f52 the file Lib/test/testbz2_bigmem.bz2 was added as test case for bug #14398. The PSRT and webmaster teams have received half a dozen mails which complains about potential harmful content in the Python installers and Python source distribution. Apparently the file triggers a warning in several anti virus programs because it looks like a zip bomb. I suggest that we remove the file from hg and create it on the fly during tests runs.
msg187774 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2013-04-25 11:28
Example: Virus was detected in the content (virus_detected) Content contained "Trojan-ArcBomb.BZip.Agent" virus. Details: Virus: Trojan-ArcBomb.BZip.Agent; File: Python-2.7.4.tar.bz2; Sub File: //T3obr//Python-2.7.4/Lib/test/testbz2_bigmem.bz2; Vendor: Kaspersky Labs; Engine error code: 0x00014005; Engine version: 8.0.1.23; Pattern version: 130425.042500.9895197; Pattern date: 2013.04.25 04:25:00
msg187820 - (view) Author: Nadeem Vawda (nadeem.vawda) * (Python committer) Date: 2013-04-25 20:56
Oh dear. I'll update the test suite over the weekend. In the meanwhile, Christian, can you confirm which versions are affected? The file should only have been included in 2.7 and 3.2.
msg187999 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-04-28 16:45
New changeset b7bfedc8ee18 by Nadeem Vawda in branch '2.7': Issue #17843: Remove bz2 test data that triggers antivirus warnings. http://hg.python.org/cpython/rev/b7bfedc8ee18
msg188002 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2013-04-28 16:54
Yes, you are right. Python 3.3.1 doesn't contain the file in question, just 2.7.4 and 3.2.4. Could you update Misc/NEWS, too? The release notes should mention that a false positive virus warning was removed.
msg188003 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-04-28 17:01
New changeset 529c4defbfd7 by Nadeem Vawda in branch '2.7': Add missing NEWS entry for issue #17843. http://hg.python.org/cpython/rev/529c4defbfd7
msg188007 - (view) Author: Nadeem Vawda (nadeem.vawda) * (Python committer) Date: 2013-04-28 17:22
OK, 2.7 is done. Georg, what do we want to do for 3.2? I've attached a patch.
msg188015 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2013-04-28 19:15
Thanks, I've got it from here.
msg188143 - (view) Author: Nadeem Vawda (nadeem.vawda) * (Python committer) Date: 2013-04-30 08:28
Benjamin, please cherry-pick this for 2.7.4 as well (changesets b7bfedc8ee18 and 529c4defbfd7).
msg188164 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2013-04-30 13:45
I'm just going to branch off the current 2.7 branch at this point.
msg188165 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2013-04-30 13:46
Ah, sorry, I see what you mean. Will do.
msg188991 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2013-05-12 09:11
Thanks, applied to 3.2 branch.
msg189001 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-05-12 10:32
New changeset 9da98ab823c9 by Georg Brandl in branch '3.2': Issue #17843: Remove bz2 test data that triggers antivirus warnings. http://hg.python.org/cpython/rev/9da98ab823c9
History
Date User Action Args
2022-04-11 14:57:44 admin set github: 62043
2013-05-12 10:32:41 python-dev set messages: +
2013-05-12 09:11:18 georg.brandl set status: open -> closedresolution: fixedmessages: +
2013-04-30 13:46:21 benjamin.peterson set messages: +
2013-04-30 13:45:24 benjamin.peterson set messages: +
2013-04-30 08:28:24 nadeem.vawda set stage: needs patch -> commit reviewmessages: + versions: + Python 2.7
2013-04-28 19:15:03 georg.brandl set messages: + versions: - Python 2.7, Python 3.3, Python 3.4
2013-04-28 17:22:02 nadeem.vawda set files: + bz2-viruswarning.diffassignee: nadeem.vawda -> georg.brandlmessages: + keywords: + patch
2013-04-28 17:01:41 python-dev set messages: +
2013-04-28 16:54:54 christian.heimes set messages: +
2013-04-28 16:45:39 python-dev set nosy: + python-devmessages: +
2013-04-25 20:56:08 nadeem.vawda set assignee: nadeem.vawdamessages: +
2013-04-25 13:47:56 barry set nosy: + barry
2013-04-25 11:36:22 kushal.das set nosy: + kushal.das
2013-04-25 11:28:13 christian.heimes set messages: +
2013-04-25 11:06:08 christian.heimes create