Pffft *spits coffee all over keyboard*
So apparently on #Linux, usernames starting with "0x" are interpreted as hex numbers under certain circumstances. 🤪 That seems like asking for trouble...
So apparently on #Linux, usernames starting with "0x" are interpreted as hex numbers under certain circumstances. 🤪 That seems like asking for trouble...
Comments
https://nvd.nist.gov/vuln/detail/CVE-2020-13776
https://github.com/systemd/systemd/issues/15985
The `-u` option allows names or UID. They are allowing numbers using `%i`, and that is a side-effect.
As you can see from the image, the parser tries to convert the "string" into a number and use it as an ID for the filter. It so happens that strtoul is able to parse "0x" strings as hex values, so this […] https://mastodon.r3pek.org/@r3pek/114502185235313282