GHSA-2q6v-32mr-8p8x
Dashboard / Vulnerabilities / GHSA-2q6v-32mr-8p8x
Summary: Null Byte Injection in Plug.Static
Details: Plug.Static is used for serving static assets, and is vulnerable to null byte injection. If file upload functionality is provided, this can allow users to bypass filetype restrictions. We recommend all applications that provide file upload functionality and serve those uploaded files locally with Plug.Static to upgrade immediately or include the fix below. If uploaded files are rather stored and served from S3 or any other cloud storage, you are not affected.
References: https://nvd.nist.gov/vuln/detail/CVE-2017-1000052, https://elixirforum.com/t/security-releases-for-plug/3913, https://github.com/elixir-plug/plug
Affected packages
Package
Name: plug
Purl: pkg:hex/plug
Affected ranges
Type: SEMVER
Events:
