fix(docker-ptf): update grpc-go to 1.82.1#28595
Open
auspham wants to merge 2 commits into
Open
Conversation
Update grpcurl to use the first grpc-go release that fixes GHSA-hrxh-6v49-42gf. Copilot-Session: e838b61b-d284-4649-9a41-38824c1a742a Signed-off-by: Austin (Ngoc Thang) Pham <austinpham@microsoft.com>
Collaborator
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the docker-ptf image’s grpcurl source-build to pin google.golang.org/grpc to a vulnerability-fixed version, aligning the container’s embedded Go dependencies with the remediation noted in the PR description.
Changes:
- Bump grpc-go used by grpcurl build from
v1.79.3tov1.82.1.
yijingyan2
previously approved these changes
Jul 23, 2026
Pin gnmic to the fixed grpc-go release so the docker-ptf image no longer reports GHSA-hrxh-6v49-42gf. Copilot-Session: e838b61b-d284-4649-9a41-38824c1a742a Signed-off-by: Austin (Ngoc Thang) Pham <austinpham@microsoft.com>
Collaborator
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Contributor
Author
|
/azpw retry |
Collaborator
|
Retrying failed(or canceled) jobs... |
Collaborator
|
Retrying failed(or canceled) stages in build 1172648: ✅Stage Test:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why I did it
The grpcurl and gnmic binaries in docker-ptf include google.golang.org/grpc v1.79.3, which is affected by GHSA-hrxh-6v49-42gf. The first fixed release is v1.82.1.
Work item tracking
How I did it
Updated the grpc-go version used when building grpcurl and gnmic from source from v1.79.3 to v1.82.1.
How to verify it
Build
target/docker-ptf.gz, load the generated image, and scan its language packages with Trivy:Which release branch to backport (provide reason below if selected)
No backport is requested.
Tracking issue/work item for backport/cherry-pick request (GitHub issue or Microsoft ADO): N/A
Failure type: other
Tested branch
Test result
target/docker-ptf.gzbuilt successfully. A Trivy image scan with HIGH and CRITICAL library findings enabled reported zero vulnerabilities for bothusr/local/bin/gnmicandusr/local/bin/grpcurl.Description for the changelog
Update grpcurl and gnmic to use grpc-go v1.82.1 and resolve GHSA-hrxh-6v49-42gf.
Link to config_db schema for YANG module changes
N/A
A picture of a cute animal (not mandatory but encouraged)
N/A