Input validation error in cgit - CVE-2012-4548

 

Input validation error in cgit - CVE-2012-4548

Published: November 11, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43344
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-4548
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote #AU# to read and manipulate data.

Argument injection vulnerability in syntax-highlighting.sh in cgit 9.0.3 and earlier allows remote authenticated users with permissions to add files to execute arbitrary commands via the --plug-in argument to the highlight command. Per http://cwe.mitre.org/data/definitions/88.html'CWE-88: Argument Injection or Modification'


Affected software

cgit
Fedora
cgit

How to mitigate CVE-2012-4548

Install update from vendor's website.

cgit - addressed in versions 0.9.1-1.el5, 0.9.1-1.el6, 0.9.1-2.el6

External References

Related Security Bulletins