CVE-2012-4548
Summary
| CVE | CVE-2012-4548 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2012-11-11 13:00:54 UTC |
| Updated | 2026-04-29 01:13:23 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v2.0 6 from [email protected]
AV:N/AC:M/Au:S/C:P/I:P/A:P
Problem Types: NVD-CWE-Other | n/a
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
SingleConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:M/Au:S/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Lars Hjemli | Cgit | 0.1 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.2 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.3 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.4 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.5 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.6 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.6.1 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.6.2 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.6.3 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.7 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.7.1 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.7.2 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.8 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.8.1 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.8.1.1 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.8.2 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.8.2.1 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.8.2.2 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.8.3 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.8.3.1 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.8.3.2 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.8.3.3 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.8.3.4 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.8.3.5 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.9 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.9.0.1 | All | All | All |
| Application | Lars Hjemli | Cgit | 0.9.0.2 | All | All | All |
| Application | Lars Hjemli | Cgit | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| 870713 – (CVE-2012-4548) CVE-2012-4548 cgit: syntax-highlighting.sh command injection | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | |
| IBM X-Force Exchange | af854a3a-2127-422b-91ae-364da2661108 | exchange.xforce.ibmcloud.com | |
| [security-announce] openSUSE-SU-2012:1422-1: important: update for cgit | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| [security-announce] openSUSE-SU-2012:1461-1: important: update for cgit | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| oss-security - CVE Request: cgit command injection | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| oss-security - Re: CVE Request: cgit command injection | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| Security Advisory SA51222 - SUSE update for cgit - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| Security Advisory SA51167 - SUSE update for cgit - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| cgit - A hyperfast web frontend for git repositories written in C. | af854a3a-2127-422b-91ae-364da2661108 | git.zx2c4.com | |
| Malformed Request | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| [security-announce] openSUSE-SU-2012:1460-1: important: update for cgit | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| Security Advisory SA50734 - cgit Denial of Service and Command Injection Vulnerabilities - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| [security-announce] openSUSE-SU-2012:1421-1: important: update for cgit | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.