Cyber Resilience

CVE-2023-40570

Datasette 1.0

Published
25 August 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS Score 0.0046 38th percentile
Risk Priority 44 floored blend · peak EPSS

Summary

CVE-2023-40570 is a medium-severity Exposure of Sensitive Information Due to Incompatible Policies (CWE-213) vulnerability in Datasette Datasette. Its CVSS base score is 5.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Data from Local System (T1005); ranked at the 38th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

EU & UK References

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

T1005 Data from Local System Collection
Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.
T1039 Data from Network Shared Drive Collection
Adversaries may search network shares on computers they have compromised to find files of interest.
T1213 Data from Information Repositories Collection
Adversaries may leverage information repositories to mine valuable information.
T1530 Data from Cloud Storage Collection
Adversaries may access data from cloud storage.
T1552 Unsecured Credentials Credential Access
Adversaries may search compromised systems to find and obtain insecurely stored credentials.
T1602 Data from Configuration Repository Collection
Adversaries may collect data related to managed devices from configuration repositories.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-44121Shared CWE-213
CVE-2024-49354Shared CWE-213
CVE-2024-49827Shared CWE-213
CVE-2025-54831Shared CWE-213
CVE-2025-52603Shared CWE-213
CVE-2023-6517Shared CWE-213
CVE-2025-4976Shared CWE-213
CVE-2024-7267Shared CWE-213
CVE-2025-32791Shared CWE-213
CVE-2026-6280Shared CWE-213

Affected Assets

datasette
datasette
1.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 4 hardening rules · 4 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V4.1.2
  • V14.1.1
  • V16.2.5
  • V16.5.1

Likely Mitigating Controls AI

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.

addresses: CWE-213

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.

addresses: CWE-213

Demands documented authority and policy alignment for PII processing, reducing exposure due to incompatible or absent policies.

addresses: CWE-213

Directly enforces purpose compatibility and policy alignment for PII processing, preventing exposure from incompatible policies.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

GV.OC-02 mostly match
prevents

Understanding stakeholder needs directly surfaces incompatible sensitivity expectations that produce the exposure.

GV.PO-01 mostly match
prevents

Establishing risk-management policy based on organizational context is the primary mechanism for aligning divergent sensitivity rules.

GV.OC-03 partial match
prevents

Regulatory and privacy obligations often define the conflicting sensitivity views that the weakness fails to reconcile.

GV.PO-02 partial match
prevents

Periodic policy review can detect and correct stakeholder-policy mismatches before they cause exposure.

PR.AA-05 partial match
prevents

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) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Classification directly addresses mismatched sensitivity views by defining what must be protected.

prevents

Legal and contractual requirements often impose stricter sensitivity rules than developer policy.

prevents

PII protection explicitly reconciles developer exposure with data-subject or regulator expectations.

prevents

High-level policy can mandate consistent handling of sensitive data across stakeholder expectations.

prevents

Labelling helps communicate classification decisions and reduce policy conflicts.

mitigates

Transfer rules can enforce consistent protection when data crosses stakeholder boundaries.

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 `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Ubuntu 24.04 (1 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. prevents CWE-213
Windows Server 2019 (1 rule)
  • V-205757 Windows Server 2019 Debug programs: user right must only be assigned to the Administrators group. prevents CWE-213

References