ADVISORIES

GitHub Advisory Database

GHSA-5v4m-c73v-c7gq

Arbitrary Code Execution in Cookie Serialization

Details

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.

Affected packages

EcosystemPackageAffected versions
Hexplug
All versions before 1.0.4 (fixed in 1.0.4)
Hexplug
From 1.1.0 before 1.1.7 (fixed in 1.1.7)
Hexplug
From 1.2.0 before 1.2.3 (fixed in 1.2.3)
Hexplug
From 1.3.0 before 1.3.2 (fixed in 1.3.2)

References