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

Bumped aws/aws-sdk-php version to fix CVE-2023-51651 #1736

Closed
wants to merge 1 commit into from
Closed

Bumped aws/aws-sdk-php version to fix CVE-2023-51651 #1736

wants to merge 1 commit into from

Conversation

M1V4D1M
Copy link

@M1V4D1M M1V4D1M commented Dec 22, 2023

Our corporate security auditing mechanism found the CVE-2023-51651 issue in the aws/aws-sdk-php package, but we cannot fix it because flysystem is heavily based on version 3.220.0.

So I decide to make this pull request to fix this problem.

@frankdejonge
Copy link
Member

@mi-vadim Hi, you security auditing mechanism should really only check your dependencies that are installed. You can resolve this by either explicitly stating your own dependency or setting up a conflict in your composer.json to prevent earlier versions to be installed.

@M1V4D1M
Copy link
Author

M1V4D1M commented Dec 26, 2023

@frankdejonge I may have misspoken. We have the package - league/flysystem-aws-s3-v3, the most current version.
If you look, there is a package package https://github.com/thephpleague/flysystem/blob/3.x/src/AwsS3V3/composer.json#L15.
I can't update aws/aws-sdk-php separately, because it's a dependency for the flysystem package. Accordingly, the only possible fix I can see is for someone to update the aws/aws-sdk-php version in league/flysystem-aws-s3-v3 and then update their own version.
Of course, I may not know something, I would appreciate an explanation =)

@frankdejonge
Copy link
Member

frankdejonge commented Dec 26, 2023 via email

@M1V4D1M
Copy link
Author

M1V4D1M commented Dec 27, 2023

@frankdejonge Thank u and sorry for stupid questions ^^

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

Successfully merging this pull request may close these issues.

2 participants