CVEvulnerability

CVE-2012-4465

6.5 MEDIUM Published 2012-10-10 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2012-10-10
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
6.5 MEDIUM — AV:N/AC:L/Au:S/C:P/I:P/A:P
Weaknesses
CWE-119

Description

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.

Affected configurations

• lars hjemli cgit (<= 0.9.0.3) • 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

Related

Weakness · CWE (1)

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness

References