Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @


From EGIWiki
Jump to navigation Jump to search
Main page Software Security Checklist Issue Handling Advisories Notes On Risk Advisory Template More


Title:       EGI SVG 'ADVISORY' [TLP:WHITE] UP TO CRITICAL risk Remote Code execution in JupyterLab and Jupyter 
Notebook CVE-2021–32797 and CVE-2021–32798  [EGI-SVG-CVE-2021-32798] 

Date:        2021-08-17
Updated:     2021-09-07 - changed to [TLP:WHITE] and placed on the wiki.

Affected software and risk

UP TO CRITICAL risk vulnerabilities concerning JupyterLab and Jupyter Notebook

Package : JupyterLab and Jupyter Notebook
CVE ID  : CVE-2021–32797, CVE-2021–32798 

Vulnerabilities have been reported in JupyterLab (CVE-2021-32797 [R 1], [R 2]) and Jupyter Notebook (CVE-2021-32798 [R 3], 
[R 4]) which allow untrusted code in a Notebook to execute on load.  

Actions required/recommended

Sites and VOs are recommended to update to the latest version of JupyterLab or Jupyter Notebook as soon as possible. 
There are no recommended mitigations.

Component installation information

Please see [R 5], [R 6] 


There is no recommended mitigation. 

Affected software details

This is fixed for the following versions:--

For Jupyter Notebook:--

Patched in the following versions: 5.7.11, 6.4.1

For JupyterLab

Patched in the following versions: 3.1.4, 3.0.17, 2.3.2, 2.2.10, 1.2.21.

Earlier versions are likely to be vulnerable. 

More information

Please see [R 7]. 

The EGI SVG is aware that this is relevant to FedCloud sites and users, but also other sites and VOs. 

More information on Jupyter is available from their website [R 8]


** WHITE information - Unlimited distribution - see for distribution restrictions **  


Minor updates may be made without re-distribution by e-mail.


Comments or questions should be sent to svg-rat  at

If you find or become aware of another vulnerability which is relevant to EGI you may report it by e-mail to  

report-vulnerability at
the EGI Software Vulnerability Group will take a look according to the procedure defined in [R 9]  

Note that this is undergoing revision to fully handle vulnerabilities in future.


[R 1]

[R 2]

[R 3]

[R 4] 

[R 5]

[R 6] 
[R 7] 

[R 8]

[R 9]


SVG was alerted to this vulnerability by David Crooks and Baptiste Grenier. 

Yyyy-mm-dd  [EGI-SVG-2021-CVE-2021-32798] 

2021-08-13 SVG alerted to this issue by David Crooks and Baptiste Grenier
2021-08-16 Acknowledgement from the EGI SVG to the reporter
2021-08-16 Discussed and agreed it is relevant to FedCloud, other sites and some VOs.
2021-08-16 EGI SVG Risk Assessment completed
2021-08-17 Advisory sent to sites and VOs
2021-09-07 Advisory placed on the wiki


This advisory has been prepared as part of the effort to fulfil EGI SVG's purpose 
"To minimize the risk to the EGI infrastructure arising from software vulnerabilities"

The risk is that assessed by the group, according to the EGI SVG issue handling procedure [R 9]  in the context 
of how the software is used in the EGI infrastructure. It is the opinion of the group, we do not guarantee it to be correct. 
The risk may also be higher or lower in other deployments depending on how the software is used.   

This advisory is subject to the Creative commons licence and 
the EGI Software Vulnerability Group must be credited. 

Note that the SVG issue handling procedure is currently under review, to take account of the increasing inhomogeneity 
of the EGI infrastructure. 

On behalf of the EGI SVG,