fix: remediate CVE-2022-28948 - bump gopkg.in/yaml.v3 to v3.0.1#102
Open
fix: remediate CVE-2022-28948 - bump gopkg.in/yaml.v3 to v3.0.1#102
Conversation
Upgrades gopkg.in/yaml.v3 from v3.0.0-20210107192922-496545a6307b to v3.0.1 to address CVE-2022-28948 (HIGH severity) — a panic via crafted YAML input. All tests pass.
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.
Security Remediation - CVE-2022-28948
Summary
This PR bumps
gopkg.in/yaml.v3fromv3.0.0-20210107192922-496545a6307btov3.0.1to remediate a HIGH severity vulnerability.Patched CVEs
Vulnerability Details
CVE-2022-28948 / GHSA-hp87-p4gw-j4gq
A crafted YAML document can trigger a panic in
gopkg.in/yaml.v3's unmarshaling logic (CWE-502), enabling a Denial-of-Service attack. Fixed in v3.0.1.Files Changed
go.mod- bumpedgopkg.in/yaml.v3tov3.0.1go.sum- regenerated checksums viago mod tidyTest Results
All tests passed -
go test ./...ok github.com/drone-plugins/drone-buildxok github.com/drone-plugins/drone-buildx/cmd/drone-ecrok github.com/drone-plugins/drone-buildx/config/dockerUnfixed CVEs (No patch available)
None.
This PR was automatically generated by Vigil - Harness Security Remediation Agent.