Nhost Storage Affected by MIME Type Spoofing via Trusted Client Content-Type Header in Storage Upload
nhost
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/nhost/nhost Go |
|
|
Original description
Nhost is an open source Firebase alternative with GraphQL. Prior to version 0.12.0, the storage service's file upload handler trusts the client-provided Content-Type header without performing server-side MIME type detection. This allows an attacker to upload files with an arbitrary MIME type, bypassing any MIME-type-based restrictions configured on storage buckets. This issue has been patched in version 0.12.0.
From the CVE record · GitHub_M