This issue was reported by ajtowns on IRC some time ago.
For compact blocks, when we serve the last compact block from cache, we use a single nonce for all peers currently.
This means anyone can request the most recent tip as a compact block via getdata(MSG_CMPCT_BLOCK) over a clearnet and a tor connection and then compare the nonces - if they match it's the same node.
Fix this by using a different nonce per network/bind (CNode::m_network_key).
This means a little bit more work in NewPoWValidBlock where we will now create CBlockHeaderAndShortTxIDs objects for each network on which a peer has made us their hb peer. More instances may be created later when serving non-hb peers via GETDATA. Note that while on master, the CBlockHeaderAndShortTxIDs was created eagerly, and its serialization lazily, we now create both objects lazily.
From a high-level point of view, there are various remaining fingerprinting vectors even with this fix, some hard to fix, but I do think that we should be fixing at least the most obvious ones.