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(cmd-api-server): fix CVE-2023-36665 protobufjs try 2 #2789

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

petermetz
Copy link
Member

  1. Upgraded fabric-network from 2.2.10 to 2.2.18 wherever it was still 2.2.10
  2. Upgraded ipfs-http-client project-wide from 51.0.1 to 60.0.1
  3. Upgraded @google-cloud/secret-manager from 3.9.0 to 5.0.1

This is the second try at fixing this issue. For some reason the first
PR didn't get it done. The most likely reason is that other commits
in the meantime added back the vulnerable versions of the packages, but
I'm not a 100% sure.

[skip ci]

Fixes #2682

Signed-off-by: Peter Somogyvari peter.somogyvari@accenture.com

Pull Request Requirements
[x] Rebased onto upstream/main branch and squashed into single commit to help maintainers review it more efficient and to avoid spaghetti git commit graphs that obfuscate which commit did exactly what change, when and, why.
[x] Have git sign off at the end of commit message to avoid being marked red. You can add -s flag when using git commit command. You may refer to this link for more information.
[x] Follow the Commit Linting specification. You may refer to this link for more information.

Character Limit
[x] Pull Request Title and Commit Subject must not exceed 72 characters (including spaces and special characters).
[x] Commit Message per line must not exceed 80 characters (including spaces and special characters).

A Must Read for Beginners
For rebasing and squashing, here's a must read guide for beginners.

@sandeepnRES
Copy link
Member

@petermetz some conflicts here too, please resolve it in order to merge it. Thanks.

@petermetz
Copy link
Member Author

@petermetz some conflicts here too, please resolve it in order to merge it. Thanks.

@sandeepnRES Yes sir!

1. Upgraded fabric-network from 2.2.10 to 2.2.18 wherever it was still 2.2.10
2. Upgraded ipfs-http-client project-wide from 51.0.1 to 60.0.1
3. Upgraded @google-cloud/secret-manager from 3.9.0 to 5.0.1

This is the second try at fixing this issue. While it was in review
other commits already snuck back in more older versions of the vulnerable
dependency so before merging this I also add a resolution in the root
package.json file to ensure that the vulnerable version is not used
at all regardless of it being a dependency of a dependency.

[skip ci]

Fixes hyperledger#2682

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
@petermetz petermetz merged commit 4e8b553 into hyperledger:main Oct 18, 2023
6 of 7 checks passed
@petermetz petermetz deleted the petermetz/issue2682 branch October 18, 2023 06:36
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.

fix(cmd-api-server): fix CVE-2023-36665 protobufjs Prototype Pollution vuln.
3 participants