Add a New Comment (Rich Markup)
Comment Type & Canned Response: None No canned response available
As far as I can see this is fixed since GNU patch version 2.7.3, presumably by this commit:
For renames and copies, make sure that both file names are validhttp://git.savannah.gnu.org/cgit/patch.git/commit/?id=17953b5893f7c9835f0dd2a704ba04e0371d2cbd
So I think this bug can be closed as fixed?
Ah, I see -- here's a proposed fix.
(file #32884)
> There's a typo in the CVE number for the last directory traversal. It's CVE-2015-1196 (missing the 6 digit on the end).
Oops, sorry. I can't fix the commit message anymore now.
There's a typo in the CVE number for the last directory traversal. It's CVE-2015-1196 (missing the 6 digit on the end).
The fix for that doesn't prevent the following: $ ls /tmp/moo /bin/ls: cannot access /tmp/moo: No such file or directory
$ mkdir empty && cd empty
$ patch -p1 < traversal2.diff patching file moo patching file ../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../tmp/moo (renamed from moo)
$ ls /tmp/moo /tmp/moo
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 4 latest changes.
Copyright © 2022 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.9