Skip to content

correlation.rs correlation ID is not validated as a UUID #684

@hman38705

Description

@hman38705

Labels: backend, reliability
Priority: Low

Description

services/api/src/correlation.rs extracts or generates a correlation ID from the X-Correlation-ID header. If the client sends an arbitrarily long or malformed value, it could pollute logs or cause issues downstream.

Acceptance Criteria

  • Incoming X-Correlation-ID validated as a UUID v4
  • Invalid values replaced with a server-generated UUID
  • Maximum header value length enforced

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions