GHSA-74hv-qjjq-h7g5: Datasette graphql Datasette-graphql Leaks Details Of The Vulnerability
LOWGHSA-74hv-qjjq-h7g5 is a LOW datasette-graphql leaks details of the vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Datasette graphql libraries in the PyPI ecosystem. The issue involves datasette-graphql leaks details of the schema of private database files. Remediation is available by upgrading affected packages to version 1.2.
GHSA-74hv-qjjq-h7g5 at a Glance
How to Fix GHSA-74hv-qjjq-h7g5
To remediate this vulnerability, upgrade all affected Datasette graphql dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install datasette-graphql>=1.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show datasette-graphql
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-74hv-qjjq-h7g5, inspect your installed packages using pip:
pip show datasette-graphql
Analyze the terminal output to locate any version of Datasette graphql in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2), your application is affected.
Note: The pip show datasette-graphql command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Datasette graphql, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-74hv-qjjq-h7g5 Affected Datasette graphql Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
datasette-graphql
|
PyPI |
< 1.2
|
1.2
|
References
Frequently Asked Questions
What is GHSA-74hv-qjjq-h7g5?
Which Datasette graphql versions are affected?
What version fixes GHSA-74hv-qjjq-h7g5?
Is datasette-graphql affected?
What CWE is associated with GHSA-74hv-qjjq-h7g5?
How can I check PyPI dependencies for GHSA-74hv-qjjq-h7g5?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-74hv-qjjq-h7g5",
"modified" : "2020-11-24T21:42:40Z",
"published" : "2020-11-24T22:59:08Z",
"aliases" : [ ],
"summary" : "datasette-graphql leaks details of the schema of private database files",
"details" : "### Impact\n\nWhen running against a Datasette instance with private databases, `datasette-graphql` would expose the schema of those database tables - but not the table contents.\n\n### Patches\n\nPatched in version 1.2.\n\n### Workarounds\n\nThis issue is only present if a Datasette instance that includes private databases and has the `datasette-graphql` plugin installed is available on the public internet. Uninstalling the `datasette-graphql` plugin or preventing public access to the instance can workaround this issue.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [datasette-graphql](https://github.com/simonw/datasette-graphql)\n* Contact [@simonw](https://twitter.com/simonw) by Twitter direct message",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "datasette-graphql"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/simonw/datasette-graphql/security/advisories/GHSA-74hv-qjjq-h7g5"
}, {
"type" : "WEB",
"url" : "https://pypi.org/project/datasette-graphql"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2020-11-24T21:42:40Z",
"nvd_published_at" : null
}
}