{"id":"CVE-2021-39160","aliases":["GHSA-mq5p-2mcr-m52j","PYSEC-2021-315"],"url":"https://o3.security/vulnerability/CVE-2021-39160","summary":"Code injection in nbgitpuller","details":"### Impact\n\nDue to an unsanitized input, visiting maliciously crafted links could result in arbitrary code execution in the user environment.\n\n### Patches\n\n0.10.2\n\n### Workarounds\n\nNone, other than upgrade to 0.10.2 or downgrade to 0.8.x.\n\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Open an issue in [nbgitpuller](https://github.com/jupyterhub/nbgitpuller/issues)\n* Email our security team at [security@ipython.org](mailto:security@ipython.org)\n","published":"2021-08-25T18:15:08.487Z","modified":"2026-07-09T12:20:14.894415Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"nbgitpuller","fixedVersion":"0.10.2"}],"fix":{"url":"https://github.com/jupyterhub/nbgitpuller/commit/07690644f29a566011dd0d7ba14cae3eb0490481","label":"jupyterhub/nbgitpuller@0769064"},"references":[{"type":"ADVISORY","url":"https://github.com/jupyterhub/nbgitpuller/blob/main/CHANGELOG.md#0102---2021-08-25"},{"type":"ADVISORY","url":"https://github.com/jupyterhub/nbgitpuller/security/advisories/GHSA-mq5p-2mcr-m52j"},{"type":"FIX","url":"https://github.com/jupyterhub/nbgitpuller/commit/07690644f29a566011dd0d7ba14cae3eb0490481"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39160"},{"type":"PACKAGE","url":"https://github.com/jupyterhub/nbgitpuller"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nbgitpuller/PYSEC-2021-315.yaml"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T12:20:14.894415Z"}}