woodpecker/pipeline
mscherer c3788d943f
Fix insecure /tmp usage in local backend (#872)
Since /tmp is writable by everybody, a user could precreate
/tmp/woodpecker with 777 permissions, allowing them to modify the
pipeline while it is being run, or preventing the pipeline from running.

And since os.MkdirAll error code wasn't checked, the same attacker
could have precreated the directory where the pipeline is executed to
mess with the run, allowing code execution under the UID of the
agent (who has access to the toke, to communicate with the server, which
mean a attacker could inject a fake agent, steal credentials, etc)
2022-04-06 03:33:00 +02:00
..
backend Fix insecure /tmp usage in local backend (#872) 2022-04-06 03:33:00 +02:00
frontend Fix uppercase from_secrets (#842) 2022-03-19 12:34:32 +01:00
multipart Remove unused code (#797) 2022-02-25 21:42:45 +01:00
rpc Remove unused code (#797) 2022-02-25 21:42:45 +01:00
samples Replace DRONE_ with CI_ variables in pipeline steps (#427) 2021-11-25 20:43:31 +01:00
schema fix pipeline schema to support branch as an array in 'when' (#836) 2022-03-09 15:49:06 +01:00
shared Fix multiline secrets replacer (#700) 2022-01-16 22:57:37 +01:00
error.go Add linter misspell (#530) 2021-11-24 02:01:12 +01:00
error_test.go Move cncd/pipeline/pipeline/ to pipeline/ (#347) 2021-09-24 13:18:34 +02:00
logger.go Add backend selection for agent (#463) 2021-11-26 03:34:48 +01:00
option.go Add backend selection for agent (#463) 2021-11-26 03:34:48 +01:00
option_test.go Move cncd/pipeline/pipeline/ to pipeline/ (#347) 2021-09-24 13:18:34 +02:00
pipeline.go Add backend selection for agent (#463) 2021-11-26 03:34:48 +01:00
tracer.go Fix various typos (#416) 2021-10-08 18:35:56 +02:00