Description
@e2e-dev/github before 0.4.1 contains an improper authorization vulnerability that allows pull request commenters to hijack CI test reports by posting comments with the predictable marker. Because findComment and upsertComment in post.ts never check the comment author, attackers can receive results in their own comment and edit failures to passes, or suppress genuine reports entirely.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| tester-army | @e2e-dev/github | < 0.4.1 | 0.4.1 |
References
- https://github.com/tester-army/e2e/pull/1161 patch issue-tracking
- https://github.com/tester-army/e2e/commit/ce4dac373784f87fade6808119ba537a0b4965fc patch
- @e2e-dev/github %40e2e-dev%2Fgithub%400.4.1 Release Notes release-notes
- https://github.com/tester-army/e2e/blob/37e946907bc26743d68861b97127271143441eb3/packages/github/src/post.ts technical-description
- VulnCheck Advisory: @e2e-dev/github before 0.4.1 CI Report Hijacking via Predictable Comment Marker third-party-advisory