{"id":"GHSA-vv7x-7w4m-q72f","summary":"fhir-works-on-aws-authz-smart handles permissions improperly","details":"### Impact\n\nThis issue allows a client of the API to retrieve more information than the client’s OAuth scope permits when making “search-type” requests. This issue would not allow a client to retrieve information about individuals other than those the client was already authorized to access.\n\n### Patches\n\nWe recommend that users of fhir-works-on-aws-authz-smart 3.1.1 or 3.1.2 upgrade to version 3.1.3 or higher immediately. Versions 3.1.0 and below are unaffected.\n\n### Workarounds\n\nThere is no workaround for this issue. Please upgrade fhir-works-on-aws-authz-smart to version 3.1.3 or higher.\n\n### References\n\nhttps://github.com/awslabs/fhir-works-on-aws-deployment\nhttps://github.com/awslabs/fhir-works-on-aws-authz-smart\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\nEmail us at [fhir-works-on-aws-dev@amazon.com](mailto:fhir-works-on-aws-dev@amazon.com)\n","aliases":["CVE-2022-39230"],"modified":"2023-11-08T04:10:15.897617Z","published":"2022-09-21T20:36:50Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-09-21T20:36:50Z","nvd_published_at":"2022-09-23T07:15:00Z","cwe_ids":["CWE-200","CWE-281"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/awslabs/fhir-works-on-aws-authz-smart/security/advisories/GHSA-vv7x-7w4m-q72f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39230"},{"type":"WEB","url":"https://github.com/awslabs/fhir-works-on-aws-authz-smart/commit/203bbc0dd17de748c36b33c68b866ed2dfd613d3"},{"type":"PACKAGE","url":"https://github.com/awslabs/fhir-works-on-aws-authz-smart"}],"affected":[{"package":{"name":"fhir-works-on-aws-authz-smart","ecosystem":"npm","purl":"pkg:npm/fhir-works-on-aws-authz-smart"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.1.1"},{"fixed":"3.1.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-vv7x-7w4m-q72f/GHSA-vv7x-7w4m-q72f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}