Bug 1831803 (CVE-2020-5283) - CVE-2020-5283 viewvc: XSS vulnerability in CVS show_subdir_lastmod support
Summary: CVE-2020-5283 viewvc: XSS vulnerability in CVS show_subdir_lastmod support
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2020-5283
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1831804 1831805 1831806
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-05 16:43 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-05-05 22:32 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-05-05 22:32:02 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-05-05 16:43:21 UTC
ViewVC before versions 1.1.28 and 1.2.1 has a XSS vulnerability in CVS show_subdir_lastmod support. The impact of this vulnerability is mitigated by the need for an attacker to have commit privileges to a CVS repository exposed by an otherwise trusted ViewVC instance that also has the `show_subdir_lastmod` feature enabled. The attack vector involves files with unsafe names (names that, when embedded into an HTML stream, would cause the browser to run unwanted code), which themselves can be challenging to create. This vulnerability is patched in versions 1.2.1 and 1.1.28.

References:
https://github.com/viewvc/viewvc/issues/211
https://github.com/viewvc/viewvc/security/advisories/GHSA-xpxf-fvqv-7mfg

Upstream commit:
https://github.com/viewvc/viewvc/commit/ad0f966e9a997b17d853a6972ea283d4dcd70fa8

Comment 1 Guilherme de Almeida Suckevicz 2020-05-05 16:43:52 UTC
Created viewvc tracking bugs for this issue:

Affects: epel-6 [bug 1831805]
Affects: epel-7 [bug 1831806]
Affects: fedora-30 [bug 1831804]

Comment 2 Product Security DevOps Team 2020-05-05 22:32:02 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.