Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.7
CVE-2021-39160: nbgitpuller: Visiting malicious links can execute code in your environment
CVE-2021-39160 · published 5 years ago
Summary
The nbgitpuller extension for Jupyter servers has a security flaw that allows hackers to run malicious code on your system if you visit a specially crafted link. This flaw has been fixed in version 0.10.2, so you should update to this version or later. If you can't update, you're at risk until you do.
What to do
- Update peter veerman nbgitpuller to version 0.10.2.
- Update jupyterhub nbgitpuller to version 0.10.2 or later.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| pip | peter veerman | nbgitpuller |
>= 0.9.0, <= 0.10.1 Fix: upgrade to 0.10.2
|
| – | jupyterhub | nbgitpuller |
>= 0.9.0, < 0.10.2 cpe:2.3:a:jupyterhub:nbgitpuller:*:*:*:*:*:*:*:* |
Original advisory text
nbgitpuller is a Jupyter server extension to sync a git repository one-way to a local path. Due to unsanitized input, visiting maliciously crafted links could result in arbitrary code execution in ...
nbgitpuller is a Jupyter server extension to sync a git repository one-way to a local path. Due to unsanitized input, visiting maliciously crafted links could result in arbitrary code execution in the user environment. This has been resolved in version 0.10.2 and all users are advised to upgrade. No work around exist for users who can not upgrade.
References
- https://github.com/jupyterhub/nbgitpuller/security/advisories/GHSA-mq5p-2mcr-m52...
- https://nvd.nist.gov/vuln/detail/CVE-2021-39160
- https://github.com/jupyterhub/nbgitpuller/commit/07690644f29a566011dd0d7ba14cae3...
- https://github.com/jupyterhub/nbgitpuller/blob/main/CHANGELOG.md#0102---2021-08-...
- https://github.com/pypa/advisory-database/tree/main/vulns/nbgitpuller/PYSEC-2021...
- https://github.com/advisories/GHSA-mq5p-2mcr-m52j
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker full control (estimated)
Type
CWE-78OS Command Injection
CWE-94Code Injection
Timeline
Published25 Aug 2021
Updated3 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta