Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 72461
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thierry Carrez (RETIRED) <koon@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
patch.CAN-2004-0915.viewcvs.0.9.2 patch.CAN-2004-0915.viewcvs.0.9.2 patch Thierry Carrez (RETIRED) 2004-11-25 06:28 0000 1.26 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 72461 depends on: 73772 Show dependency tree
Bug 72461 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-11-25 06:27 0000
From vendor-sec, to be kept confidential :

---------------------------
Hajvan Sehic discovered several vulnerabilities in viewcvs, a utility
for viewing CVS and Subversion repositories via HTTP.  In both cases
the program doesn't honour the settings enough to hide certain
directories from the tar export.

Problem 1: hide_cvsroot doesn't work when a tar file is exported

Problem 2: forbidden is ignored when a tar file is exported

The attached patches patches for both version 0.9 and 1.0 which have
different code but are both vulnerable to these problems seem to fix
those.  Upstream is unresponsive unfortunately.

This is most probably not that critical since many CVS repositories
are available via anonymous CVS anyway and that one does support
neither of these options.
---------------------------------------------

------- Comment #1 From Thierry Carrez (RETIRED) 2004-11-25 06:28:29 0000 -------
Created an attachment (id=44712) [details]
patch.CAN-2004-0915.viewcvs.0.9.2

Patch for 0.9.x viewcvs

------- Comment #2 From Sune Kloppenborg Jeppesen 2004-11-25 13:42:14 0000 -------
Renat this is a restricted bug, please prepare a fixed ebuild and have it ready
when a disclosure date is agreed with vendor-sec.

------- Comment #3 From Thierry Carrez (RETIRED) 2004-12-02 09:09:52 0000 -------
Ccing Stuart as rl03 seems inactive

------- Comment #4 From Stuart Herbert (RETIRED) 2004-12-02 12:27:48 0000 -------
Can we commit this patch into portage, or do we have to wait until vendor-sec
declassify the bug?

Thanks,
Stu

------- Comment #5 From Thierry Carrez (RETIRED) 2004-12-03 00:49:01 0000 -------
We still have to wait before pushing any of this in a public repository.

You can attach the ebuild (or a tarball with the ebuild and files) to this bug, so that we can push them for early stable testing to selected devs.

------- Comment #6 From Sune Kloppenborg Jeppesen 2004-12-06 04:23:41 0000 -------
This is public now. 

Stuart please commit the patch.

------- Comment #7 From Stuart Herbert (RETIRED) 2004-12-07 07:02:22 0000 -------
viewcvs-0.9.2_p20041207.ebuild has been added, and marked stable on x86.  Needs
marking stable on ppc.

Please note: I've done minimal testing on this package.

Best regards,
Stu

------- Comment #8 From Luke Macken (RETIRED) 2004-12-07 07:06:02 0000 -------
ppc, please mark viewcvs-0.9.2_p20041207 stable.

------- Comment #9 From Jochen Maes (RETIRED) 2004-12-08 00:24:31 0000 -------
stable on ppc

------- Comment #10 From Sune Kloppenborg Jeppesen 2004-12-08 00:44:19 0000 -------
Security please vote on GLSA on this one.

------- Comment #11 From Matthias Geerdsen 2004-12-08 01:06:30 0000 -------
I would vote for a GLSA

Debian published a DSA already btw.

------- Comment #12 From Thierry Carrez (RETIRED) 2004-12-08 04:47:37 0000 -------
Yes, GLSA needed.

------- Comment #13 From Thierry Carrez (RETIRED) 2004-12-20 06:11:22 0000 -------
I'll handle this together with bug 73772

------- Comment #14 From Thierry Carrez (RETIRED) 2004-12-28 06:30:29 0000 -------
GLSA 200412-26

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug