Repository navigation
EDM-6483: Collective CVE remediation (November 2026) - #892
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 |
|---|---|---|---|
| Resource-Leaks | The resource-leaks check covers Go files under proxy/. The PR patch against its base could not be established, so changed Go code cannot be checked. Evidence: - The checked-out HEAD (aba867f) is a roo… | Obtain the PR base and diff. Fetch origin/release-1.3 and commit 0caa8443 (or the PR head), then run: git diff origin/release-1.3... -- proxy/. Re-run this check on any changed .go file. Confirm that each opened file, HTTP response bo… | |
| Generated-Files-Not-Hand-Edited | Summary: I could not determine whether this PR hand-edited any generated file. The checked-out commit aba867f (title "EDM-6483: Collective CVE remediation (November 2026)") is a single root comm… |
To resolve this check, supply the PR's complete patch against release-1.3 (or fetch the release-1.3 base and the head 0caa8443, then run `git diff release-1.3...0caa8443 -- libs/types/models libs/types/alpha/models libs/types/imagebui… |
|
| I18n-Compliance | Summary: I could not establish which .tsx lines this PR changed, so I cannot decide the i18n-compliance check. Evidence gathered: - The local checkout is at aba867f ("EDM-6483: Collective … |
Provide the complete PR patch against the real release-1.3 base, or a checkout with that merge base. Then list the .tsx files and changed hunks in the PR. For each added or changed hunk, check two things. First, that each user-visible s… |

Passed checks: 7 passed
-
Check name Status Explanation No-Hardcoded-Secrets Summary: No hardcoded secrets found. The check passes for PR #892(flightctl/flightctl-ui, author amir-yogev-gh, headcve-fix/EDM-6483-release-1.3, baserelease-1.3). Evidence limit: The l…No-Weak-Crypto no-weak-crypto: PASS. PR #892(flightctl/flightctl-ui, author amir-yogev-gh, base release-1.3) is a dependency and build-tooling update. The described changes are npm and Go module bumps, npm over…No-Injection-Vectors Summary: No flagged injection pattern exists in the PR head tree. The check passes. Evidence limits: The local checkout is a single root commit ( aba867f, EDM-6483). Its parent is not availab…Container-Privileges Summary: No container or Kubernetes privilege setting is introduced by this PR, based on the stated scope and the repository evidence available. Scope evidence - The PR description lists depen… No-Sensitive-Data-In-Logs The check flags logging that may expose passwords, tokens, API keys, PII, session IDs, internal hostnames, or customer data. I fetched the parent commit 918971d and diffed it against PR head aba867f (… Unchecked-Errors The unchecked-errors check applies to Go code under proxy/. PR #892(author amir-yogev-gh, head cve-fix/EDM-6483-release-1.3, base release-1.3) describes its proxy/ changes as Go module updates only: …Ai-Attribution Summary: The ai-attribution check applies only when AI tools were used and are mentioned in the PR or its commits. I found no such mention, so the check is inapplicable and passes. Evidence: -… Full details: No-Hardcoded-Secrets
-
Explanation
Summary: No hardcoded secrets found. The check passes for PR
#892(flightctl/flightctl-ui, author amir-yogev-gh, headcve-fix/EDM-6483-release-1.3, baserelease-1.3). Evidence limit: The local checkout has one commit (aba867f) that adds the whole tree. It has no parent, so the PR diff cannot be isolated from history. I scanned the full tree. This covers every file the PR touches, includingpackage.json(rootoverrides,minimatch: 11.0.9), the lockfile-related changes,packaging/images/*/Containerfile*, andproxy/Go modules. What I checked: - PEM private keys: NoBEGIN ... PRIVATE KEYblocks in tracked files. - Known token formats: No AWS (AKIA...), GitHub (ghp_,github_pat_), Slack (xox*), OpenAI-style (sk-), or GitLab (glpat-) tokens. - URLs with embedded credentials: None found, excluding lockfiles andgo.sum. - Secret-named string literals: Noapi_key,secret,token,password, orclient_secretvariable assigned a string literal of 8+ characters, in code or config. - Unquoted YAML/env assignments: Matches were identifiers or type fields, such astoken: httpConfig.tokenandenablePassword: boolean. None were literal values. - Long base64-like strings (>32 chars): None in YAML, JSON, shell, Containerfile, or packaging config. The only long strings are pinned action SHAs in.github/workflows, which are commit identifiers, not secrets. - Build and container files:Containerfile*ENV/ARGlines set onlyNODE_OPTIONS,PLUGIN_VERSION, and similar build settings. No credentials. - Test fixtures:proxy/auth/oidc_test.gousesclientId: "client-id", a placeholder. No credential values inproxy/bridge/testauth.goor the Cypress fixtures. - OCP manifests:apps/ocp-plugin/ocp-console-oauth-client.yamlandocp-console-sa-secrets.yamlcontain no literal secret values. Severity: No security findings. The PR adds no secret values. Residual risk: The scan uses regex patterns. It cannot find a secret in an unusual format. This risk is low for this PR, which changes dependency versions and build configuration.
Full details: No-Weak-Crypto
-
Explanation
no-weak-crypto: PASS. PR
#892(flightctl/flightctl-ui, author amir-yogev-gh, base release-1.3) is a dependency and build-tooling update. The described changes are npm and Go module bumps, npm overrides, and a small i18n lexer subclass. Evidence gathered: - Base revision unavailable. The local checkout has one root commit (aba867f) with no parent, so a diff against release-1.3 could not be built. I did not treat the whole tree as PR-introduced. Instead I scanned the full tree, which covers any PR change. - Weak primitives. A repo-wide search (excluding lockfiles and binary assets) found no MD5, SHA-1, DES, 3DES, RC4, Blowfish, or ECB usage. It also found nocreateHash/createCiphercalls and no weak Gocrypto/md5,crypto/sha1,crypto/des,crypto/rc4, or ECB constructions. - Custom crypto.libs/i18n/escape-preserving-jsx-lexer.mjsis a 7-lineJsxLexersubclass. It replaces&with&in node strings and has no cryptographic content. The only crypto-related code inproxy/is standard library use.proxy/auth/common.gousescrypto/randfor PKCE values and SHA-256 for the code challenge (line 189), which is the correct algorithm. - Secret comparisons. The token and password comparisons found (proxy/middleware/auth.go:19,proxy/auth/auth.go:534,575,libs/ui-components/.../vmApplications.ts:230,CreateRepository/utils.ts:354) are emptiness checks or equality checks on configuration values. None compares a MAC, signature, or bearer secret in code this PR changes. The PR does not touch these lines. - Go dependency bumps.golang.org/x/crypto v0.57.0,kin-openapi v0.148.0, andjsonschema/v6are version updates. They introduce no weak algorithm usage in the repository source. The check flags only the listed primitives, custom implementations, and non-constant-time secret comparisons. None appears in the PR's changes or elsewhere in the tree.
Full details: No-Injection-Vectors
-
Explanation
Summary: No flagged injection pattern exists in the PR head tree. The check passes. Evidence limits: The local checkout is a single root commit (
aba867f, EDM-6483). Its parent is not available. The PR baserelease-1.3is not present, so the exact PR patch cannot be isolated. The pass therefore rests on a scan of the full head tree. Any sink the PR added would appear in that tree, so the scan bounds the PR's contribution. Scan results (head tree, excludingnode_modules, lockfiles, anddist): -eval(andnew Function(: none. The only match isdevtool: 'eval-source-map'in webpack configs, which is a build option, not code execution. -dangerouslySetInnerHTML,innerHTML =,document.write,template.HTML(,unsafeHTML: none. -os.system,exec.Command,child_process, shelleval, andsh -c: none in the Go proxy (28.gofiles) or in the shell scripts. - Python files: none. Theyaml.loadcheck does not apply. -re.exec(...)andregex.exec(...)hits areRegExp.exec, not command execution. -yaml.load(calls inlibs/ui-components(validations.ts,vmApplications.ts,deviceSpecUtils.ts) use thejs-yamlpackage. In js-yaml 4loaduses the safe default schema, and the PR'sjs-yamloverride is 4.3.2. The Python SafeLoader rule does not map to these calls. -bash -cindeviceLogCommandBuilder.tsbuilds device-side hook strings. It wraps each argument withquoteShellArg(single-quote escaping). These strings are sent to devices, not run by the UI process. PR-specific changes: The newlibs/i18n/escape-preserving-jsx-lexer.mjssubclassesJsxLexerand only replaces&with&in node strings. It has no sink. Thepackage.jsonoverrides and theproxy/go.modandgo.sumupdates are dependency version changes. The headproxy/code has no sink. Severity: None. No injection vector was found in the head tree.
Full details: Container-Privileges
-
Explanation
Summary: No container or Kubernetes privilege setting is introduced by this PR, based on the stated scope and the repository evidence available. Scope evidence - The PR description lists dependency changes only: npm packages (i18next-parser, i18next-http-backend, React Router, Vitest, scoped npm overrides), Go modules under
proxy/, and the minimatch override. It does not list any change to a Containerfile, Kubernetes manifest, or Helm chart. - The Downstream Verification table treats the four Containerfile UI build stages as existing build scope to verify. It does not describe them as edited. Repository evidence - The checkout has no usable base.HEAD(aba867f) is a single snapshot commit with no parent, so the exact file list changed againstrelease-1.3could not be confirmed from git. - A repository-wide search forprivileged: true,hostPID,hostNetwork,hostIPC,SYS_ADMIN,allowPrivilegeEscalation: true, andrunAsUser: 0returned no matches in manifests or build files. -packaging/images/{el9,el10}/ContainerfileandContainerfile.ocpcontainUSER rootin theui-buildstage andUSER 0in theproxy-buildstage. The finalubi-microstage has noUSERdirective, so the runtime image defaults to root. Attribution - The root user settings are in the current tree. The PR description does not claim to change them, and the snapshot cannot show whether they predate the PR. Under the decision contract, the whole current tree is not treated as introduced by the PR, so this does not trigger a FAIL. - If the base-branch diff later shows that these Containerfile lines changed in this PR, re-check the final stage for a non-rootUSERand a written justification for root use. Tone note: Security is the main concern here. The runtime root default is a real hardening gap, but it is pre-existing and outside the PR's described change set.
Full details: No-Sensitive-Data-In-Logs
-
Explanation
The check flags logging that may expose passwords, tokens, API keys, PII, session IDs, internal hostnames, or customer data. I fetched the parent commit 918971d and diffed it against PR head aba867f (PR
#892, head branch cve-fix/EDM-6483-release-1.3). The diff touches 11 files: package manifests and lockfiles, proxy/go.mod and go.sum, and the i18n parser config. The only new source files are libs/i18n/escape-preserving-jsx-lexer.mjs (a lexer subclass that escapes&) and libs/i18n/i18next-parser.config.mjs (lexer wiring). The old i18next-parser.config.js was deleted. A grep of all added lines (excluding lockfiles) for console, log, logger, klog, fmt.Print, slog, zap, token, password, secret, apikey, email, session, and hostname returned no matches. No added statement emits runtime output of any kind, so no sensitive data reaches logs. The changes are dependency bumps and build-time configuration. Scope limit: the PR author is amir-yogev-gh, and this check does not depend on author identity.
Full details: Unchecked-Errors
-
Explanation
The unchecked-errors check applies to Go code under proxy/. PR
#892(author amir-yogev-gh, head cve-fix/EDM-6483-release-1.3, base release-1.3) describes its proxy/ changes as Go module updates only: kin-openapi, jsonschema/v6, and golang.org/x/{crypto,net,sys,text}. Evidence gathered: - The checked-out HEAD (aba867f) is an orphan commit with no parent. The release-1.3 base is not in the clone, so a true PR diff cannot be produced. - As an approximation, I diffed proxy/ against origin/main (bc65fb2). Eleven files differ: go.mod, go.sum, and nine .go files under proxy/auth/. - The .go differences are an import path change (core/v1beta1 to v1beta1), removal of prompt handling in loginRedirect and OIDC/OAuth2/AAP/OpenShift handlers, and removal of the matching tests. None adds or removes an error return, an error check, or a blank-identifier error discard. - Added lines in the .go diff contain noerrhandling, no_ =or, _ :=patterns, and no new logging of errors. The only removed log line is a Debugf about the OIDC prompt value, which is not error handling. - Pre-existing code in the touched files, such as the ignoreddefer res.Body.Close()return in proxy/auth/aap.go, is unchanged by this PR. Pre-existing behavior does not establish PR causality. Limitation: the diff against main is not the diff against release-1.3. A PR-introduced error-handling change would have to match main's code exactly, which is unlikely given the description and the diff. Confidence is high, but not absolute.
Full details: Ai-Attribution
-
Explanation
Summary: The ai-attribution check applies only when AI tools were used and are mentioned in the PR or its commits. I found no such mention, so the check is inapplicable and passes. Evidence: - PR description: The contributor's text (CVE table, strategy justification, downstream verification, validation, rollback) does not mention Assisted-by, Generated-by, Made-with, Co-Authored-By, or any AI tool name. - Head commit (
aba867fb, author Amir Yogev): The commit message is the subject line only,EDM-6483: Collective CVE remediation (November 2026). It has no trailers. - Commit history: A scan of the last 200 commits forassisted-by,generated-by,made-with,co-authored-by, and common AI tool names returned no matches. - Candidate commit0caa8443: The PR description cites this commit. It was not present in the local clone, so its message could not be read. This is a limitation. The check trigger still has no evidence of AI use, so the verdict stands. Tone note: Thorough and direct. This check raises no security, design, or correctness concern. The PR's CVE work is outside this check's scope.
-
Full details: Resource-Leaks
-
Explanation
The resource-leaks check covers Go files under proxy/. The PR patch against its base could not be established, so changed Go code cannot be checked. Evidence: - The checked-out HEAD (aba867f) is a root commit with no parent. No merge-base exists with origin/main. The PR base release-1.3 is not available locally. A diff against this HEAD returns no Go changes, but that result is not usable. - Diffing HEAD against origin/main (bc65fb2) shows changes in proxy/auth/*.go, proxy/go.mod, and proxy/go.sum. The auth changes include an import path change (api/core/v1beta1 to api/v1beta1) and a removed test block. These look like release-1.3 versus main divergence, not PR changes. They are not attributed to this PR. - The PR description states the proxy/ changes are Go module updates only: kin-openapi, jsonschema v6, and golang.org/x/{crypto,net,sys,text}. Inspected go.mod and go.sum diffs contain only dependency version and checksum changes. No Go source change in the PR is shown. - Existing defer Body.Close() and goroutine sites were found in proxy/. None was attributed to this PR, so none was flagged. Dependency bumps alone do not add file, response body, connection, or goroutine handling. Still, the check requires direct evidence from the PR's Go source diff. Missing evidence cannot establish PASS.
Resolution
Obtain the PR base and diff. Fetch origin/release-1.3 and commit 0caa8443 (or the PR head), then run: git diff origin/release-1.3...<head> -- proxy/. Re-run this check on any changed .go file. Confirm that each opened file, HTTP response body, or network connection is closed with defer, and that each new goroutine has a shutdown mechanism (context cancellation, done channel, or WaitGroup). If the diff confirms that proxy/ changes are limited to go.mod and go.sum, the check can be re-assessed as PASS.
Full details: Generated-Files-Not-Hand-Edited
-
Explanation
Summary: I could not determine whether this PR hand-edited any generated file. The checked-out commit
aba867f(title "EDM-6483: Collective CVE remediation (November 2026)") is a single root commit. It has no parent and no merge base withorigin/main. Therelease-1.3base and the PR head0caa8443are not present. A diff against the real base is therefore unavailable. Evidence gathered: - The commit adds the whole repository tree. It lists every generated path as added. That listing does not show which lines the PR changed. -libs/types/models/**,libs/types/alpha/models/**, andlibs/types/imagebuilder/models/**exist. Sampled files (Device.ts,Catalog.ts,ImageBuild.ts) begin withgenerated using openapi-typescript-codegen -- do no edit. These headers confirm the generated status. They do not show whether the PR edited the files. -libs/i18n/locales/en/translation.jsonparses as valid JSON with 2047 keys. Its 73 keys whose values differ from the key text are_one/_otherplural entries. This is the shape that i18next-parser emits. The result is consistent with generator output, but it is not proof. - The i18n package script runsi18next ... && git diff --exit-code locales/en/translation.json. The repo workflow therefore expects regeneration. I did not run the generator. The instructions prohibit running repository code and build tools. - The PR description says i18next-parser moved 6.5 to 9.4.0 with a new escape-preserving JSX lexer. That change would regeneratetranslation.json. The description does not state any manual edit to a generated file. This is contributor prose, not diff evidence. Why INCONCLUSIVE: The check flags direct edits to generated files. Deciding that requires the PR's changed lines in those paths. Those lines cannot be established here. The check does not define FAIL for an unavailable diff. Missing evidence cannot establish PASS. No changed-line evidence shows a hand edit, so FAIL is not supported. Tone note: This is a thorough and direct assessment. Security impact is not in scope for this check. A hand-edited generated file could drift from the OpenAPI spec or source strings. That drift would affect maintainability and could hide type or translation errors at runtime.Resolution
To resolve this check, supply the PR's complete patch against
release-1.3(or fetch therelease-1.3base and the head0caa8443, then rungit diff release-1.3...0caa8443 -- libs/types/models libs/types/alpha/models libs/types/imagebuilder/models libs/i18n/locales/en/translation.json). Then confirm the following: 1. Any changed generated file comes fromnpm run gen-types(OpenAPI) ornpm run i18n(i18next-parser). Re-running the generator should produce no diff. 2.translation.jsonchanges match the parser output, with no manually added or reworded keys. If the diff shows hand edits, return FAIL and revert those hunks. Regenerate the files instead.
Full details: I18n-Compliance
-
Explanation
Summary: I could not establish which
.tsxlines this PR changed, so I cannot decide the i18n-compliance check. Evidence gathered: - The local checkout is ataba867f("EDM-6483: Collective CVE remediation (November 2026)"). That commit has no parent. It adds the whole repository (971 files) as one root commit. -origin/mainshares no history with this commit, and norelease-1.3ref exists locally. The PR base is therefore unavailable, and the PR patch cannot be isolated. - The commit's file list includes all 365.tsxfiles in the tree. This does not show which files the PR changed. Treating the whole tree as PR-introduced would not follow the causality rule. - The PR description describes dependency and tooling work: i18next-parser 9.4.0, a newescape-preserving-jsx-lexer.mjswired intolibs/i18n/i18next-parser.config.mjs, React Router, Vitest, npm overrides, and Go modules. It does not mention source.tsxedits. This is contributor prose, not diff evidence. - Thelibs/i18nchanges are tooling. The.tsxfiles are not shown to be among the changed files. Why not PASS: The PR diff is needed to show that no.tsxuser-visible string was added or changed withoutt(), or that not()call with a variable key was added. The tree cannot provide that proof. Why not FAIL: No changed.tsxline was found that violates either rule. The check's failure conditions also require changed-code causality, and that causality is not established. Scope note: A repository-wide scan of.tsxfiles would find pre-existing issues. Those issues are outside this PR's causality and are not counted here.Resolution
Provide the complete PR patch against the real
release-1.3base, or a checkout with that merge base. Then list the.tsxfiles and changed hunks in the PR. For each added or changed hunk, check two things. First, that each user-visible string is wrapped int(). Second, that eacht()call uses a literal string key, not a variable. Re-run this check on that evidence. If the PR changes no.tsxfiles, the check passes as not applicable.
Collective CVE Remediation (November 2026)
Summary
Bundles compatible dependency security updates for
release-1.3, including i18next-parser 6.5 → 9.4.0 (with a new escape-preserving JSX lexer), i18next-http-backend 2 → 4.0.10, React Router 6.30.3 → 6.30.6, Vitest 3 → 5.1.0, scoped npm overrides (minimatch,@remix-run/router,fast-uri,chokidar), and Go module updates inproxy/(kin-openapi 0.145 → 0.148, jsonschema v6, golang.org/x/{crypto,net,sys,text}). Reducesnpm auditfindings from 52 to 27.Vulnerabilities Addressed
Resolved npm advisories:
@humanfs/node,@remix-run/router,@vitest/mocker,ajv,body-parser,chokidar,colord,compression,fast-uri,glob,handlebars,i18next-http-backend,launch-editor,minimatch,nodemon,postcss-selector-parser,proxy-addr,qs,readdirp,rimraf,serialize-javascript,shell-quote,source-map-js,svgo,systeminformation,tinypool,vue-template-compiler,webpack-dev-middleware.Related Jira tickets: EDM-6495, EDM-6496, EDM-6497, EDM-6498.
Strategy Justification — CVE-2026-118764 (minimatch)
minimatch: 11.0.9; lockfile resolves to 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
0caa8443on branchcve-fix/EDM-6483-release-1.3npm auditno longer reports minimatchRollback