CVE-2021-32670
CVSS V2 Medium 4.3
CVSS V3 Medium 6.1
Description
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.
Overview
- CVE ID
- CVE-2021-32670
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-06-07T22:15:07
- Last Modified Date
- 2021-06-14T16:28:37
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:datasette:datasette:*:*:*:*:*:*:*:* | 1 | OR | 0.56.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 6.1
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 2.7
References
Reference URL | Reference Tags |
---|---|
https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks | Third Party Advisory |
https://pypi.org/project/datasette/ | Release Notes Third Party Advisory |
https://datasette.io/plugins/datasette-auth-passwords | Vendor Advisory |
https://github.com/simonw/datasette/security/advisories/GHSA-xw7c-jx9m-xh5g | Third Party Advisory |
https://github.com/simonw/datasette/issues/1360 | Issue Tracking Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-32670 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32670 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:11:48 | Added to TrackCVE | |||
2022-12-05 03:41:27 | 2021-06-07T22:15Z | 2021-06-07T22:15:07 | CVE Published Date | updated |
2022-12-05 03:41:27 | 2021-06-14T16:28:37 | CVE Modified Date | updated | |
2022-12-05 03:41:27 | Analyzed | Vulnerability Status | updated |