Skip to content
OpenAdvisories
Low · 3.1 CVE-2020-5283 EUVD-2020-26479

XSS vulnerability in CVS show_subdir_lastmod support

Published Apr 3, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
viewvc viewvc < 1.1.28, >= 1.2.0, < 1.2.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS viewvc No fix yet —
Ubuntu 16.04 LTS viewvc No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP2 viewvc 1.1.28-bp152.4.3.1 openSUSE-SU-2021:0145-1
SUSE Package Hub 15 SP1 viewvc 1.1.28-bp151.4.3.1 openSUSE-SU-2021:0119-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed viewvc 1.3.0~dev20230104-1.1 openSUSE-SU-2024:12857-1
openSUSE Leap 15.2 viewvc 1.1.28-lp152.4.3.1 openSUSE-SU-2021:0123-1
openSUSE Leap 15.1 viewvc 1.1.28-lp151.3.3.1 openSUSE-SU-2021:0084-1

Advisories 5

References