Skip to content

Conversation

@snieguu
Copy link

@snieguu snieguu commented Jan 22, 2026

Updates
I have implemented two improvements in the PoC:

  • Added handling for OSError to allow recovery and continued execution of all cases in the loop. This error can occur, for example, on a read-only filesystem and would otherwise prevent checking subsequent cases.
  • Dynamically compute the number of ../ path segments from the working directory to the system root. This prevents false negatives: if the number of segments is hardcoded, a file could be placed in an unexpected location and the script would fail to detect that the system is vulnerable.

Comments

@github
Copy link
Collaborator

github commented Jan 22, 2026

Hi there @jaraco! 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

@github-actions github-actions bot changed the base branch from main to snieguu/advisory-improvement-6691 January 22, 2026 13:47
@shelbyc
Copy link
Contributor

shelbyc commented Jan 22, 2026

Hi @snieguu, thank you for sharing the PoC improvements. I'm going to incorporate them shortly. Sometimes, code blocks appear wonky after being added to advisories via community contributions, so if something doesn't look right, let me know. Otherwise, 🤞 that the updates appear correctly in the global advisory!

@advisory-database advisory-database bot merged commit bed5237 into snieguu/advisory-improvement-6691 Jan 22, 2026
5 checks passed
@advisory-database
Copy link
Contributor

Hi @snieguu! 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 snieguu-GHSA-58pv-8j8x-9vj2 branch January 22, 2026 22:26
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