{"answers":{"affected":"2 open source packages ship an affected version, including datasette-graphql.","exploited":"There is no known exploitation of GHSA-74hv-qjjq-h7g5 in the wild and no public exploit code.","fix":"Upgrade datasette-graphql to 1.2 or later.","what":"GHSA-74hv-qjjq-h7g5 is a vulnerability in datasette-graphql, published on 24 Nov 2020."},"fix_prompt":"Check this codebase for GHSA-74hv-qjjq-h7g5 and fix it if it is affected.\n\nWhat it is: GHSA-74hv-qjjq-h7g5 is a vulnerability in datasette-graphql, published on 24 Nov 2020. \nExploitation: There is no known exploitation of GHSA-74hv-qjjq-h7g5 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- datasette-graphql (PyPI): affected all versions; fixed in 1.2\n- datasette-graphql (PyPI): affected all versions; fixed in 1.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-74hv-qjjq-h7g5/ (Markdown: https://insights.sbomify.com/GHSA-74hv-qjjq-h7g5/index.md)","id":"GHSA-74hv-qjjq-h7g5","markdown":"https://insights.sbomify.com/GHSA-74hv-qjjq-h7g5/index.md","name":"GHSA-74hv-qjjq-h7g5","record":{"aliases":[],"analysis":null,"analysis_generated_by":null,"assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### 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","ecosystems":["PyPI"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"datasette-graphql leaks details of the schema of private database files","id":"GHSA-74hv-qjjq-h7g5","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2020"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"PyPI","fixed":["1.2"],"introduced":["0"],"last_affected":[],"package":"datasette-graphql","purl":null,"source":"GHSA-74hv-qjjq-h7g5"},{"ecosystem":"PyPI","fixed":["1.2"],"introduced":["0"],"last_affected":[],"package":"datasette-graphql","purl":"pkg:pypi/datasette-graphql","source":"GHSA-74hv-qjjq-h7g5"}],"products":null,"published":"2020-11-24","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":null,"url":"https://insights.sbomify.com/GHSA-74hv-qjjq-h7g5/"}