New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insecure temporary file usage #607
Comments
|
See RH Bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1239009 |
|
There are 2 more reports:
|
- usr/share/rear/finalize/NBU/default/99_copy_bplogrestorelog.sh - usr/share/rear/restore/DP/default/30_create_dp_restore_fs_list.sh - usr/share/rear/restore/DP/default/40_restore_with_dp.sh - usr/share/rear/restore/NBU/default/40_restore_with_nbu.sh - usr/share/rear/verify/DP/default/45_request_gui_restore.sh - usr/share/rear/verify/DP/default/50_select_dp_restore.sh Changed made for : - https://bugzilla.redhat.com/show_bug.cgi?id=1239009 - https://bugzilla.redhat.com/show_bug.cgi?id=1245189 - https://bugzilla.redhat.com/show_bug.cgi?id=1238843 Related to issue #607
|
remark: RH Bugzilla 1245189 has been closed as it is duplicate of 1239009 (fedora 22). |
|
I have a question related to this issue. |
|
Shall I send you PR for some of these scripts? |
/tmp/DP_GUI_RESTORE => $TMP_DIR/DP_GUI_RESTORE issue #607
|
@phracek An extra PR 👍 fine for me. |
|
@phracek I believe we have fixed all |
Simply grepping for /tmp in source code gives a lot of hits, some of which are dangerous, e.g.:
usr/share/rear/verify/DP/default/50_select_dp_restore.sh:
Would be nice if all occurences of hardcoded /tmp/.. were replaced with using
mktemp.The text was updated successfully, but these errors were encountered: