Vulnerabilities in pkg:npm/fhir-works-on-aws-authz-smart
PACKAGECVE-2022-39230 is a MODERATE (CVSS 6.5) fhir-works-on-aws-authz-smart handles permissions improperly vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Fhir works on aws authz smart libraries in the npm ecosystem. The issue involves fhir-works-on-aws-authz-smart handles permissions improperly. Remediation is available by upgrading affected packages to version 3.1.3.
pkg:npm/fhir-works-on-aws-authz-smart
Vulnerability advisories affecting package pkg:npm/fhir-works-on-aws-authz-smart. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-vv7x-7w4m-q72f | CVE-2022-39230 | MODERATE | fhir-works-on-aws-authz-smart handles permissions improperly |
CVE-2022-39230 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2022-39230
To remediate this vulnerability, upgrade all affected Fhir works on aws authz smart dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install fhir-works-on-aws-authz-smart@3.1.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls fhir-works-on-aws-authz-smart
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2022-39230, inspect your project dependencies using npm:
npm ls fhir-works-on-aws-authz-smart
Analyze the terminal output to locate any version of Fhir works on aws authz smart in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.3), your application is affected.
Note: The npm ls fhir-works-on-aws-authz-smart command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
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 Fhir works on aws authz smart, 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
CVE-2022-39230 Affected Fhir works on aws authz smart Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
fhir-works-on-aws-authz-smart
|
npm |
≥ 3.1.1
< 3.1.3
|
3.1.3
|
References
Frequently Asked Questions
What is CVE-2022-39230?
Which Fhir works on aws authz smart versions are affected?
What version fixes CVE-2022-39230?
Is fhir-works-on-aws-authz-smart affected?
What is the CVSS score of CVE-2022-39230?
What CWE is associated with CVE-2022-39230?
How can I check npm dependencies for CVE-2022-39230?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vv7x-7w4m-q72f",
"modified" : "2022-09-27T06:12:12Z",
"published" : "2022-09-21T20:36:50Z",
"aliases" : [ "CVE-2022-39230" ],
"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",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "fhir-works-on-aws-authz-smart"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.1"
}, {
"fixed" : "3.1.3"
} ]
} ]
} ],
"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"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-281" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-09-21T20:36:50Z",
"nvd_published_at" : "2022-09-23T07:15:00Z"
}
}