CVE-2021-39160: Code injection in nbgitpuller

Published Aug 25, 2021
·
Updated

Impact

Due to an unsanitized input, visiting maliciously crafted links could result in arbitrary code execution in the user environment.

Patches

0.10.2

Workarounds

None, other than upgrade to 0.10.2 or downgrade to 0.8.x.

For more information

If you have any questions or comments about this advisory:

Open an issue in nbgitpuller Email our security team at security@ipython.org

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
pip/nbgitpuller>=0.9.0<=0.10.1
0.10.2
JupyterHub nbgitpuller>=0.9.0<0.10.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/nbgitpuller to a version that resolves this vulnerability.

    Fixed in 0.10.2
  2. Upgrade

    Upgrade nbgitpuller to a version that resolves this vulnerability.

    Fixed in 0.10.2
  3. Upgrade

    Upgrade nbgitpuller to a version that resolves this vulnerability.

    Fixed in 0.8.x

Event History

Aug 25, 2021
CVE Published
via MITRE·06:10 PM
Data Sourced
via MITRE·06:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 30, 2021
Advisory Published
via GitHub·04:17 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-39160?

CVE-2021-39160 is a vulnerability in the nbgitpuller Jupyter server extension that allows for arbitrary code execution in the user environment when visiting maliciously crafted links.

2

What is the severity of CVE-2021-39160?

CVE-2021-39160 has a severity score of 8.8 (critical).

3

How does CVE-2021-39160 impact users?

CVE-2021-39160 allows for arbitrary code execution in the user environment when visiting malicious links.

4

How can I fix CVE-2021-39160?

To fix CVE-2021-39160, upgrade to version 0.10.2 of nbgitpuller or downgrade to version 0.8.x.

5

Are there any workarounds for CVE-2021-39160?

No, there are no workarounds for CVE-2021-39160 other than upgrading to version 0.10.2 or downgrading to version 0.8.x.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203