CVE-2021-39160 json
Code injection in nbgitpuller
published 2021-08-25 5 y ago modified 2026-07-08 4 mo ago also GHSA-mq5p-2mcr-m52j , PYSEC-2021-315 , EUVD-2021-0141
- cvss
- 9.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi nbgitpuller 0.10.2
- jupyterhub nbgitpuller 0.10.2
Exploit prediction
1.73% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | nbgitpuller | >=0.9.0, <0.10.2 |
0.10.2 |
Affected products
- jupyterhub nbgitpuller
Classification
References
-
github.com
/jupyterhub/nbgitpuller/commit/07690644f29a566011dd0d7ba14cae3eb0490481
web, patch, third-party-advisory
-
github.com
/jupyterhub/nbgitpuller/security/advisories/GHSA-mq5p-2mcr-m52j
web, third-party-advisory, advisory
-
github.com
/jupyterhub/nbgitpuller/blob/main/CHANGELOG.md#0102---2021-08-25
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-39160
advisory
-
github.com
/jupyterhub/nbgitpuller
package
-
github.com
/pypa/advisory-database/tree/main/vulns/nbgitpuller/PYSEC-2021-315.yaml
web
Sources
- CVE List CVE-2021-39160
- GitHub Advisory GHSA-mq5p-2mcr-m52j
- NVD CVE-2021-39160
- OSV PYSEC-2021-315
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.