Created attachment 195855 [details] patch file Update to 1.2.2, fixes directory traversal vulnerability (CVE-2018-14912). CVE-2018-14912 is documented in bug #230360. So please commit it together.
Hi, thanks for the patch. This should be merged to all available tracks since the security bug is quite nasty. BR/Marko
A commit references this bug: Author: riggs Date: Sun Aug 12 17:09:04 UTC 2018 New revision: 477003 URL: https://svnweb.freebsd.org/changeset/ports/477003 Log: Update to upstream release 1.2.1 (Fixes CVE-2018-14912) PR: 230361 Submitted by: yasu@utahime.org Approved by: mt@markoturk.info (maintainer) Security: CVE-2018-14912 Changes: head/devel/cgit/Makefile head/devel/cgit/distinfo head/devel/cgit/pkg-plist
MFH test builds in progress. Stay tuned...
A commit references this bug: Author: riggs Date: Sun Aug 12 17:50:13 UTC 2018 New revision: 477033 URL: https://svnweb.freebsd.org/changeset/ports/477033 Log: MFH: r474007 r474079 r474827 r477003 - Update included git to 2.17.1 PR: 227536 devel/cgit: Fix patch PR: 227536 devel/cgit: update 1.1 -> 1.2 - among other things, update to git 2.18 PR: 229841 Submitted by: Yasuhiro KIMURA <yasu@utahime.org> Approved by: Marko Turk <mt@markoturk.info> (maintainer) Relnotes: https://lists.zx2c4.com/pipermail/cgit/2018-July/004160.html Update to upstream release 1.2.1 (Fixes CVE-2018-14912) PR: 230361 Submitted by: yasu@utahime.org Approved by: mt@markoturk.info (maintainer) Security: CVE-2018-14912 Approved by: ports-secteam (riggs) Changes: _U branches/2018Q3/ branches/2018Q3/devel/cgit/Makefile branches/2018Q3/devel/cgit/distinfo branches/2018Q3/devel/cgit/files/patch-git-2.12.0 branches/2018Q3/devel/cgit/files/patch-git-2.13.1 branches/2018Q3/devel/cgit/files/patch-git-2.14 branches/2018Q3/devel/cgit/files/patch-git-2.16 branches/2018Q3/devel/cgit/files/patch-ui-snapshot.c branches/2018Q3/devel/cgit/pkg-plist