ApostropheCMS uploadfs Azure backend leaks account-level SAS token into every public attachment URL (sas: true)
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmuploadfs |
≥ 1.25.0, < 1.28.0→ 1.28.0 |
1.28.0 |
| apostrophecmsapostrophe | — | Not listed |
| apostrophecmsuploadfs | — | Not listed |
Original description The description as published by the source.
ApostropheCMS is an open-source Node.js content management system. From 1.25.0 until 1.28.0, uploadfs Azure backend leaks account-level SAS token into every public attachment URL. When uploadfs is configured with the Azure backend and sas: true, createContainer() builds the BlobServiceClient from a URL that embeds the full SAS query string, and Azure SDK v12 derived clients inherit that query string. This issue is fixed in version 1.28.0.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com