Description
Zipline before 4.8.0 contains a race condition vulnerability in src/server/routes/raw/[id].ts that allows remote attackers to bypass file maxViews limits through non-atomic view counting. Attackers holding a file link can send parallel requests that read the same pre-increment count, viewing view-limited or delete-on-max-views files beyond their limit.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| diced | zipline | < 4.8.0 | 4.8.0 |
References
- GitHub Security Advisory (GHSA-7xv9-wr46-j578) vendor-advisory
- https://github.com/diced/zipline/commit/1770479d6795ea8700f0ce6ba08a1654d3644c73 patch
- zipline v4.8.0 Release Notes release-notes
- https://github.com/diced/zipline/blob/v4.7.0/src/server/routes/raw/%5Bid%5D.ts#L101-L133 technical-description
- VulnCheck Advisory: Zipline before 4.8.0 maxViews Limit Bypass via Race Condition third-party-advisory