Repository navigation
chore(deps): patch SAML and stdlib CVEs - #828
Merged
Merged
Conversation
crewjam/saml v0.5.1 lets a signed assertion spoof the <NameID> that JIT provisioning keys on; Go 1.26.6 ships 13 reachable stdlib CVEs.
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.
go.mod: addtoolchain go1.26.10, and keepgo 1.26.6. CI andrelease.yamlread the version fromgo.mod, andsetup-goreads thetoolchaindirective first, so the build now uses a patched compiler. Do not change thegodirective instead: that sets the language version, which changes how golangci-lint formats the code and makes the lint job fail.crewjam/samlv0.5.1 to v0.6.2: v0.5.1 tags the SAMLSubject.NameIDfield asxml:"NameID", which matches a<NameID>element in ANY namespace. A signed assertion can therefore carry a foreign-namespace<NameID>and set a different subject, andsaml_sp.gouses that subject as the key for SAML JIT provisioning. Version 0.5.2 qualifies the tag with the SAML assertion namespace and closes this.NameIDdefect above. The second defect is a nil-pointer dereference ofassertion.IssuerinvalidateAssertion, which is still present in v0.6.2. It needs an assertion that passes signature validation first, so it needs a hostile or faulty identity provider, andgin.Recovery()makes it a 500 response and not a crash.klauspost/compressv1.18.7 to v1.20.3 removes a panic on two-block frames, which the MongoDB driver can reach..github/dependabot.ymlis new: weekly updates for Go modules, GitHub actions, the two npm applications, and the Docker base images. Database drivers are a separate group, because CI runs SQLite only, so runmake test-all-dbbefore you merge that group. Dependabot alerts were disabled for this repository and are now on.