https GET api.github.com None /advisories?cve_id=CVE-2023-38503 {'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'} None 200 [('Server', 'GitHub.com'), ('Date', 'Sat, 29 Jul 2023 02:25:17 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Transfer-Encoding', 'chunked'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"6b48ee9bb449156fad1cafe6ee6806aef190819b67c61901b0c8d17760bf2653"'), ('Last-Modified', 'Wed, 26 Jul 2023 17:50:01 GMT'), ('X-OAuth-Scopes', 'gist, read:org, repo'), ('X-Accepted-OAuth-Scopes', ''), ('github-authentication-token-expiration', '2023-08-25 20:47:49 UTC'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4990'), ('X-RateLimit-Reset', '1690600508'), ('X-RateLimit-Used', '10'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('X-GitHub-Request-Id', 'ADE0:039E:16DBA0F:2E5C19D:64C4788D')] [{"ghsa_id":"GHSA-gggm-66rh-pp98","cve_id":"CVE-2023-38503","url":"https://api.github.com/advisories/GHSA-gggm-66rh-pp98","html_url":"https://github.com/advisories/GHSA-gggm-66rh-pp98","summary":"Incorrect Permission Checking for GraphQL Subscriptions","description":"### Summary\n\nCWE-200: Exposure of Sensitive Information to an Unauthorized Actor\nAccess to information you should not have access to when the permissions rely on `$CURRENT_USER` for filtering.\n\n### Details\n\nThe permission filters (i.e. `user_created IS $CURRENT_USER`) are not properly checked when using GraphQL subscription resulting in unauthorized users getting event on their subscription which they should not be receiving according to the permissions.\nThis can be any collection but out-of-the box the `directus_users` collection is configured with such a permissions filter allowing you to get updates for other users when changes happen.\n\nAn example:\n```graphql\nsubscription {\n directus_users_mutated {\n event\n data {\n id\n last_access\n last_page\n }\n }\n}\n```\n\n### Patches\nhttps://github.com/directus/directus/pull/19155\n\n### Workarounds\nDisable GraphQL Subscriptions\n\n### References\n\n","type":"reviewed","severity":"medium","repository_advisory_url":"https://api.github.com/repos/directus/directus/security-advisories/GHSA-gggm-66rh-pp98","source_code_location":"https://github.com/directus/directus","identifiers":[{"value":"GHSA-gggm-66rh-pp98","type":"GHSA"},{"value":"CVE-2023-38503","type":"CVE"}],"references":["https://github.com/directus/directus/security/advisories/GHSA-gggm-66rh-pp98","https://github.com/directus/directus/pull/19155","https://nvd.nist.gov/vuln/detail/CVE-2023-38503","https://github.com/advisories/GHSA-gggm-66rh-pp98"],"published_at":"2023-07-25T23:31:10Z","updated_at":"2023-07-26T17:50:01Z","github_reviewed_at":"2023-07-25T23:31:10Z","nvd_published_at":null,"withdrawn_at":null,"vulnerabilities":[{"package":{"ecosystem":"npm","name":"directus"},"vulnerable_version_range":">= 10.3, < 10.5.0","first_patched_version":"10.5.0","vulnerable_functions":[]}],"cvss":{"vector_string":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5.7},"cwes":[{"cwe_id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"credits":[{"user":{"login":"madc","id":343392,"node_id":"MDQ6VXNlcjM0MzM5Mg==","avatar_url":"https://avatars.githubusercontent.com/u/343392?v=4","gravatar_id":"","url":"https://api.github.com/users/madc","html_url":"https://github.com/madc","followers_url":"https://api.github.com/users/madc/followers","following_url":"https://api.github.com/users/madc/following{/other_user}","gists_url":"https://api.github.com/users/madc/gists{/gist_id}","starred_url":"https://api.github.com/users/madc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madc/subscriptions","organizations_url":"https://api.github.com/users/madc/orgs","repos_url":"https://api.github.com/users/madc/repos","events_url":"https://api.github.com/users/madc/events{/privacy}","received_events_url":"https://api.github.com/users/madc/received_events","type":"User","site_admin":false},"type":"reporter"}]}]