GSD-2021-32797
Vulnerability from gsd - Updated: 2023-12-13 01:23Details
JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook. In affected versions untrusted notebook can execute code on load. In particular JupyterLab doesn’t sanitize the action attribute of html `<form>`. Using this it is possible to trigger the form validation outside of the form itself. This is a remote code execution, but requires user action to open a notebook.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2021-32797",
"description": "JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook. In affected versions untrusted notebook can execute code on load. In particular JupyterLab doesn\u2019t sanitize the action attribute of html `\u003cform\u003e`. Using this it is possible to trigger the form validation outside of the form itself. This is a remote code execution, but requires user action to open a notebook.",
"id": "GSD-2021-32797",
"references": [
"https://www.suse.com/security/cve/CVE-2021-32797.html",
"https://security.archlinux.org/CVE-2021-32797",
"https://advisories.mageia.org/CVE-2021-32797.html"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2021-32797"
],
"details": "JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook. In affected versions untrusted notebook can execute code on load. In particular JupyterLab doesn\u2019t sanitize the action attribute of html `\u003cform\u003e`. Using this it is possible to trigger the form validation outside of the form itself. This is a remote code execution, but requires user action to open a notebook.",
"id": "GSD-2021-32797",
"modified": "2023-12-13T01:23:09.134020Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2021-32797",
"STATE": "PUBLIC",
"TITLE": "JupyterLab: XSS due to lack of sanitization of the action attribute of an html \u003cform\u003e"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "jupyterlab",
"version": {
"version_data": [
{
"version_value": "\u003e= 3.1.0, \u003c 3.1.4"
},
{
"version_value": "\u003e= 3.0.0, \u003c 3.0.17"
},
{
"version_value": "\u003e= 2.3.0, \u003c 2.3.2"
},
{
"version_value": "\u003e= 2.0.0, \u003c 2.2.10"
},
{
"version_value": "\u003c 1.2.1"
}
]
}
}
]
},
"vendor_name": "jupyterlab"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook. In affected versions untrusted notebook can execute code on load. In particular JupyterLab doesn\u2019t sanitize the action attribute of html `\u003cform\u003e`. Using this it is possible to trigger the form validation outside of the form itself. This is a remote code execution, but requires user action to open a notebook."
}
]
},
"impact": {
"cvss": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 7.4,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx",
"refsource": "CONFIRM",
"url": "https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx"
},
{
"name": "https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed",
"refsource": "MISC",
"url": "https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed"
}
]
},
"source": {
"advisory": "GHSA-4952-p58q-6crx",
"discovery": "UNKNOWN"
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c1.2.21||\u003e=2.0.0,\u003c2.2.10||\u003e=2.3.0,\u003c2.3.2||\u003e=3.0.0,\u003c3.0.17||\u003e=3.1.0,\u003c3.1.4",
"affected_versions": "All versions before 1.2.21, all versions starting from 2.0.0 before 2.2.10, all versions starting from 2.3.0 before 2.3.2, all versions starting from 3.0.0 before 3.0.17, all versions starting from 3.1.0 before 3.1.4",
"cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-79",
"CWE-937"
],
"date": "2022-04-07",
"description": "JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook. JupyterLab doesn\u2019t sanitize the action attribute of html `\u003cform\u003e`. Using this, it is possible to trigger the form validation outside of the form itself. This is a remote code execution, but requires user action to open a notebook.",
"fixed_versions": [
"1.2.21",
"2.2.10",
"2.3.2",
"3.0.17",
"3.1.4"
],
"identifier": "CVE-2021-32797",
"identifiers": [
"CVE-2021-32797",
"GHSA-4952-p58q-6crx"
],
"not_impacted": "All versions starting from 1.2.21 before 2.0.0, all versions starting from 2.2.10 before 2.3.0, all versions starting from 2.3.2 before 3.0.0, all versions starting from 3.0.17 before 3.1.0, all versions starting from 3.1.4",
"package_slug": "pypi/jupyterlab",
"pubdate": "2021-08-09",
"solution": "Upgrade to versions 1.2.21, 2.2.10, 2.3.2, 3.0.17, 3.1.4 or above.",
"title": "Cross-site Scripting",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-32797"
],
"uuid": "2d674e0d-fc66-4a82-a8c1-6fc38b8b27c3"
},
{
"affected_range": "\u003c5.7.11||\u003e=6.0.0,\u003c6.4.1",
"affected_versions": "All versions before 5.7.11, all versions starting from 6.0.0 before 6.4.1",
"cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-78",
"CWE-79",
"CWE-937"
],
"date": "2021-10-20",
"description": "JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook. In affected versions untrusted notebook can execute code on load. In particular JupyterLab doesn\u2019t sanitize the action attribute of html `\u003cform\u003e`. Using this it is possible to trigger the form validation outside of the form itself. This is a remote code execution, but requires user action to open a notebook.",
"fixed_versions": [
"5.7.11",
"6.4.1"
],
"identifier": "CVE-2021-32797",
"identifiers": [
"GHSA-4952-p58q-6crx",
"CVE-2021-32797"
],
"not_impacted": "All versions starting from 5.7.11 before 6.0.0, all versions starting from 6.4.1",
"package_slug": "pypi/notebook",
"pubdate": "2021-08-23",
"solution": "Upgrade to versions 5.7.11, 6.4.1 or above.",
"title": "Improper Neutralization of Input During Web Page Generation ",
"urls": [
"https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx",
"https://nvd.nist.gov/vuln/detail/CVE-2021-32797",
"https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed",
"https://github.com/google/security-research/security/advisories/GHSA-c469-p3jp-2vhx",
"https://github.com/advisories/GHSA-4952-p58q-6crx"
],
"uuid": "4a389301-09e0-41c0-8053-63c6803e4052"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "1.2.21",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "2.2.10",
"versionStartIncluding": "2.0.0",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "2.3.2",
"versionStartIncluding": "2.3.0",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "3.0.17",
"versionStartIncluding": "3.0.0",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "3.1.4",
"versionStartIncluding": "3.1.0",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2021-32797"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook. In affected versions untrusted notebook can execute code on load. In particular JupyterLab doesn\u2019t sanitize the action attribute of html `\u003cform\u003e`. Using this it is possible to trigger the form validation outside of the form itself. This is a remote code execution, but requires user action to open a notebook."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed",
"refsource": "MISC",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed"
},
{
"name": "https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx",
"refsource": "CONFIRM",
"tags": [
"Third Party Advisory"
],
"url": "https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "MEDIUM",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "PARTIAL",
"baseScore": 6.8,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
"version": "2.0"
},
"exploitabilityScore": 8.6,
"impactScore": 6.4,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "MEDIUM",
"userInteractionRequired": true
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.6,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 2.8,
"impactScore": 6.0
}
},
"lastModifiedDate": "2022-04-07T18:40Z",
"publishedDate": "2021-08-09T21:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…