Workspace boundary bypass via symbolic link in the shell command tool in Language Servers for AWS
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| AWSlanguage-servers |
< 1.81.0→ 1.81.0 |
1.81.0 |
| AWSaws/lsp-codewhisperer |
≥ 0.0.33, < 0.0.130→ 0.0.130 |
0.0.130 |
Original description The description as published by the source.
Improper link resolution in the workspace boundary check of the shell command tool in Language Servers for AWS before 1.81.0 might allow context-dependent threat actors to read files outside the workspace without the expected approval prompt via a crafted symbolic link in a workspace opened by a local user.
This issue was fixed in Language Servers for AWS 1.81.0 (npm @aws/lsp-codewhisperer 0.0.130). To remediate this issue, users should upgrade to Language Servers for AWS 1.81.0 or later (npm @aws/lsp-codewhisperer 0.0.130 or later). Amazon Q Developer IDE plugin users should restart their IDE to receive the latest language server and keep the plugin up to date.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- advisory aws.amazon.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch npmjs.com