Skip to content

[GHSA-5vv4-hvf7-2h46] Command Injection via Unsanitized locate Output in versions() — systeminformation - #9635

Merged
advisory-database[bot] merged 1 commit into
nikpivkin/advisory-improvement-9635from
nikpivkin-GHSA-5vv4-hvf7-2h46
Sep 24, 2026
Merged

advisory-database[bot] merged 1 commit into
nikpivkin/advisory-improvement-9635from
nikpivkin-GHSA-5vv4-hvf7-2h46

Conversation

@nikpivkin

Copy link
Copy Markdown

Updates

  • Affected products

Comments
The range should be < 5.31.0, not <= 5.30.7.

The fix sebhildebrandt/systeminformation@b67d371 is in tag v5.31.0 and not in tag v5.30.8. The npm package of 5.30.8 still has the vulnerable exec(postgresqlBin[postgresqlBin.length - 1] + ' -V', ...) call in lib/osinfo.js. 5.30.7 is the version named as tested in the advisory, but it is not the last affected one.

So version 5.30.8 is still vulnerable but is outside the current range.

@github

github commented Sep 19, 2026

Copy link
Copy Markdown
Collaborator

Hi there @sebhildebrandt! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.

This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory

Copilot AI balanced review requested due to automatic review settings September 19, 2026 19:10
@github-actions
github-actions Bot changed the base branch from main to nikpivkin/advisory-improvement-9635 September 19, 2026 19:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The resulting range correctly includes vulnerable version 5.30.8 and excludes fixed version 5.31.0.

Review effort: Balanced
Findings: None

What changed in this PR

Corrects the affected range for systeminformation by relying on the existing 5.31.0 fixed-version event.

Changes:

  • Removes the stale <= 5.30.7 affected-version metadata.
File Description
GHSA-5vv4-hvf7-2h46.json Corrects affected-version metadata.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@sebhildebrandt

Copy link
Copy Markdown

@nikpivkin @github this is correct the patched version is 5.31.0
so the (affected) range should be <= 5.30.8. or < 5.31.0

@advisory-database
advisory-database Bot merged commit 2769d66 into nikpivkin/advisory-improvement-9635 Sep 24, 2026
5 checks passed
@advisory-database

Copy link
Copy Markdown
Contributor

Hi @nikpivkin! Thank you so much for contributing to the GitHub Advisory Database. This database is free, open, and accessible to all, and it's people like you who make it great. Thanks for choosing to help others. We hope you send in more contributions in the future!

@advisory-database
advisory-database Bot deleted the nikpivkin-GHSA-5vv4-hvf7-2h46 branch September 24, 2026 14:41
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.

4 participants