Encoding aside, the brilliance of the Date header is that it cancels out most of clock skew between the client and the server.
When HTTP 1.0 was new, we still had computers with CR-2032 batteries on the motherboard to run a clock while the computer was off, and I ran into so many people while doing tech support whose computers thought it was January 2, 1970 because they'd not once thought to replace that battery.
When the server tells you that the document expires on Thursday and it's currently Wednesday, you know how long to keep it for, even if you think it's Tuesday at the moment.
So the two ends of the link can nail down clock skew to a little more than the speed of light delay between them, and Berners-Lee thought of this problem sometime back around 1990. It is actually my favorite header because of that.
I know I used this on one project to solve a particularly hairy consensus problem but I can't remember which, now.
99.99% yes. especially when the connections are tls encrypted. java uses it under the hood extensively, and even if you don't use it in your own code directly, you are probably using / hooking into a library that does (knowingly or otherwise)
you should assume that every java app that accepts user input is vulnerable
From what I have audited so far, it seems that the only attack surface here is server -> client via favicon, could not find any client -> server at all.
View all comments
105
u/HipstCapitalist 13d ago
I cannot imagine the impact if this affects Minecraft servers...