{ "schema_version": "1.4.0", "id": "GHSA-mq5p-2mcr-m52j", "modified": "2024-10-03T21:28:36Z", "published": "2021-08-30T16:17:06Z", "aliases": [ "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", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" }, { "type": "CVSS_V4", "score": "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" } ], "affected": [ { "package": { "ecosystem": "PyPI", "name": "nbgitpuller" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0.9.0" }, { "fixed": "0.10.2" } ] } ], "database_specific": { "last_known_affected_version_range": "<= 0.10.1" } } ], "references": [ { "type": "WEB", "url": "https://github.com/jupyterhub/nbgitpuller/security/advisories/GHSA-mq5p-2mcr-m52j" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39160" }, { "type": "WEB", "url": "https://github.com/jupyterhub/nbgitpuller/commit/07690644f29a566011dd0d7ba14cae3eb0490481" }, { "type": "PACKAGE", "url": "https://github.com/jupyterhub/nbgitpuller" }, { "type": "WEB", "url": "https://github.com/jupyterhub/nbgitpuller/blob/main/CHANGELOG.md#0102---2021-08-25" }, { "type": "WEB", "url": "https://github.com/pypa/advisory-database/tree/main/vulns/nbgitpuller/PYSEC-2021-315.yaml" } ], "database_specific": { "cwe_ids": [ "CWE-78", "CWE-94" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2021-08-25T15:10:01Z", "nvd_published_at": "2021-08-25T18:15:00Z" } }