CVE-2012-4548
CVE-2012-4548 is a medium-severity vulnerability in Lars Hjemli Cgit with a CVSS 2.0 base score of 6.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: Medium (CVSS 2.0 base score 6.0)
- EPSS exploit prediction: 3% (84th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Lars Hjemli Cgit
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2012-4548?
- 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.
- How severe is CVE-2012-4548?
- CVE-2012-4548 has a CVSS 2.0 base score of 6.0, rated medium severity.
- Is CVE-2012-4548 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (84th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-4548?
- CVE-2012-4548 primarily affects Lars Hjemli Cgit. In total, 28 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-4548?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2012-4548 published?
- CVE-2012-4548 was published on 2012-11-11 and last updated on 2026-06-16.
References
- http://git.zx2c4.com/cgit/commit/?id=7ea35f9f8ecf61ab42be9947aae1176ab6e089bd
- http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00021.html
- http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00022.html
- http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00003.html
- http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00004.html
- http://secunia.com/advisories/50734
- http://secunia.com/advisories/51167
- http://secunia.com/advisories/51222
- http://www.openwall.com/lists/oss-security/2012/10/28/1
- http://www.openwall.com/lists/oss-security/2012/10/28/2
- http://www.securityfocus.com/bid/56315
- https://bugzilla.redhat.com/show_bug.cgi?id=870713
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79665
Affected products (28)
- cpe:2.3:a:lars_hjemli:cgit:*:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.1:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.2:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.3:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.4:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.5:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.6:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.6.1:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.6.2:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.6.3:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.7:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.7.1:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.7.2:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.8:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.8.1:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.8.1.1:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.8.2:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.8.2.1:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.8.2.2:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.8.3:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.8.3.1:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.8.3.2:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.8.3.3:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.8.3.4:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.8.3.5:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.9:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.9.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:lars_hjemli:cgit:0.9.0.2:*:*:*:*:*:*:*
More vulnerabilities in Lars Hjemli Cgit
- CVE-2012-4465 — Medium (CVSS 6.5): Heap-based buffer overflow in the substr function in parsing.c in cgit 0.9.0.3 and earlier allows remote authenticated…
- CVE-2011-1027 — Medium (CVSS 5.0): Off-by-one error in the convert_query_hexchar function in html.c in cgit.cgi in cgit before 0.8.3.5 allows remote…
- CVE-2013-2117 — Medium (CVSS 4.3): Directory traversal vulnerability in the cgit_parse_readme function in ui-summary.c in cgit before 0.9.2, when a readme…
- CVE-2011-2711 — Low (CVSS 3.5): Cross-site scripting (XSS) vulnerability in the print_fileinfo function in ui-diff.c in cgit 0.9.0.2 and earlier allows…