camunda / camunda-platform-helm

Camunda Platform 8 Self-Managed Helm charts
https://docs.camunda.io/docs/self-managed/overview/
Apache License 2.0
74 stars 138 forks source link

[ISSUE] Vulnerability GO-2022-0646 in AWS SDK Go #1371

Open drodriguez-305 opened 9 months ago

drodriguez-305 commented 9 months ago

Describe the issue: We have identified a security vulnerability, referenced as GO-2022-0646, in our project that uses the AWS SDK for Go. This vulnerability arises from using the V1 EncryptionClient, specifically with AES-CBC content cipher or the KMS key wrap algorithm. An attacker with write access to an S3 bucket could potentially decrypt files in that bucket.

It can only be triggered, though, if a particular, deprecated function is called. We would need to confirm this.

How to reproduce: https://github.com/camunda/camunda-platform-helm/blob/18d18939c7243ba95f34333a818f887eb10fa5af/go.mod#L15

Possible Solutions/Workarounds:

Useful Links:

Environment:

Please note: Without the following info, it's hard to resolve the issue and probably it will be closed.

drodriguez-305 commented 8 months ago

@aabouzaid

Can we remove this dependency as it is indirect?

aabouzaid commented 8 months ago

@drodriguez-305 We cannot remove them since they are needed by the module we use github.com/gruntwork-io/terratest. I've checked the latest version and of terratest and I see that it uses the vulnerable version.

So let's ignore them as described in the remediation section using osv-scanner.toml.