chore(deps): bump github.com/golang-jwt/jwt/v4 to v4.5.2 (CVE-2025-30204) - #272
chore(deps): bump github.com/golang-jwt/jwt/v4 to v4.5.2 (CVE-2025-30204)#272shahsahil264 wants to merge 1 commit into
Conversation
Addresses CVE-2025-30204 (GHSA-mh63-6h87-95cp): ParseUnverified used strings.Split on untrusted input, allowing excessive memory allocation via a crafted Authorization header with many period characters. golang-jwt is an indirect/transitive dependency only; cincinnati-operator does not call ParseUnverified or any golang-jwt API directly. govulncheck confirms no reachable call path to the vulnerable function before or after this bump. OCPBUGS-105272 Signed-off-by: Sahil Shah <sahshah@redhat.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: shahsahil264 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@shahsahil264: This pull request references Jira Issue OCPBUGS-105272, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@shahsahil264: This pull request references Jira Issue OCPBUGS-105272, which is invalid:
Comment DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@shahsahil264: This pull request references Jira Issue OCPBUGS-105272, which is invalid:
Comment DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@shahsahil264: No Jira issue is referenced in the title of this pull request. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
Addresses CVE-2025-30204 (GHSA-mh63-6h87-95cp / GO-2025-3553) and, as a bonus, also clears GO-2024-3250 (improper error handling in
ParseWithClaims, fixed in v4.5.1) since v4.5.2 supersedes it.golang-jwt/jwt/v4is an indirect/transitive dependency of this repo.Parser.ParseUnverified(the CVE-2025-30204 vulnerable function, which usesstrings.Spliton untrusted input) is never called by cincinnati-operator's own code.Proof: govulncheck (before vs. after)
Before (v4.2.0):
After (v4.5.2):
This confirms both CVEs were never reachable from our code (the "affected"/reachable count is identical before and after), and the bump removes them from the dependency tree entirely.
Proof: build / vet / tests
This bump is pre-emptive dependency hygiene; the corresponding Jira ticket (OCPBUGS-105272) is being closed as Not-A-Bug since no reachable exploitation path exists in this component.
OCPBUGS-105272