3 ms·
In a better language than C, format string injection would be less likely to lead to arbitrary read/write/RCE. I'll admit I looked around before writing this a
by scintill76 5y ago
In a better language than C, format string injection would be less likely to lead to arbitrary read/write/RCE.
I'll admit I looked around before writing this and saw that Python's str.format() can be pretty bad. So let's say a reasonably constrained formatting language in a good runtime -- the attacker is limited in what they can see or control, and the formatter can see how many arguments were actually passed so it doesn't tromp off into other memory.