Spyke
feddit.uk

Would using rust have prevented this issue?

13
lemmy.today

Lol but no essentially somebody accidentally logged the ID for an actively logged in user (not the user ID) when an error happens. Surprising they even released a thing about this

4
DWinreply
feddit.uk

Yeah, I wonder why any developer thought logging either the session cookie itself was a good idea. I guess they could decode it and figure out which user was having an issue? Still bizzare

1
Miaoureply
jlai.lu

Probably some automatic serialization that included the field. Someone forgot a #[serde(skip)]!

2

Yeah I reflected on that after I posted it, maybe it just dumped all the headers to the logs

2

You reached the end

crates.io security incident: improperly stored session cookies | Spyke