Skip to content

fix(deps): bump glibc to 2.28 and pin nodejs to 22.23.4 - #58

Closed
Padraic Shafer (padraic-shafer) wants to merge 1 commit into
mainfrom
fix/nodejs-cve
Closed

Padraic Shafer (padraic-shafer) wants to merge 1 commit into
mainfrom
fix/nodejs-cve

Conversation

@padraic-shafer

Copy link
Copy Markdown
Contributor

Summary

The linux-64 platform was constrained to glibc = "2.17", limiting Node.js to v20. CDI workstations run RHEL 8+ (glibc ≥ 2.28). Following the NSLS2/ansible server_env precedent, bumped glibc to 2.28 (using the named-platform form required by pixi ≥ 0.83) and added a nodejs v22 floor where pyright (the nodejs consumer) lives.

Change Detail
pixi.toml platform glibc = "2.17" → { name = "linux64-glibc228", platform = "linux-64", glibc = "2.28" }
pixi.toml deps Added nodejs = ">=22.23.4,<23" to [feature.dev.dependencies]
pixi.lock Regenerated (nodejs-20.x → nodejs-22.23.4 on linux-64)

Refs: https://nodejs.org/en/blog/vulnerability/july-2025-security-releases

The linux-64 platform was pinned to glibc = "2.17", which only
supports Node.js up to v20. All CDI workstations run RHEL 8+
(glibc >= 2.28), so the glibc floor can be safely raised.

Following the NSLS2/ansible server_env precedent (commit 6b3e51619),
bumped glibc to 2.28 and added an explicit nodejs floor constraint
to the feature.dev.dependencies (where pyright, the nodejs consumer,
lives) to enforce the v22 LTS line minimum.

pixi.lock must be regenerated before merging:
    pixi lock

Refs: https://nodejs.org/en/blog/vulnerability/july-2025-security-releases

Assisted-by: opencode:claude-opus-4-8
Assisted-by: opencode:claude-sonnet-4-6
Copilot AI balanced review requested due to automatic review settings October 26, 2026 17:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused manifest changes match the intended platform requirements and checked lockfile entries, with no unresolved findings.

No open issues 🎉

What changed in this PR

Updates the Pixi environment’s Linux baseline to glibc 2.28 for RHEL 8+ workstations and constrains Node.js to version 22 for development tooling.

Changes:

  • Names the Linux platform linux64-glibc228 and raises its glibc requirement from 2.17 to 2.28.
  • Adds nodejs = ">=22.23.4,<23" alongside pyright in development dependencies.
File Description
pixi.toml Updates the Linux platform definition and adds the Node.js 22 dependency range.

Review effort: Balanced

@padraic-shafer

Copy link
Copy Markdown
Contributor Author

Putting this in draft, possibly to effectively merge this PR into https://github.com/NSLS2/cditools/pull/57/changes

@padraic-shafer

Copy link
Copy Markdown
Contributor Author

Superseded by commit to #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants