Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505068 (CVE-2013-7338) - <dev-lang/python-3.3.4: malformed ZIP files could cause 100% CPU usage (CVE-2013-7338)
Summary: <dev-lang/python-3.3.4: malformed ZIP files could cause 100% CPU usage (CVE-2...
Alias: CVE-2013-7338
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
Whiteboard: A3 [glsa]
Depends on:
Reported: 2014-03-19 08:34 UTC by Agostino Sarubbo
Modified: 2015-03-18 22:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2014-03-19 08:34:43 UTC
From ${URL} :

A flaw was found in the way Python's zipfile module processed malformed ZIP files. Processing a malicious 
ZIP file could lead to 100% CPU usage. This would be an issue if you are running a web service that 
accepts and processes ZIP files from untrusted sources.

At least Python 3 is affected. It is not yet known if older versions (such as version 2.7) are affected.

Upstream fix:

Original report:

CVE request:

@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2014-10-11 13:52:38 UTC
CVE-2013-7338 (
  Python before 3.3.4 RC1 allows remote attackers to cause a denial of service
  (infinite loop and CPU consumption) via a file size value larger than the
  size of the zip file to the (1), (2), (3)
  ZipExtFile.readlines, (4) ZipFile.extract, or (5) ZipFile.extractall
Comment 2 GLSAMaker/CVETool Bot gentoo-dev 2015-03-18 22:36:04 UTC
This issue was resolved and addressed in
 GLSA 201503-10 at
by GLSA coordinator Kristian Fiskerstrand (K_F).