Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 709 Bytes

v0.5.2.rst

File metadata and controls

18 lines (13 loc) · 709 Bytes

Oscar 0.5.2 release notes

This is Oscar 0.5.2, a security release for Oscar 0.5.

Insecure use of SECRET_KEY in basket cookie

For anonymous users, the basket ID is stored in a cookie. Previously, the value was signed using a simples CRC32 hash using the SECRET_KEY. However, a good rule of thumb is to never roll your own encryption, and it is possible that this method weakens the security of the SECRET_KEY.

The fix uses Django's cryptographic signing functionality to sign the cookie in a more secure manner.