Step-by-step guides to get your project up and running. Here you'll find out how we develop solutions with our APIs. You can follow our step-by-step guides to start building your own innovative projects. These tutorials are related to the Mapping and Data APIs available from our Data Hub (https://osdatahub.os.uk/).
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
#### Changes included in this PR
- Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
- data-science/weighted-shortest-path/code/requirements.txt
⚠️ Warning
```
os-paw 1.0.1 has requirement requests==2.24.0, but you have requests 2.31.0.
notebook 6.5.6 has requirement Send2Trash>=1.8.0, but you have Send2Trash 1.5.0.
nbconvert 6.5.1 has requirement MarkupSafe>=2.0, but you have MarkupSafe 1.1.1.
nbconvert 6.5.1 has requirement jupyter-core>=4.7, but you have jupyter-core 4.6.3.
nbconvert 6.5.1 has requirement mistune<2,>=0.8.1, but you have mistune 2.0.3.
nbconvert 6.5.1 has requirement nbformat>=5.1, but you have nbformat 5.0.7.
nbconvert 6.5.1 has requirement traitlets>=5.0, but you have traitlets 4.3.3.
nbclient 0.7.4 has requirement traitlets>=5.3, but you have traitlets 4.3.3.
nbclient 0.7.4 has requirement jupyter-client>=6.1.12, but you have jupyter-client 6.1.3.
nbclient 0.7.4 has requirement nbformat>=5.1, but you have nbformat 5.0.7.
nbclient 0.7.4 has requirement jupyter-core!=5.0.*,>=4.12, but you have jupyter-core 4.6.3.
nbclassic 1.0.0 has requirement Send2Trash>=1.8.0, but you have Send2Trash 1.5.0.
jupyter-server 1.24.0 has requirement traitlets>=5.1, but you have traitlets 4.3.3.
jupyter-server 1.24.0 has requirement nbformat>=5.2.0, but you have nbformat 5.0.7.
jupyter-server 1.24.0 has requirement jupyter-client>=6.1.12, but you have jupyter-client 6.1.3.
jupyter-server 1.24.0 has requirement jupyter-core!=5.0.*,>=4.12, but you have jupyter-core 4.6.3.
Jinja2 3.1.3 has requirement MarkupSafe>=2.0, but you have MarkupSafe 1.1.1.
```
#### Vulnerabilities that will be fixed
##### By pinning:
Severity | Priority Score (*) | Issue | Upgrade | Breaking Change | Exploit Maturity
:-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:-------------------------
![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **624/1000** **Why?** Has a fix available, CVSS 8.2 | Arbitrary Code Execution [SNYK-PYTHON-IPYTHON-2348630](https://snyk.io/vuln/SNYK-PYTHON-IPYTHON-2348630) | `ipython:` `5.10.0 -> 7.16.3` | No | No Known Exploit
![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **484/1000** **Why?** Has a fix available, CVSS 5.4 | Cross-site Scripting (XSS) [SNYK-PYTHON-JINJA2-6150717](https://snyk.io/vuln/SNYK-PYTHON-JINJA2-6150717) | `jinja2:` `2.11.3 -> 3.1.3` | No | No Known Exploit
![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **726/1000** **Why?** Proof of Concept exploit, Has a fix available, CVSS 8.1 | Cross-site Scripting (XSS) [SNYK-PYTHON-NBCONVERT-2979829](https://snyk.io/vuln/SNYK-PYTHON-NBCONVERT-2979829) | `nbconvert:` `5.6.1 -> 6.3.0b0` | No | Proof of Concept
![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **434/1000** **Why?** Has a fix available, CVSS 4.4 | Open Redirect [SNYK-PYTHON-NOTEBOOK-1041707](https://snyk.io/vuln/SNYK-PYTHON-NOTEBOOK-1041707) | `notebook:` `5.7.16 -> 6.4.12` | No | No Known Exploit
![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **589/1000** **Why?** Has a fix available, CVSS 7.5 | Information Exposure [SNYK-PYTHON-NOTEBOOK-2441824](https://snyk.io/vuln/SNYK-PYTHON-NOTEBOOK-2441824) | `notebook:` `5.7.16 -> 6.4.12` | No | No Known Exploit
![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **449/1000** **Why?** Has a fix available, CVSS 4.7 | Access Restriction Bypass [SNYK-PYTHON-NOTEBOOK-2928995](https://snyk.io/vuln/SNYK-PYTHON-NOTEBOOK-2928995) | `notebook:` `5.7.16 -> 6.4.12` | No | No Known Exploit
![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **696/1000** **Why?** Proof of Concept exploit, Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS) [SNYK-PYTHON-PYGMENTS-1086606](https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-1086606) | `pygments:` `2.5.2 -> 2.15.0` | No | Proof of Concept
![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **589/1000** **Why?** Has a fix available, CVSS 7.5 | Denial of Service (DoS) [SNYK-PYTHON-PYGMENTS-1088505](https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-1088505) | `pygments:` `2.5.2 -> 2.15.0` | No | No Known Exploit
![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **479/1000** **Why?** Has a fix available, CVSS 5.3 | Regular Expression Denial of Service (ReDoS) [SNYK-PYTHON-PYGMENTS-5750273](https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-5750273) | `pygments:` `2.5.2 -> 2.15.0` | No | No Known Exploit
(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.
------------
**Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.*
For more information:
🧐 [View latest project report](https://app.eu.snyk.io/org/ordnance-survey/project/a7418a44-851e-408a-b18d-29f9ec5b685d?utm_source=github&utm_medium=referral&page=fix-pr)
🛠 [Adjust project settings](https://app.eu.snyk.io/org/ordnance-survey/project/a7418a44-851e-408a-b18d-29f9ec5b685d?utm_source=github&utm_medium=referral&page=fix-pr/settings)
📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities)
[//]: # (snyk:metadata:{"prId":"09df12e2-59a8-470d-9385-b4f019bdc967","prPublicId":"09df12e2-59a8-470d-9385-b4f019bdc967","dependencies":[{"name":"ipython","from":"5.10.0","to":"7.16.3"},{"name":"jinja2","from":"2.11.3","to":"3.1.3"},{"name":"nbconvert","from":"5.6.1","to":"6.3.0b0"},{"name":"notebook","from":"5.7.16","to":"6.4.12"},{"name":"pygments","from":"2.5.2","to":"2.15.0"}],"packageManager":"pip","projectPublicId":"a7418a44-851e-408a-b18d-29f9ec5b685d","projectUrl":"https://app.eu.snyk.io/org/ordnance-survey/project/a7418a44-851e-408a-b18d-29f9ec5b685d?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-IPYTHON-2348630","SNYK-PYTHON-JINJA2-6150717","SNYK-PYTHON-NBCONVERT-2979829","SNYK-PYTHON-NOTEBOOK-1041707","SNYK-PYTHON-NOTEBOOK-2441824","SNYK-PYTHON-NOTEBOOK-2928995","SNYK-PYTHON-PYGMENTS-1086606","SNYK-PYTHON-PYGMENTS-1088505","SNYK-PYTHON-PYGMENTS-5750273"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["pr-warning-shown","priorityScore"],"priorityScoreList":[624,484,726,434,589,449,696,589,479],"remediationStrategy":"vuln"})
---
**Learn how to fix vulnerabilities with free interactive lessons:**
🦉 [Cross-site Scripting (XSS)](https://learn.snyk.io/lesson/xss/?loc=fix-pr)
🦉 [Open Redirect](https://learn.snyk.io/lesson/open-redirect/?loc=fix-pr)
🦉 [Information Exposure](https://learn.snyk.io/lesson/logging-vulnerabilities/?loc=fix-pr)
🦉 [More lessons are available in Snyk Learn](https://learn.snyk.io/?loc=fix-pr)
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
#### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - data-science/weighted-shortest-path/code/requirements.txt⚠️ Warning
``` os-paw 1.0.1 has requirement requests==2.24.0, but you have requests 2.31.0. notebook 6.5.6 has requirement Send2Trash>=1.8.0, but you have Send2Trash 1.5.0. nbconvert 6.5.1 has requirement MarkupSafe>=2.0, but you have MarkupSafe 1.1.1. nbconvert 6.5.1 has requirement jupyter-core>=4.7, but you have jupyter-core 4.6.3. nbconvert 6.5.1 has requirement mistune<2,>=0.8.1, but you have mistune 2.0.3. nbconvert 6.5.1 has requirement nbformat>=5.1, but you have nbformat 5.0.7. nbconvert 6.5.1 has requirement traitlets>=5.0, but you have traitlets 4.3.3. nbclient 0.7.4 has requirement traitlets>=5.3, but you have traitlets 4.3.3. nbclient 0.7.4 has requirement jupyter-client>=6.1.12, but you have jupyter-client 6.1.3. nbclient 0.7.4 has requirement nbformat>=5.1, but you have nbformat 5.0.7. nbclient 0.7.4 has requirement jupyter-core!=5.0.*,>=4.12, but you have jupyter-core 4.6.3. nbclassic 1.0.0 has requirement Send2Trash>=1.8.0, but you have Send2Trash 1.5.0. jupyter-server 1.24.0 has requirement traitlets>=5.1, but you have traitlets 4.3.3. jupyter-server 1.24.0 has requirement nbformat>=5.2.0, but you have nbformat 5.0.7. jupyter-server 1.24.0 has requirement jupyter-client>=6.1.12, but you have jupyter-client 6.1.3. jupyter-server 1.24.0 has requirement jupyter-core!=5.0.*,>=4.12, but you have jupyter-core 4.6.3. Jinja2 3.1.3 has requirement MarkupSafe>=2.0, but you have MarkupSafe 1.1.1. ```**Why?** Has a fix available, CVSS 8.2 | Arbitrary Code Execution
[SNYK-PYTHON-IPYTHON-2348630](https://snyk.io/vuln/SNYK-PYTHON-IPYTHON-2348630) | `ipython:`
`5.10.0 -> 7.16.3`
| No | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **484/1000**
**Why?** Has a fix available, CVSS 5.4 | Cross-site Scripting (XSS)
[SNYK-PYTHON-JINJA2-6150717](https://snyk.io/vuln/SNYK-PYTHON-JINJA2-6150717) | `jinja2:`
`2.11.3 -> 3.1.3`
| No | No Known Exploit ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **726/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 8.1 | Cross-site Scripting (XSS)
[SNYK-PYTHON-NBCONVERT-2979829](https://snyk.io/vuln/SNYK-PYTHON-NBCONVERT-2979829) | `nbconvert:`
`5.6.1 -> 6.3.0b0`
| No | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **434/1000**
**Why?** Has a fix available, CVSS 4.4 | Open Redirect
[SNYK-PYTHON-NOTEBOOK-1041707](https://snyk.io/vuln/SNYK-PYTHON-NOTEBOOK-1041707) | `notebook:`
`5.7.16 -> 6.4.12`
| No | No Known Exploit ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **589/1000**
**Why?** Has a fix available, CVSS 7.5 | Information Exposure
[SNYK-PYTHON-NOTEBOOK-2441824](https://snyk.io/vuln/SNYK-PYTHON-NOTEBOOK-2441824) | `notebook:`
`5.7.16 -> 6.4.12`
| No | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **449/1000**
**Why?** Has a fix available, CVSS 4.7 | Access Restriction Bypass
[SNYK-PYTHON-NOTEBOOK-2928995](https://snyk.io/vuln/SNYK-PYTHON-NOTEBOOK-2928995) | `notebook:`
`5.7.16 -> 6.4.12`
| No | No Known Exploit ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **696/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS)
[SNYK-PYTHON-PYGMENTS-1086606](https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-1086606) | `pygments:`
`2.5.2 -> 2.15.0`
| No | Proof of Concept ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **589/1000**
**Why?** Has a fix available, CVSS 7.5 | Denial of Service (DoS)
[SNYK-PYTHON-PYGMENTS-1088505](https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-1088505) | `pygments:`
`2.5.2 -> 2.15.0`
| No | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **479/1000**
**Why?** Has a fix available, CVSS 5.3 | Regular Expression Denial of Service (ReDoS)
[SNYK-PYTHON-PYGMENTS-5750273](https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-5750273) | `pygments:`
`2.5.2 -> 2.15.0`
| No | No Known Exploit (*) Note that the real score may have changed since the PR was raised. Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded. Check the changes in this PR to ensure they won't cause issues with your project. ------------ **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.* For more information: 🧐 [View latest project report](https://app.eu.snyk.io/org/ordnance-survey/project/a7418a44-851e-408a-b18d-29f9ec5b685d?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.eu.snyk.io/org/ordnance-survey/project/a7418a44-851e-408a-b18d-29f9ec5b685d?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"09df12e2-59a8-470d-9385-b4f019bdc967","prPublicId":"09df12e2-59a8-470d-9385-b4f019bdc967","dependencies":[{"name":"ipython","from":"5.10.0","to":"7.16.3"},{"name":"jinja2","from":"2.11.3","to":"3.1.3"},{"name":"nbconvert","from":"5.6.1","to":"6.3.0b0"},{"name":"notebook","from":"5.7.16","to":"6.4.12"},{"name":"pygments","from":"2.5.2","to":"2.15.0"}],"packageManager":"pip","projectPublicId":"a7418a44-851e-408a-b18d-29f9ec5b685d","projectUrl":"https://app.eu.snyk.io/org/ordnance-survey/project/a7418a44-851e-408a-b18d-29f9ec5b685d?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-IPYTHON-2348630","SNYK-PYTHON-JINJA2-6150717","SNYK-PYTHON-NBCONVERT-2979829","SNYK-PYTHON-NOTEBOOK-1041707","SNYK-PYTHON-NOTEBOOK-2441824","SNYK-PYTHON-NOTEBOOK-2928995","SNYK-PYTHON-PYGMENTS-1086606","SNYK-PYTHON-PYGMENTS-1088505","SNYK-PYTHON-PYGMENTS-5750273"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["pr-warning-shown","priorityScore"],"priorityScoreList":[624,484,726,434,589,449,696,589,479],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Cross-site Scripting (XSS)](https://learn.snyk.io/lesson/xss/?loc=fix-pr) 🦉 [Open Redirect](https://learn.snyk.io/lesson/open-redirect/?loc=fix-pr) 🦉 [Information Exposure](https://learn.snyk.io/lesson/logging-vulnerabilities/?loc=fix-pr) 🦉 [More lessons are available in Snyk Learn](https://learn.snyk.io/?loc=fix-pr)