CVE-2023-40570
Datasette 1.0
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2023-40570 is a medium-severity Exposure of Sensitive Information Due to Incompatible Policies (CWE-213) vulnerability in Datasette. Its CVSS base score is 5.3 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Software Discovery (T1518); ranked at the 47th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-0061
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 3 hardening rules · 3 OS baselines
V4.1.2V14.1.1
Likely Mitigating Controls
Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Marking hardware components with the permitted impact or classification level directly supports consistent policy enforcement, reducing the chance that sensitive data is processed on an incompatible component and thereby exposed.
Demands documented authority and policy alignment for PII processing, reducing exposure due to incompatible or absent policies.
Directly enforces purpose compatibility and policy alignment for PII processing, preventing exposure from incompatible policies.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Understanding stakeholder needs directly surfaces incompatible sensitivity expectations that produce the exposure.
Establishing risk-management policy based on organizational context is the primary mechanism for aligning divergent sensitivity rules.
Regulatory and privacy obligations often define the conflicting sensitivity views that the weakness fails to reconcile.
Periodic policy review can detect and correct stakeholder-policy mismatches before they cause exposure.
Defining and enforcing access policy is one concrete place where incompatible sensitivity decisions manifest as unauthorized disclosure.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
A.8.11 data masking removes the exposure of sensitive data content (PII fields like SSNs, credit cards) that is one strand of CWE-213, but the weakness class also covers system-information exposures (phpinfo(), DLL listings) and protocol-level exposures (Telnet env info) that masking does not reach, and masking addresses the consequence rather than the underlying developer-policy mismatch.
A.8.12's DLP tools can block exfiltration of classified sensitive information via monitored channels (email, upload, copy/paste), but CWE-213 is precisely the case where the developer's classification omits information other stakeholders consider sensitive, so the DLP tools configured to the developer's policy will not act on it; the core exposure (phpinfo-style web output, protocol-level disclosure, API responses displaying SSNs) is not reached by A.8.12's channel-blocking mechanism.
A.8.28's secure design/architecture, threat modelling, and secure coding standards can reach the Implementation and Architecture-and-Design modes of introduction (e.g., developers not tracking sensitive information flow), but the core of CWE-213 is a Policy/Requirements mismatch between stakeholders that secure coding practice does not address, and the practice-based mechanism is fallible.
A.8.29's SOURCE+RUNTIME reach can find the mechanical instances (phpinfo() calls, DLL listings, unnecessary data in responses like the JSP SSN/CC example) via code review and dynamic/penetration testing, but the core of CWE-213 is a policy/requirements mismatch between developer and other stakeholders, which testing against a requirements set only catches when those requirements explicitly encode stakeholder policies — most latent instances of the policy-mismatch class are not surfaced by the testing programme.
A.8.30's contractual requirements for secure design (b), threat model provision (c), acceptance testing (d), and evidence of security and privacy capabilities (e) can prevent some instances of CWE-213 by requiring the outsourced developer to account for all stakeholders' sensitivity views, but the prevention is indirect and depends entirely on the rigour of the contract terms and the developer's implementation, leaving a nameable remainder where stakeholder policy mismatches are not specifically addressed in the requirements or caught in acceptance testing.
A.8.8's vulnerability management surfaces disclosed instances where CWE-213 exposures appear as CVEs such as phpinfo() or Telnet environment disclosure, but most incompatible-policy exposures in custom applications are not vendor-published vulnerabilities, so it finds only a minority.
Hardening callouts derived
Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.
Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.
No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.
Ubuntu 24.04 (1 partial rule)
- V-270708 Ubuntu 24.04 LTS must be configured so that remote X connections are disabled, unless to fulfill documented and validated mission requirements. blocks CWE-213
Windows Server 2019 (1 partial rule)
- V-205757 Windows Server 2019 Debug programs: user right must only be assigned to the Administrators group. blocks CWE-213