Soulmate::writeMessageInSharedSpace
modifies the previous message, thus if the other soulmate writes a new message then they will not be able to read the message via Soulmate::readMessageInSharedSpace
written by their soulmate.
The vulnerability is present in the Soulmate::writeMessageInSharedSpace
function which modifies the previously written message by anyone of the soulmate.
It occurs because if the other soulmate writes the message before reading, then they will not able to view the message via Soulmate::readMessageInSharedSpace
which was written by the first soulmate.
Soulmates will not be able to read messages effectively.
Manual Review
Allow the soulmates to write new message only if the other soulmate have read it.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.