Vulnerability Name:

CVE-2012-4465 (CCN-78973)

Assigned:2012-07-25
Published:2012-07-25
Updated:2013-01-30
Summary:Heap-based buffer overflow in the substr function in parsing.c in cgit 0.9.0.3 and earlier allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via an empty username in the "Author" field in a commit.
CVSS v3 Severity:5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Low
CVSS v2 Severity:6.5 Medium (CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P)
4.8 Medium (Temporal CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P)
3.7 Low (CCN Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
Vulnerability Type:CWE-119
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2012-4465

Source: CONFIRM
Type: UNKNOWN
http://git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec

Source: CCN
Type: cgit GIT Repository
Git repository browser

Source: CCN
Type: cgit Web page
cgit

Source: MLIST
Type: UNKNOWN
[cgit] 20120703 avoid stack-smash when processing unusual commit

Source: CCN
Type: SA50734
cgit "Author" Field Parsing Denial of Service Vulnerability

Source: SECUNIA
Type: Vendor Advisory
50734

Source: MLIST
Type: UNKNOWN
[oss-security] 20120930 cgit: heap buffer overflow

Source: MLIST
Type: UNKNOWN
[oss-security] 20121003 Re: cgit: heap buffer overflow

Source: BID
Type: UNKNOWN
55724

Source: CCN
Type: BID-55724
cgit 'Author' Field Remote Denial of Service Vulnerability

Source: CCN
Type: Red Hat Bugzilla Bug 820733
avoid stack-smash when processing unusual commit

Source: MISC
Type: UNKNOWN
https://bugzilla.redhat.com/show_bug.cgi?id=820733

Source: XF
Type: UNKNOWN
cgit-author-field-dos(78973)

Vulnerable Configuration:Configuration 1:
  • cpe:/a:lars_hjemli:cgit:0.1:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.2:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.3:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.4:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.5:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.6:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.6.1:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.6.2:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.6.3:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.7:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.7.1:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.7.2:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.8:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.8.1:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.8.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.8.2:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.8.2.1:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.8.2.2:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.8.3:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.8.3.1:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.8.3.2:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.8.3.3:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.8.3.4:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.8.3.5:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.9:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.9.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:0.9.0.2:*:*:*:*:*:*:*
  • OR cpe:/a:lars_hjemli:cgit:*:*:*:*:*:*:*:* (Version <= 0.9.0.3)

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20124465
    V
    CVE-2012-4465
    2022-06-30
    oval:org.opensuse.security:def:112058
    P
    cgit-1.0-1.3 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:105608
    P
    cgit-1.0-1.3 on GA media (Moderate)
    2021-10-01
    BACK
    lars_hjemli cgit 0.1
    lars_hjemli cgit 0.2
    lars_hjemli cgit 0.3
    lars_hjemli cgit 0.4
    lars_hjemli cgit 0.5
    lars_hjemli cgit 0.6
    lars_hjemli cgit 0.6.1
    lars_hjemli cgit 0.6.2
    lars_hjemli cgit 0.6.3
    lars_hjemli cgit 0.7
    lars_hjemli cgit 0.7.1
    lars_hjemli cgit 0.7.2
    lars_hjemli cgit 0.8
    lars_hjemli cgit 0.8.1
    lars_hjemli cgit 0.8.1.1
    lars_hjemli cgit 0.8.2
    lars_hjemli cgit 0.8.2.1
    lars_hjemli cgit 0.8.2.2
    lars_hjemli cgit 0.8.3
    lars_hjemli cgit 0.8.3.1
    lars_hjemli cgit 0.8.3.2
    lars_hjemli cgit 0.8.3.3
    lars_hjemli cgit 0.8.3.4
    lars_hjemli cgit 0.8.3.5
    lars_hjemli cgit 0.9
    lars_hjemli cgit 0.9.0.1
    lars_hjemli cgit 0.9.0.2
    lars_hjemli cgit *