Repository navigation
EDM-6483: Collective CVE remediation (November 2026) - #893
amir-yogev-gh merged 1 commit into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review: 1
Please check the settings in the CodeRabbit UI or the
|
| Check name | Status | Explanation | Resolution |
|---|---|---|---|
| Container-Privileges | Summary: The check cannot be settled. The local checkout holds the PR as one root commit (ba567d6, no parent). It contains the whole repository tree, so the PR's own changes cannot be separated from e… | 1. Supply the PR base commit (the release-1.4 tip before commit f757a354 / the PR head) so the patch can be diffed. The local HEAD is a single root commit with no parent. 2. Re-run this check on the diff limited to packaging/, apps/ocp-plug… | |
| No-Sensitive-Data-In-Logs | Summary: I could not isolate the PR's changes, so I cannot confirm that the PR adds no sensitive logging. - Diff unavailable: The checkout has one root commit (ba567d6, "EDM-6483: Collective… |
To complete this check: 1. Fetch the release-1.4 base into the checkout, or supply the PR patch against release-1.4. 2. Re-run the diff from merge-base(release-1.4, cve-fix/EDM-6483-release-1.4) to the PR head. 3. Inspect added or mod… |
|
| Resource-Leaks | Summary: I could not establish which Go files this PR changed, so I cannot evaluate the resource-leaks check against the PR's changes. Evidence gathered: - The primary PR is flightctl/flightct… | To finish this check, make the PR diff available and re-run it: 1. Fetch the release-1.4 base and PR head with full history (for example git fetch --unshallow origin release-1.4 cve-fix/EDM-6483-release-1.4). 2. Run `git diff --name-onl… |
|
| Generated-Files-Not-Hand-Edited | Summary: The check cannot be decided. The PR diff against its base branch (release-1.4) cannot be established in this sandbox. Evidence gathered: - The checked-out HEAD is ba567d6, titled "EDM-6483: C… | Obtain the true PR base and patch. Fetch origin/release-1.4 (or the merge base of PR #893 at commit f757a354) and run: git diff ...f757a354 -- libs/types/models libs/types/alpha/models libs/types/imagebuilder/models libs/i18n/locales/… |

Passed checks: 6 passed
-
Full details: No-Hardcoded-Secrets
-
Explanation
Summary: No hardcoded secrets found in the PR commit (
ba567d6, branchcve-fix/EDM-6483-release-1.4). The check does not apply a failure condition to these hits. Scope and method: - Primary PR: flightctl/flightctl-ui#893, authoramir-yogev-gh(verified via the provider record). - The commitba567d6is a root commit with no parent.git show --statlists 1159 files as inserted. The base diff is therefore unavailable. I did not treat the whole tree as PR-introduced. I scanned the whole committed tree and checked the files the PR describes:package.json,vitest.config.ts,tsconfig.json,packaging/images/el{9,10}/Containerfile, andproxy/go.modandproxy/go.sum. Checks performed: - Credential-named assignments (api_key,secret,token,password,private_key) with string literals, excluding lockfiles, test specs, and Cypress code. Hits were only i18n label strings (libs/i18n/locales/en/translation.json) and enum values (TokenRequest.ts,deviceSpec.ts). - Known credential formats (AWSAKIA…, GitHubghp_/github_pat_, Slackxox…, Stripesk_live_, JWTeyJhbGciOi…, PEM private-key headers). No matches. - URLs with embeddeduser:pass@credentials. No matches. - Base64-like literals of 40+ characters in JSON, YAML, TOML, env, INI and Containerfile files. Hits were only 40-character commit SHA pins in GitHub workflowuses:lines and long package names inapps/ocp-plugin/package.json. Commit SHAs are not secrets. - Secret-related keywords in the PR-described config files. Only"private": trueinpackage.json. - Goproxy/string literals assigned to secret-named variables. No matches. Non-blocking observations: -libs/ui-components/src/components/Repository/CreateRepository/utils.ociPatches.test.ts(lines 395, 401) andlibs/ui-components/src/components/AuthProvider/CreateAuthProvider/patches.test.ts(line 12) assign placeholder values such aspassword: '***REDACTED_SECRET_ASSIGNMENT***',password: '***REDACTED_SECRET_ASSIGNMENT***'andclientSecret: '***REDACTED_SECRET_ASSIGNMENT***'. These are unit-test fixtures, not live credentials. They do not match the failure condition as real hardcoded secrets. Limitation: The base revision is not available, so the scan covers the full committed tree rather than a PR-only diff. The result is still PASS, because no secret was found in the tree.
Full details: No-Weak-Crypto
-
Explanation
Summary: No flagged weak cryptography, custom crypto, or non-constant-time secret comparison was found in the PR head tree. The check passes. Evidence and limits: - The local checkout holds only one commit,
ba567d6(EDM-6483). Therelease-1.4base is not available, so a base-to-head diff could not be built. The check does not define FAIL for a missing diff. Because the tree has no matches, the verdict holds even if the whole tree were treated as introduced by this PR. - A search ofapps,proxy, andlibs(excludingnode_modules) for MD5, SHA-1, DES, 3DES, RC4, Blowfish, ECB,createHash,createCipher,CryptoJS,node-forge,timingSafe, andConstantTimeComparereturned no matches. - Go crypto imports inproxy/arecrypto/tls,crypto/x509,crypto/rand, andcrypto/sha256.crypto/sha256is used for PKCE code challenges.crypto/randgenerates state and verifier values (proxy/auth/common.go,generateStateandgenerateCodeVerifier). - OAuth state validation does not compare a secret with==or!=. The state is embedded in the cookie name (stateCookiePrefix + state), so no direct string comparison of secrets was found. The only==on a state-like value in non-test Go code is an empty-string check (state == ""). - The PR description lists only dependency bumps, scoped npm overrides, TypeScript type-cast cleanups, and Go module updates. None of these changes adds or alters cipher, hash, or comparison code. I found no custom cryptographic code. Residual risk (not a failure): The search covered named algorithms and common library calls. It did not cover every possible inline comparison in TypeScript. Transitive dependencies changed by the bumps are outside the scope of this check.
Full details: No-Injection-Vectors
-
Explanation
Summary: No injection vector matching the check criteria was found. The check passes. Evidence basis: The repository holds one root commit,
ba567d6("EDM-6483: Collective CVE remediation"), with no parent. A base-to-PR diff is therefore unavailable. The result does not rely on a diff. It relies on a scan of the full tree atba567d6. The PR's changed code is part of that tree, so an absent sink in the tree proves the PR does not add one. Scan results: -dangerouslySetInnerHTML,.innerHTML =, andinsertAdjacentHTML: no matches. -eval(,new Function(, string-argumentsetTimeout/setInterval, andchild_process: no matches in JS/TS. - Goexec.Command,os/exec,syscall.Exec, andos.StartProcessunderproxy/: no matches. - Pythonos.system,yaml.load(,subprocess., andeval(: no matches. The tree has no Python source files that match. -exec(hits areRegExp.execcalls, not code execution. They appear inlibs/types/scripts/fix-device-system-info.js:34,libs/ui-components/src/utils/deviceLogCommandHandler.ts:100, andlibs/ui-components/src/utils/devices.ts:9. -yaml.load(hits are JavaScriptjs-yamlcalls, not Pythonyaml.load. The rootpackage.jsonpinsjs-yamlto4.3.2. In js-yaml v4,loaduses the safe default schema and does not execute code. The check'sSafeLoaderrule applies to Python, so these calls do not match it. PR-described changes: The PR updates dependencies, adds npm overrides forminimatch(package.json:61-72), updatesgolang.org/x/*modules inproxy/go.mod:50-54, and changes TypeScript type casts. None of these adds a sink from the criteria. The scan covers these files too. Limitation: The scan covers the static patterns named in the check. It does not check data-flow from untrusted input into sinks. It also does not check thejs-yamlversion history. No sink from the named list is present in the tree atba567d6, so the check passes.
Full details: Unchecked-Errors
-
Explanation
Summary: The check does not apply to this PR's changes. It covers Go error handling in
proxy/, and this PR changes no Go source files there. Evidence: - The local checkout is a single shallow commit (ba567d6), so I fetchedorigin/release-1.4(FETCH_HEAD7f8573b) and diffed the PR head against that base. -git diff --name-status FETCH_HEAD HEAD -- proxy/lists only two files:proxy/go.mod(M) andproxy/go.sum(M). The diff stat is 15 insertions and 15 deletions across these two files. - Thegolang.org/x/{crypto,net,sys,text}version bumps are ingo.mod. This matches the PR description, which lists Go module updates as the onlyproxy/change. - No.gofile changed, so no error return was added, removed, or altered by this PR. Pre-existing blank-identifier discards: A repository-wide search found existing_ =and, _ :=discards inproxy/bridge/terminal.go,proxy/bridge/handler.go,proxy/bridge/app_terminal.go, andproxy/auth/auth.goandredirect.go. Some have no justifying comment. These lines are unchanged by the PR. Under the decision contract, pre-existing behavior that the PR does not activate or worsen cannot cause a FAIL. They are out of scope for this verdict. Verdict: PASS. No changed Go code inproxy/introduces an unjustified blank-identifier discard or a swallowed error.
Full details: Ai-Attribution
-
Explanation
The ai-attribution check applies only when AI tools were used, as mentioned in the PR or its commits. Neither source mentions AI tool use. - PR description (PR
#893, flightctl/flightctl-ui): No mention of an AI tool. It has no Assisted-by, Generated-by, Made-with, or Co-Authored-By text. - Checkout (HEAD ba567d6): The commit message reads "EDM-6483: Collective CVE remediation (November 2026)". It has no trailers. Author is Amir Yogev. A search of the branch range (release-1.4..HEAD) for AI tool names and attribution trailers found no matches. - Candidate commit f757a354, named in the PR description, is not in the checkout. Its message was not inspected. Because no AI tool use is mentioned, the attribution requirement does not apply. No Co-Authored-By line naming an AI tool was found. The result is limited to the visible commit and the PR description. If f757a354 or other PR commits name an AI tool, this verdict would change.
Full details: I18n-Compliance
-
Explanation
Summary: No i18n-compliance failure condition is introduced by this PR's
.tsxchanges. Scope and method. The local checkout holds a single root commit (ba567d6) with no parent. I fetched the provider-reported baserelease-1.4(7f8573b) and diffed it againstHEAD, restricted to*.tsx. The diff lists 10 modified.tsxfiles and no added or deleted ones. Evidence from the diff. Every hunk is a type-cast cleanup or a small type-only edit: -AppContext.tsx(ocp-plugin): removes a@ts-expect-errorcomment. -CatalogItemDetails.tsx:displayNamenow falls back to''instead of a cast. This adds no user-visible literal text. -DeviceToolbarFilters.tsx,EnrollmentRequestList.tsx,CreateResourceSyncsForm.tsx,ResourceSyncImportStatus.tsx,EntitySecurityOverviewCard.tsx,ActionsDropdownList.tsx,YamlEditor.tsx,UploadField.tsx: removesascasts only. Checks against the criteria. - No added JSX text, attribute label, or string literal with alphabetic words is left outsidet(). - Not()call is added or changed. Not()call uses a variable key. - The one string touched inUploadField.tsx(t('Content loaded from: {{ filename }}', ...)) already usest()and is unchanged. Limits. The PR head commitf757a354is not in the local repository. The checkedHEAD(ba567d6) has the PR title and author, so I reviewed it as the PR state. Unchanged.tsxfiles were not in scope because the PR does not touch them.
-
Full details: Container-Privileges
-
Explanation
Summary: The check cannot be settled. The local checkout holds the PR as one root commit (ba567d6, no parent). It contains the whole repository tree, so the PR's own changes cannot be separated from existing files. Evidence gathered: - The PR description lists dependency updates, npm overrides, TypeScript cast cleanups, and Go module updates in proxy/. It does not list any change to Containerfiles, Dockerfiles, or Kubernetes/OpenShift manifests. Containerfiles appear only as verification scope. - Searches for privileged, hostPID, hostNetwork, hostIPC, SYS_ADMIN, allowPrivilegeEscalation, runAsUser, runAsNonRoot, and securityContext in packaging/, apps/ocp-plugin/, and .github/ found no matches for the privilege keys. - The apps/ocp-plugin/*.yaml files define an OAuthClient template and service-account token Secrets. They contain none of the flagged privilege fields. - Containerfiles contain root user directives: packaging/images/el9/Containerfile (lines 2 and 18), plus the matching .ocp and el10 files (USER root / USER 0). The proxy-build stage uses root for dnf installroot work. The final ubi-micro stage sets no USER directive. This matches "running as root without justification" in form. The tree does not show whether the PR added or changed these lines, so PR causality is not established. Why not PASS: Missing diff evidence cannot establish PASS. The PR-introduced lines in packaging/ and manifests are not verifiable here. Why not FAIL: No PR-introduced privileged setting is shown. The root directives are pre-existing in the tree, and nothing shows the PR activates or worsens them. Tone note: Thorough and direct. Security impact of the root directives, if the PR is shown to introduce them: the final image would run as UID 0 inside the container, which raises the blast radius of a proxy compromise.
Resolution
- Supply the PR base commit (the release-1.4 tip before commit f757a354 / the PR head) so the patch can be diffed. The local HEAD is a single root commit with no parent. 2. Re-run this check on the diff limited to packaging/, apps/ocp-plugin/, .github/, and any .yaml/.yml manifests. 3. If the PR does not touch those paths, the check PASSes on the PR-scoped diff. 4. If the PR does touch Containerfiles, confirm the final-stage user. Either add a non-root USER directive, or record the justification for root in the Containerfile.
Full details: No-Sensitive-Data-In-Logs
-
Explanation
Summary: I could not isolate the PR's changes, so I cannot confirm that the PR adds no sensitive logging. - Diff unavailable: The checkout has one root commit (
ba567d6, "EDM-6483: Collective CVE remediation (November 2026)") with no parent. Therelease-1.4base is not present, so the merge-base is empty. Every file appears as added, and the tree cannot be separated into PR changes and pre-existing code. - Described scope: The PR description covers dependency updates (React Router, i18next-http-backend, Vitest, npm overrides), TypeScript type-cast cleanups, and Go module updates inproxy/. None of these describe a logging change. - Log-pattern search (current tree): A search ofappsandlibsforconsole.*calls that include token, password, secret, API key, session, email, or credential names returned no hits. A search ofproxy/*.goreturned three log calls, all in the terminal/app-console code:log.Infofinproxy/bridge/terminal.go(lines 269 and 345) andproxy/bridge/app_terminal.go(line 132). They log device IDs, app names, and session labels. I did not read the surrounding code, so I cannot say whethersessionLabelis a session identifier. These lines are in the current tree, and I could not show that the PR changed them. - Check criteria: The check fails only on logging that may expose sensitive data. It does not require FAIL when the diff is missing. Missing evidence cannot establish PASS. Limits: Linked-repository inspection was unavailable, so I could not compare against therelease-1.4base.Resolution
To complete this check: 1. Fetch the
release-1.4base into the checkout, or supply the PR patch againstrelease-1.4. 2. Re-run the diff frommerge-base(release-1.4, cve-fix/EDM-6483-release-1.4)to the PR head. 3. Inspect added or modified log statements in that diff, includingconsole.*inapps/andlibs/andlog.*calls inproxy/. 4. Confirm thatsessionLabelinproxy/bridge/terminal.godoes not carry a session ID or other sensitive value, if it is in the PR diff.
Full details: Resource-Leaks
-
Explanation
Summary: I could not establish which Go files this PR changed, so I cannot evaluate the resource-leaks check against the PR's changes. Evidence gathered: - The primary PR is flightctl/flightctl-ui
#893, baserelease-1.4, headcve-fix/EDM-6483-release-1.4, authoramir-yogev-gh. - The local checkout is shallow. Its HEAD (ba567d6, the PR commit) is a root commit with no parent. Every file therefore appears as added, sogit showcannot separate changed files from unchanged ones. - Therelease-1.4base is not present locally.origin/main(bc65fb2) is a different commit and is not the PR base. - Under those conditions,git diff origin/release-1.4...HEADandgit diff HEAD~1 HEADboth fail. - The PR description says the Go changes are module updates inproxy/(golang.org/x/{crypto,net,sys,text}). The localproxy/go.modshows these as indirect requires atcrypto v0.57.0,net v0.60.0,sys v0.48.0andtext v0.42.0. This shows the current module state only. It does not show which lines changed. - The check asks about opened files, HTTP response bodies, network connections, and goroutines inproxy/Go files. The repository tree has many such files (for exampleproxy/bridge/terminal.go,proxy/server/server.go,proxy/auth/*.go). Whether the PR modified any of them is unknown. Why not PASS: The description is contributor prose. It is not a diff. Missing evidence cannot establish PASS. The current tree is not PR-introduced code unless the diff shows it. Why not FAIL: The check defines no failure condition for a missing diff. I found no changed-code evidence of an unclosed file, body, connection, or unshut goroutine. Repository-wide context cannot cause a FAIL without PR causality. Scope note: Based on the description, the Go-side change looks limited togo.modandgo.sum. Those files do not open resources or start goroutines, so the check may be inapplicable. That conclusion needs the real diff.Resolution
To finish this check, make the PR diff available and re-run it: 1. Fetch the
release-1.4base and PR head with full history (for examplegit fetch --unshallow origin release-1.4 cve-fix/EDM-6483-release-1.4). 2. Rungit diff --name-only origin/release-1.4...HEAD -- proxy/and confirm whether any*.gosource file changed. 3. If no*.gosource file changed (onlygo.mod/go.sum), the check is inapplicable and can PASS. 4. If any*.gosource file changed, review each changed hunk foros.Open/os.Create/file handles,httpresponse bodies,net.Dial/listeners, andgo funclaunches. Each must have adefer Close()(or equivalent) or a shutdown mechanism (context, done channel, or WaitGroup).
Full details: Generated-Files-Not-Hand-Edited
-
Explanation
Summary: The check cannot be decided. The PR diff against its base branch (release-1.4) cannot be established in this sandbox. Evidence gathered: - The checked-out HEAD is ba567d6, titled "EDM-6483: Collective CVE remediation (November 2026)". It is a single root commit with no parent. No release-1.4 ref exists locally. The PR's own commit f757a354 is not present. - The only comparison ref is origin/main (bc65fb2). It is not the PR base, so diffs against it show branch divergence, not PR changes. - libs/types/** shows no diff against origin/main. The generated model files carry the header "generated using openapi-typescript-codegen -- do no edit". - libs/i18n/locales/en/translation.json differs from origin/main by 69 keys added and 79 removed. The libs/i18n/package.json script and i18next config also differ. These differences look like release-1.4 diverging from main. Nothing in the PR description says it touched these files. - Root package.json changes match the PR description: overrides, vitest, typescript-eslint, lint script. None of these edit a generated file. Assessment: The PR description lists dependency, override, type-cast and Go module changes. It does not list edits to generated files. However, the complete PR patch against release-1.4 is unavailable. Without it, I cannot confirm that no generated file was hand-edited. Missing evidence cannot establish PASS. The check does not define a FAIL condition for a missing diff.
Resolution
Obtain the true PR base and patch. Fetch origin/release-1.4 (or the merge base of PR
#893at commit f757a354) and run: git diff <base>...f757a354 -- libs/types/models libs/types/alpha/models libs/types/imagebuilder/models libs/i18n/locales/en/translation.json. Any hunk in these paths must be checked. Hand edits to libs/types/** must be replaced by output of npm run gen-types. Hand edits to translation.json must be replaced by output of npm run i18n. If the diff shows no hunks in these paths, this check passes.
6082da1 to
c0c1b73
Compare
c0c1b73 to
ba567d6
Compare
Collective CVE Remediation (November 2026)
Summary
Bundles compatible dependency security updates for
release-1.4, including React Router 6.30.3 → 6.30.6, i18next-http-backend 2 → 4.0.10, Vitest 3 → 5.1.0, scoped npm overrides (minimatchunder@typescript-eslint/typescript-estreeandnodemon,@remix-run/router,cheerio,fast-uri), TypeScript type-cast cleanups required by the updated toolchain, and Go module updates inproxy/(golang.org/x/{crypto,net,sys,text}). Reducesnpm auditfindings from 42 to 28.Vulnerabilities Addressed
Resolved npm advisories:
@humanfs/node,@remix-run/router,@vitest/mocker,ajv,body-parser,colord,fast-uri,glob,i18next-http-backend,minimatch,postcss-selector-parser,qs,rimraf,serialize-javascript.Related Jira tickets: EDM-6491, EDM-6492, EDM-6493, EDM-6494, EDM-6495, EDM-6496, EDM-6497, EDM-6498.
Strategy Justification — CVE-2026-118764 (minimatch)
@typescript-eslint/typescript-estree→ minimatch 11.0.9 andnodemon→ minimatch 11.0.9Downstream Verification
npm ci+npm run build/build:ocp; final images ship onlyapps/standalone/distnode: 20 or >=22; Red Hatubi9/ubi10 nodejs-22-minimalbuilder images satisfy requirementsValidation
f757a354on branchcve-fix/EDM-6483-release-1.4npm auditno longer reports minimatchRollback