TomSweeneyRedHat
5b2e71dc5b
Validate passed in timezone from tz option
...
Erik Sjolund reported an issue where a badly formated file
could be passed into the `--tz` option and then the date in the container
would be badly messed up:
```
erik@laptop:~$ echo Hello > file.txt
erik@laptop:~$ podman run --tz=../../../home/erik/file.txt --rm -ti
docker.io/library/alpine cat /etc/localtime
Hello
erik@laptop:~$ podman --version
podman version 3.0.0-rc1
erik@laptop:~$
```
This fix checks to make sure the TZ passed in is a valid
value and then proceeds with the rest of the processing.
This was first reported as a potential security issue, but it
was thought not to be. However, I thought closing the hole
sooner rather than later would be good.
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com >
2021-03-21 17:25:35 -04:00
..
2019-03-29 08:27:33 -04:00
2021-03-15 14:02:04 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-03-08 09:22:42 +01:00
2017-11-01 11:24:59 -04:00
2020-05-11 13:11:07 +02:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-03-18 00:01:50 +01:00
2021-02-22 09:03:51 +01:00
2021-01-25 15:44:42 -05:00
2021-03-10 04:08:29 -05:00
2021-02-22 09:03:51 +01:00
2019-01-18 15:43:11 -06:00
2021-03-10 04:08:29 -05:00
2021-02-22 09:03:51 +01:00
2021-03-08 09:22:42 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-03-09 09:02:14 +01:00
2021-03-04 15:43:12 +01:00
2021-02-25 10:02:41 -06:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-23 14:05:18 -05:00
2020-09-10 13:02:31 -04:00
2021-03-21 17:25:35 -04:00
2020-07-23 10:18:14 -04:00
2021-02-22 09:03:51 +01:00
2021-03-15 14:02:04 +01:00
2018-07-31 14:19:50 +00:00
2021-03-02 14:28:16 -05:00
2021-02-22 09:03:51 +01:00
2021-03-02 14:28:16 -05:00
2021-03-04 15:43:12 +01:00
2021-03-09 10:45:15 +01:00
2021-03-04 15:43:12 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2018-07-31 14:19:50 +00:00
2021-02-22 09:03:51 +01:00
2021-03-15 14:02:04 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-03-02 13:30:28 -05:00
2021-02-22 09:03:51 +01:00
2021-03-15 14:02:04 +01:00
2018-11-26 13:55:02 +01:00
2021-03-04 11:43:59 +01:00
2021-02-22 09:03:51 +01:00
2021-02-25 10:02:41 -06:00
2021-02-25 10:02:41 -06:00
2021-02-25 10:02:41 -06:00
2021-03-19 15:17:11 +01:00
2021-02-22 09:03:51 +01:00
2020-06-25 17:16:12 +02:00
2021-02-25 10:02:41 -06:00
2021-02-22 09:03:51 +01:00
2021-02-25 10:02:41 -06:00
2021-03-15 14:02:04 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-26 03:08:10 +01:00
2021-02-22 09:03:51 +01:00
2021-03-15 14:02:04 +01:00
2021-03-10 06:34:47 -05:00
2021-03-09 11:53:50 +01:00
2020-12-02 14:18:37 -05:00
2021-02-22 09:03:51 +01:00
2021-02-26 03:08:10 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-03-02 13:30:28 -05:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-03-08 09:22:42 +01:00
2020-09-13 23:24:15 -04:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00