CVE-2021-39160
HIGH 8.8CVSS 3.1Code injection in nbgitpuller
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.
- Published
- 25 Aug 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-78CWE-94
- Also known as
- GHSA-mq5p-2mcr-m52jPYSEC-2021-315
- Sources
- NVDJSONOSV GHSA-mq5p-2mcr-m52jJSONOSV PYSEC-2021-315JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jupyterhub | nbgitpullercpe:2.3:a:jupyterhub:nbgitpuller:*:*:*:*:*:*:*:* |
>= 0.9.0, < 0.10.2 | 0.10.2 |
| OSV | PyPI | nbgitpuller | >= 0.9.0, < 0.10.2 | 0.10.2 |
References
- https://github.com/jupyterhub/nbgitpuller/blob/main/CHANGELOG.md#0102---2021-08-25 · Release Notes, Third Party Advisory, WEB
- https://github.com/jupyterhub/nbgitpuller/commit/07690644f29a566011dd0d7ba14cae3eb0490481 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/jupyterhub/nbgitpuller/security/advisories/GHSA-mq5p-2mcr-m52j · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-39160 · ADVISORY
- https://github.com/jupyterhub/nbgitpuller · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/nbgitpuller/PYSEC-2021-315.yaml · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Aug 2021)