CVE-2017-1000053
Arbitrary Code Execution in Cookie Serialization
Elixir Plug before v1.0.4, v1.1.7, v1.2.3 and v1.3.2 is vulnerable to arbitrary code execution in the deserialization functions of Plug.Session.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.1
Elixir Plug before v1.0.4, v1.1.7, v1.2.3 and v1.3.2 is vulnerable to arbitrary code execution in the deserialization functions of Plug.Session.
- Record
CVE-2017-1000053- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-502
- Updated
- 2026-11-02
CVE List No score
Elixir Plug before v1.0.4, v1.1.7, v1.2.3 and v1.3.2 is vulnerable to arbitrary code execution in the deserialization functions of Plug.Session.
- Record
CVE-2017-1000053- Updated
- 2026-11-02
EUVDEUVD-2022-1640 No score
Elixir Plug before v1.0.4, v1.1.7, v1.2.3 and v1.3.2 is vulnerable to arbitrary code execution in the deserialization functions of Plug.Session.
- Record
EUVD-2022-1640- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5v4m-c73v-c7gq
8.1
Arbitrary Code Execution in Cookie Serialization
The default serialization used by Plug session may result in code execution in certain situations. Keep in mind, however, the session cookie is signed and this attack can only be exploited if the attacker has access to your secret key as well as your signing/encryption salts. We recommend users to change their secret key base and salts if they suspect they have been leaked, regardless of this vulnerability.
- Record
GHSA-5v4m-c73v-c7gq- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-502
- Updated
- 2026-11-02
OSV
8.1
Elixir Plug before v1.0.4, v1.1.7, v1.2.3 and v1.3.2 is vulnerable to arbitrary code execution in the deserialization functions of Plug.Session.
- Record
CVE-2017-1000053- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-5v4m-c73v-c7gq
8.1
Arbitrary Code Execution in Cookie Serialization
The default serialization used by Plug session may result in code execution in certain situations. Keep in mind, however, the session cookie is signed and this attack can only be exploited if the attacker has access to your secret key as well as your signing/encryption salts. We recommend users to change their secret key base and salts if they suspect they have been leaked, regardless of this vulnerability.
- Record
GHSA-5v4m-c73v-c7gq- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-502
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
plugHex |
before 1.0.4 | 1.0.4 |
plugHex |
1.1.0 up to 1.1.7 | 1.1.7 |
plugHex |
1.2.0 up to 1.2.3 | 1.2.3 |
plugHex |
1.3.0 up to 1.3.2 | 1.3.2 |
plugHex |
before 1.0.4, plus listed versions 0.10.00.11.00.11.10.11.20.11.3 Show 26 moreShow less0.12.00.12.10.12.20.13.00.13.10.14.00.4.10.4.20.4.30.4.40.5.00.5.10.5.20.5.30.6.00.7.00.8.00.8.10.8.20.8.30.8.40.9.01.0.01.0.11.0.21.0.3 |
1.0.4 |
plugHex |
1.1.0 up to 1.1.7, plus listed versions 1.1.11.1.21.1.31.1.41.1.51.1.6 |
1.1.7 |
plugHex |
1.2.0 up to 1.2.3, plus listed versions 1.2.11.2.2 |
1.2.3 |
plugHex |
1.3.0 up to 1.3.2, plus listed versions 1.3.1 |
1.3.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-1000053 is a high vulnerability (CVSS 8.1) in Plug Project Plug, published July 13, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.93%, the 80th percentile. Fixed in plug 1.0.4.