{"id":"CVE-2023-40570","published":"2023-08-25T00:18:09Z","modified":"2024-10-02T17:46:58Z","title":"Datasette 1.0 alpha series leaks names of databases and tables to unauthenticated users","vendor":"simonw","product":"datasette","tier":"tail","description":{"text":"Datasette is an open source multi-tool for exploring and publishing data. This bug affects Datasette instances running a Datasette 1.0 alpha - 1.0a0, 1.0a1, 1.0a2 or 1.0a3 - in an online accessible location but with authentication enabled using a plugin such as datasette-auth-passwords. The `/-/api` API explorer endpoint could reveal the names of both databases and tables - but not their contents - to an unauthenticated user. Datasette 1.0a4 has a fix for this issue. This will block access to the API explorer but will still allow access to the Datasette read or write JSON APIs, as those use different URL patterns within the Datasette `/database` hierarchy. This issue is patched in version 1.0a4.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00555,"percentile":0.47194,"provenance":"source"},"cwes":[{"id":"CWE-213","name":"Exposure of Sensitive Information Due to Incompatible Policies"}],"references":[{"url":"https://github.com/simonw/datasette/security/advisories/GHSA-7ch3-7pp7-7cpq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/simonw/datasette/commit/01e0558825b8f7ec17d3b691aa072daf122fcc74","tags":["x_refsource_MISC"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":9.44},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"simonw","affectedVersions":[{"vendor":"simonw","product":"datasette","versions":[">= 1.0a0, < 1.0a4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-10-02T17:46:44.653326Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"datasette","vulnerableRanges":[">=1.0a0, <1.0a4","all versions"],"patched":["1.0a4"],"from":["GHSA-7ch3-7pp7-7cpq","PYSEC-2023-154"],"provenance":"source"}],"summary":{"text":"The flaw is an information exposure issue in Datasette, the open source data exploration and publishing tool, specifically in its /-/api API explorer endpoint within the Datasette 1.0 alpha series. An attacker can reach the endpoint over the network without authenticating, against an internet-accessible instance that has authentication enabled through a plugin such as datasette-auth-passwords, and can learn the names of databases and tables (though not their contents).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:35Z"},"euvd":{"id":"EUVD-2023-0061","exploited":false,"provenance":"source"}}