Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 05 Sep 2021 23:26:08 +0200
From: Sören Tempel <>
Subject: Re: tzset() cannot handle arbitrary inputs

Markus Wichmann <> wrote:
> Hi all,


> The user setting TZ is also the one getting the crashes. The
> assumption is less that the input is always valid, but more that if it
> is invalid, the user will only be hacking themselves.

This is only true under the assumption that $TZ itself is never set to a
value derived from an untrusted source. See the aforementioned calcurse
code for example where this assumption does not hold. If you search
GitHub or use you will find plenty additional
examples where people "abuse" $TZ to query information about zonefiles
by name. Please also note that these spatial memory safety violations
are UB and thus might or might not lead to a crash.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.