From 09afbd61ee66d6385ed15d567acd17e731a8cf84 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Mon, 16 Sep 2024 15:04:06 +0000 Subject: [PATCH] Publish Advisories GHSA-gff3-739c-gxfq GHSA-xw7c-jx9m-xh5g --- .../GHSA-gff3-739c-gxfq.json | 9 +++--- .../GHSA-xw7c-jx9m-xh5g.json | 32 +++++++++++++++++-- 2 files changed, 35 insertions(+), 6 deletions(-) diff --git a/advisories/github-reviewed/2021/06/GHSA-gff3-739c-gxfq/GHSA-gff3-739c-gxfq.json b/advisories/github-reviewed/2021/06/GHSA-gff3-739c-gxfq/GHSA-gff3-739c-gxfq.json index 14abe8ca5a3..80e7b7eeff9 100644 --- a/advisories/github-reviewed/2021/06/GHSA-gff3-739c-gxfq/GHSA-gff3-739c-gxfq.json +++ b/advisories/github-reviewed/2021/06/GHSA-gff3-739c-gxfq/GHSA-gff3-739c-gxfq.json @@ -1,13 +1,14 @@ { "schema_version": "1.4.0", "id": "GHSA-gff3-739c-gxfq", - "modified": "2021-06-09T20:39:24Z", + "modified": "2024-09-16T15:03:13Z", "published": "2021-06-10T17:22:59Z", + "withdrawn": "2024-09-16T15:02:24Z", "aliases": [ - "CVE-2021-32670" + ], - "summary": "Reflected cross-site scripting issue in Datasette", - "details": "Datasette is an open source multi-tool for exploring and publishing data. The `?_trace=1` debugging feature in Datasette does not correctly escape generated HTML, resulting in a [reflected cross-site scripting](https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks) vulnerability. This vulnerability is particularly relevant if your Datasette installation includes authenticated features using plugins such as [datasette-auth-passwords](https://datasette.io/plugins/datasette-auth-passwords) as an attacker could use the vulnerability to access protected data. Datasette 0.57 and 0.56.1 both include patches for this issue. If you run Datasette behind a proxy you can workaround this issue by rejecting any incoming requests with `?_trace=` or `&_trace=` in their query string parameters.", + "summary": "Duplicate Advisory: Reflected cross-site scripting issue in Datasette", + "details": "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-xw7c-jx9m-xh5g. This link is maintained to preserve external references.\n\n## Original Description\nDatasette is an open source multi-tool for exploring and publishing data. The `?_trace=1` debugging feature in Datasette does not correctly escape generated HTML, resulting in a [reflected cross-site scripting](https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks) vulnerability. This vulnerability is particularly relevant if your Datasette installation includes authenticated features using plugins such as [datasette-auth-passwords](https://datasette.io/plugins/datasette-auth-passwords) as an attacker could use the vulnerability to access protected data. Datasette 0.57 and 0.56.1 both include patches for this issue. If you run Datasette behind a proxy you can workaround this issue by rejecting any incoming requests with `?_trace=` or `&_trace=` in their query string parameters.", "severity": [ { "type": "CVSS_V3", diff --git a/advisories/github-reviewed/2021/06/GHSA-xw7c-jx9m-xh5g/GHSA-xw7c-jx9m-xh5g.json b/advisories/github-reviewed/2021/06/GHSA-xw7c-jx9m-xh5g/GHSA-xw7c-jx9m-xh5g.json index 7c3515c3553..1218763b574 100644 --- a/advisories/github-reviewed/2021/06/GHSA-xw7c-jx9m-xh5g/GHSA-xw7c-jx9m-xh5g.json +++ b/advisories/github-reviewed/2021/06/GHSA-xw7c-jx9m-xh5g/GHSA-xw7c-jx9m-xh5g.json @@ -1,10 +1,10 @@ { "schema_version": "1.4.0", "id": "GHSA-xw7c-jx9m-xh5g", - "modified": "2021-10-05T17:23:33Z", + "modified": "2024-09-16T15:03:38Z", "published": "2021-06-07T21:47:41Z", "aliases": [ - + "CVE-2021-32670" ], "summary": "Reflected cross-site scripting issue in Datasette", "details": "### Impact\n\nThe `?_trace=1` debugging feature in Datasette does not correctly escape generated HTML, resulting in a [reflected cross-site scripting](https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks) vulnerability.\n\nThis vulnerability is particularly relevant if your Datasette installation includes authenticated features using plugins such as [datasette-auth-passwords](https://datasette.io/plugins/datasette-auth-passwords) as an attacker could use the vulnerability to access protected data.\n\n### Patches\n\nDatasette 0.57 and 0.56.1 both include patches for this issue.\n\n### Workarounds\n\nIf you run Datasette behind a proxy you can workaround this issue by rejecting any incoming requests with `?_trace=` or `&_trace=` in their query string parameters.\n\n### References\n\n- [OWASP guide to reflected cross-site scripting](https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks)\n- [Datasette issue #1360](https://github.com/simonw/datasette/issues/1360)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open a discussion in [simonw/datasette](https://github.com/simonw/datasette/discussions)\n* Email us at `swillison+datasette @ gmail.com`\n", @@ -12,6 +12,10 @@ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N" + }, + { + "type": "CVSS_V4", + "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N" } ], "affected": [ @@ -40,9 +44,33 @@ "type": "WEB", "url": "https://github.com/simonw/datasette/security/advisories/GHSA-xw7c-jx9m-xh5g" }, + { + "type": "WEB", + "url": "https://github.com/simonw/datasette/issues/1360" + }, + { + "type": "WEB", + "url": "https://datasette.io/plugins/datasette-auth-passwords" + }, + { + "type": "ADVISORY", + "url": "https://github.com/advisories/GHSA-gff3-739c-gxfq" + }, + { + "type": "WEB", + "url": "https://github.com/pypa/advisory-database/tree/main/vulns/datasette/PYSEC-2021-89.yaml" + }, { "type": "PACKAGE", "url": "https://github.com/simonw/datasette" + }, + { + "type": "WEB", + "url": "https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks" + }, + { + "type": "WEB", + "url": "https://pypi.org/project/datasette" } ], "database_specific": {