Bug 1558781 (CVE-2018-8768)

Summary: CVE-2018-8768 python-notebook: Input sanitization bypass allows for execution of JavaScript via crafted notebook file
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: mhroncok
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-notebook 5.4.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-21 19:58:31 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:
Bug Depends On: 1558783    
Bug Blocks:    

Description Sam Fowler 2018-03-21 01:25:40 UTC
n Jupyter Notebook before 5.4.1, a maliciously forged notebook file can bypass sanitization to execute JavaScript in the notebook context. Specifically, invalid HTML is 'fixed' by jQuery after sanitization, making it dangerous.


External References:

http://www.openwall.com/lists/oss-security/2018/03/15/2


Upstream Patch:

https://github.com/jupyter/notebook/commit/4e79ebb49acac722b37b03f1fe811e67590d3831

Comment 1 Sam Fowler 2018-03-21 01:26:14 UTC
Created python-notebook tracking bugs for this issue:

Affects: fedora-all [bug 1558783]

Comment 2 Miro HronĨok 2018-12-02 00:10:17 UTC
This was fixed in Fedora a while ago. Should this be closed?