- Status Closed
- Percent Complete
- Task Type Security Issue
- Category Any
-
Assigned To
Emulatorman g4jc - Operating System All
- Severity Critical
- Priority High
- Reported Version Any
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#673 - [python2] heap-overflow vulnerability CVE-2018-1000030
Python 2.7.14 is vulnerable to a Heap-Buffer-Overflow as well as a Heap-Use-After-Free. Python versions prior to 2.7.14 may also be vulnerable and it appears that Python 2.7.17 and prior may also be vulnerable however this has not been confirmed. The vulnerability lies when multiply threads are handling large amounts of data. In both cases there is essentially a race condition that occurs. For the Heap-Buffer-Overflow, Thread 2 is creating the size for a buffer, but Thread1 is already writing to the buffer without knowing how much to write. So when a large amount of data is being processed, it is very easy to cause memory corruption using a Heap-Buffer-Overflow. As for the Use-After-Free, Thread3→Malloc→Thread1→Free’s→Thread2-Re-uses-Free’d Memory. The PSRT has stated that this is not a security vulnerability due to the fact that the attacker must be able to run code, however in some situations, such as function as a service, this vulnerability can potentially be used by an attacker to violate a trust boundary, as such the DWF feels this issue deserves a CVE.
https://security-tracker.debian.org/tracker/CVE-2018-1000030
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Debian has pushed patch in their sid package.
https://packages.debian.org/sid/python2.7 → http://http.debian.net/debian/pool/main/p/python2.7/python2.7_2.7.14.orig.tar.gz
Fixed with commit https://git.hyperbola.info:50100/packages/extra.git/commit/?id=95cca4a5584d07d7ab195b3647b9fbca0a0b3ede
Package to follow soon.
Unable to get passing build...
Ran 54 tests in 1.925s
OK
367 tests OK.
5 tests failed:
25 tests skipped:
Those skips are all expected on linux2.
Total duration: 26 min 48 sec
Tests result: FAILURE
Thanks Luke, seems Arch devs are building python2 without checking options since i've replicated build it from their latest and snapshot versions and i've got the same tests result.
Meanwhile, i'm adding Debian patches to follow our packaging guidelines . Even it includes the patch to solve the heap-overflow vulnerability.