Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vulnerability warning CVE-2020-8911 and others related to AWS SDK #204

Closed
eli-darkly opened this issue Sep 2, 2022 · 3 comments
Closed

Comments

@eli-darkly
Copy link
Contributor

LD has opened this issue to let everyone know that we're aware of these vulnerability reports, and we will release a patch version of our Docker image to address these as soon as possible:

It's our policy to make any necessary dependency/platform updates for such issues no matter what, but we also look into the details to determine how much of an actual risk these represent, if any, to Relay Proxy installations that are currently running. Here is our analysis:

  • All of the above refer to a potential attack involving access to S3 buckets that have been encrypted via AWS SDK calls. The Relay Proxy does not use any of the AWS SDK APIs related to S3 or encryption; its use of the SDK is limited to basic DynamoDB operations. We do not see a way for these attacks to be reproduced using a Relay Proxy instance.

Addressing these warnings will require updating to the v2 AWS SDK in Relay Proxy as well as in the LaunchDarkly Go SDK's DynamoDB integration.

@eli-darkly
Copy link
Contributor Author

Update: it may take a bit longer to fix this than we had hoped, because there is an indirect reference to the older AWS SDK in the old Google Cloud (a.k.a. Stackdriver) metrics integration package... which we can't get away from until we migrate from OpenCensus to OpenTelemetry for metrics. We had planned to do the latter anyway, but it's a bigger code change.

@eli-darkly
Copy link
Contributor Author

Another update:

The OpenTelemetry work I mentioned above is still ongoing, and is probably for a 7.0.0 release rather than 6.x.

So, in order to be able to have clean security scans in 6.x, we're simply forking the problematic OpenCensus library and removing the AWS SDK v1 dependency from it (which wasn't actually being used). This change will be in a v6.7.14 patch release and should not affect any Relay Proxy functionality.

@eli-darkly
Copy link
Contributor Author

Fixed in the 6.7.14 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant