CVE-2021-39160
Jupyterhub Nbgitpuller vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Nbgitpuller. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Jupyterhub Nbgitpuller runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/jupyterhub/nbgitpuller/commit/07690644f29a566011dd0d7ba14cae3eb0490481 · Patch
- github.com/jupyterhub/nbgitpuller/blob/main/CHANGELOG.md#0102---2021-08-25 · Third Party Advisory
- github.com/jupyterhub/nbgitpuller/security/advisories/GHSA-mq5p-2mcr-m52j · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-39160
- github.com/pypa/advisory-database/tree/main/vulns/nbgitpuller/PYSEC-2021-315.yaml
- github.com/advisories/GHSA-mq5p-2mcr-m52j
- nvd.nist.gov/vuln/detail/CVE-2021-39160
- cve.org/CVERecord?id=CVE-2021-39160
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.