Skip to content

Validate ELF Build IDs Before Symbol-Cache Path Construction - #2461

Open
Brian Robbins (brianrob) wants to merge 1 commit into
microsoft:mainfrom
brianrob:brianrob-fix-elf-build-id-traversal
Open

Validate ELF Build IDs Before Symbol-Cache Path Construction#2461
Brian Robbins (brianrob) wants to merge 1 commit into
microsoft:mainfrom
brianrob:brianrob-fix-elf-build-id-traversal

Conversation

@brianrob

Copy link
Copy Markdown
Member
  • Validate ELF build IDs before constructing symbol-server or cache paths
  • Accept 8-20-byte hexadecimal IDs and normalize them to canonical 40-character SSQP keys
  • Reject malformed, rooted, or traversal-containing values explicitly
  • Ensure resolved ELF cache paths remain within the configured symbol-cache directory
  • Add focused validation, normalization, and containment tests

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 0607fc9e-797e-42c7-9c6e-27cce2fd6ffd
@brianrob
Brian Robbins (brianrob) requested a review from a team as a code owner August 26, 2026 21:42
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.

1 participant