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

Fix buffer usage due to security issues #22

Merged
merged 1 commit into from
Dec 3, 2021

Conversation

khagesh
Copy link
Contributor

@khagesh khagesh commented Aug 30, 2021

PR checklist

  • An issue/feature request has been created for this PR
  • Pull Request title clearly describes the work in the pull request and the Pull Request description provides details about how to validate the work. Missing information here may result in a delayed response.
  • File the PR against the master branch
  • The code in this PR is covered by unit tests

Link to issue/feature request: add the link here

Description

Although I don't have exact payload to show the security impact. But since this param may come from user and not all necessary validations can be performed. I believe that we should fix usage of Buffer. Here, nodejs/node#19079 we can find bit more detailed context on why this PR is raised.

I ran tests and after bit of setting up environment struggle, I managed to pass tests that ran. However, it would be a good idea if someone from dev team can run the tests and check if everything passes.

@jaaufauvre jaaufauvre added the safe The PR has been reviewed by Mastercard and has been validated to be safe label Dec 3, 2021
@jaaufauvre jaaufauvre merged commit 3854e7c into Mastercard:main Dec 3, 2021
@jaaufauvre
Copy link
Member

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe The PR has been reviewed by Mastercard and has been validated to be safe
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants