Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1519604
Summary: | CVE-2017-1000158 python3: python: Integer overflow in PyString_DecodeEscape results in heap-base buffer overflow [fedora-all] | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sam Fowler <sfowler> |
Component: | python3 | Assignee: | Miro Hrončok <mhroncok> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 25 | CC: | bkabrda, cstratak, dmalcolm, huzaifas, ishcherb, lzachar, mcyprian, mhroncok, pviktori, rkuska, tomspur, torsava |
Target Milestone: | --- | Keywords: | Security, SecurityTracking |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Release Note | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-07-20 04:22:03 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Sam Fowler
2017-12-01 01:45:03 UTC
Use the following template to for the 'fedpkg update' request to submit an update for this issue as it contains the top-level parent bug(s) as well as this tracking bug. This will ensure that all associated bugs get updated when new packages are pushed to stable. ===== # bugfix, security, enhancement, newpackage (required) type=security # testing, stable request=testing # Bug numbers: 1234,9876 bugs=1519595,1519604 # Description of your update notes=Security fix for [PUT CVEs HERE] # Enable request automation based on the stable/unstable karma thresholds autokarma=True stable_karma=3 unstable_karma=-3 # Automatically close bugs when this marked as stable close_bugs=True # Suggest that users restart after update suggest_reboot=False ====== Additionally, you may opt to use the bodhi web interface to submit updates: https://bodhi.fedoraproject.org/updates/new This only affects Python <= 3.5, thus Fedora 25. Opened a PR with patch that applies well. https://src.fedoraproject.org/rpms/python3/pull-request/19 I'm going offline, so please somebody continue from there. (In reply to Miro Hrončok from comment #3) > Opened a PR with patch that applies well. > https://src.fedoraproject.org/rpms/python3/pull-request/19 > > I'm going offline, so please somebody continue from there. Thanks for the PR Miro. This issue affects Fedora 25 which is EOL is two weeks, so I don't really think it's even gonna get past the bodhi update testing timeframe before we have F25 retired. However the individual python interpreters that we ship can be patched. On another note, I really doubt the severity of this issue from the security perspective. From [0]: "You need to compile a 1 GiB Python file on 32-bit system for reproducing it. It is very unlikely that this can happen by accident, and it is hard to used it in security attack. If you can make the attacked program compiling a 1 GiB Python file, you perhaps have easier ways to make a harm." [0] http://python-security.readthedocs.io/vuln/cve-2017-1000158_pystring_decodeescape_integer_overflow.html The severity is minimal and the EOL is near, however, this seems like easyfix. (Except, of course, arm build failing for possibly unrelated issue). Trying again https://koji.fedoraproject.org/koji/taskinfo?taskID=23484530 Also note that upstream still needs PR for 3.5 and 3,4, so we can test it here an open one if the tests pass, etc. python3-3.5.4-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-07d79c83b1 python3-3.5.4-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-07d79c83b1 Why is it still open? Shouldn't it be closed as EOL? https://pagure.io/fesco/issue/1933 caused this to be re-opened. Also i feel this should be closed as CURRENTRELEASE and not EOL |