Security 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.0056 45th percentile
Risk Priority 45 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). 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 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 45th 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.
T1016 System Network Configuration Discovery Discovery
Adversaries may look for details about the network configuration and settings, such as IP and/or MAC addresses, of systems they access or through information discovery of remote systems.
T1021 Remote Services Lateral Movement
Adversaries may use [Valid Accounts](https://attack.
T1021.004 SSH Lateral Movement
Adversaries may use [Valid Accounts](https://attack.
T1021.006 Windows Remote Management Lateral Movement
Adversaries may use [Valid Accounts](https://attack.
T1027.001 Binary Padding Stealth
Adversaries may use binary padding to add junk data and change the on-disk representation of malware.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-49354Shared CWE-213
CVE-2026-6280Shared CWE-213
CVE-2024-7267Shared CWE-213
CVE-2023-3441Shared CWE-213
CVE-2025-24316Shared CWE-213
CVE-2025-4976Shared CWE-213
CVE-2025-54831Shared CWE-213
CVE-2023-5117Shared CWE-213
CVE-2025-32791Shared CWE-213
CVE-2024-49827Shared 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)
  • 3 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V4.1.2
  • V14.1.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 partial match
blocks

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

GV.OC-03 partial match
blocks

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

GV.PO-01 partial match
blocks

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

GV.PO-02 partial match
blocks

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

PR.AA-05 partial match
blocks

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.

blocks

A.5.1 only requires the existence of an information security policy and topic-specific policies (including on access control); it does not itself enforce compatible policies or stop the exposure that CWE-213 names, per the owner's explicit rule that such governance clauses do not prevent weaknesses

blocks

A.5.12 only defines and communicates a classification scheme (a dependency for other controls); per the owner's explicit rule it performs no prevention itself on CWE-213, whose root cause is policy incompatibility rather than absent labels.

blocks

Labelling helps communicate classification decisions and reduce policy conflicts.

degrades

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

blocks

A.5.15 defines and communicates access control policy and requirements (including need-to-know, classification consistency, and segregation) but does not itself enforce or implement those rules; per the owner's explicit rule on policy/labeling controls, this is a dependency for other controls (e.g. A.8.3) rather than prevention of the incompatible-policies exposure.

degrades

Rights assignment can be aligned with the strictest applicable stakeholder policy.

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

References