PYSEC-2021-89

Vulnerability from pysec - Published: 2021-06-07 22:15 - Updated: 2021-06-09 05:01
VLAI?
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 vulnerability. This vulnerability is particularly relevant if your Datasette installation includes authenticated features using plugins such as 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.

Impacted products
Name purl
datasette pkg:pypi/datasette

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "datasette",
        "purl": "pkg:pypi/datasette"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.56.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.10",
        "0.11",
        "0.12",
        "0.13",
        "0.14",
        "0.15",
        "0.16",
        "0.17",
        "0.18",
        "0.19",
        "0.20",
        "0.21",
        "0.22",
        "0.22.1",
        "0.23",
        "0.23.1",
        "0.23.2",
        "0.24",
        "0.25",
        "0.25.1",
        "0.25.2",
        "0.26",
        "0.26.1",
        "0.26.2",
        "0.27",
        "0.27.1",
        "0.28",
        "0.29",
        "0.29.1",
        "0.29.2",
        "0.29.3",
        "0.30",
        "0.30.1",
        "0.30.2",
        "0.31",
        "0.31.1",
        "0.31.2",
        "0.32",
        "0.33",
        "0.34",
        "0.35",
        "0.36",
        "0.37",
        "0.37.1",
        "0.38",
        "0.39",
        "0.40",
        "0.41",
        "0.42",
        "0.43",
        "0.44",
        "0.45",
        "0.45a0",
        "0.45a1",
        "0.45a2",
        "0.45a3",
        "0.45a4",
        "0.45a5",
        "0.46",
        "0.47",
        "0.47.1",
        "0.47.2",
        "0.47.3",
        "0.48",
        "0.49",
        "0.49.1",
        "0.49a0",
        "0.49a1",
        "0.50",
        "0.50.1",
        "0.50.2",
        "0.50a0",
        "0.50a1",
        "0.51",
        "0.51.1",
        "0.51a0",
        "0.51a1",
        "0.51a2",
        "0.52",
        "0.52.1",
        "0.52.2",
        "0.52.3",
        "0.52.4",
        "0.52.5",
        "0.53",
        "0.54",
        "0.54.1",
        "0.54a0",
        "0.55",
        "0.56",
        "0.8",
        "0.9"
      ]
    }
  ],
  "aliases": [
    "CVE-2021-32670",
    "GHSA-xw7c-jx9m-xh5g",
    "GHSA-gff3-739c-gxfq"
  ],
  "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 `\u0026_trace=` in their query string parameters.",
  "id": "PYSEC-2021-89",
  "modified": "2021-06-09T05:01:28.246179Z",
  "published": "2021-06-07T22:15:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/datasette/"
    },
    {
      "type": "WEB",
      "url": "https://datasette.io/plugins/datasette-auth-passwords"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/simonw/datasette/security/advisories/GHSA-xw7c-jx9m-xh5g"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/simonw/datasette/issues/1360"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-gff3-739c-gxfq"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…