CVE Vulnerabilities

CVE-2011-1027

Off-by-one Error

Published: Mar 20, 2011 | Modified: Dec 22, 2023
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu

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 attackers to cause a denial of service (infinite loop) via a string composed of a % (percent) character followed by invalid hex characters, as demonstrated by a %gg sequence.

Weakness

A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.

Affected Software

Name Vendor Start Version End Version
Cgit Lars_hjemli * 0.8.3.4 (including)
Cgit Lars_hjemli 0.1 (including) 0.1 (including)
Cgit Lars_hjemli 0.2 (including) 0.2 (including)
Cgit Lars_hjemli 0.3 (including) 0.3 (including)
Cgit Lars_hjemli 0.4 (including) 0.4 (including)
Cgit Lars_hjemli 0.5 (including) 0.5 (including)
Cgit Lars_hjemli 0.6 (including) 0.6 (including)
Cgit Lars_hjemli 0.6.1 (including) 0.6.1 (including)
Cgit Lars_hjemli 0.6.2 (including) 0.6.2 (including)
Cgit Lars_hjemli 0.6.3 (including) 0.6.3 (including)
Cgit Lars_hjemli 0.7 (including) 0.7 (including)
Cgit Lars_hjemli 0.7.1 (including) 0.7.1 (including)
Cgit Lars_hjemli 0.7.2 (including) 0.7.2 (including)
Cgit Lars_hjemli 0.8 (including) 0.8 (including)
Cgit Lars_hjemli 0.8.1 (including) 0.8.1 (including)
Cgit Lars_hjemli 0.8.1.1 (including) 0.8.1.1 (including)
Cgit Lars_hjemli 0.8.2 (including) 0.8.2 (including)
Cgit Lars_hjemli 0.8.2.1 (including) 0.8.2.1 (including)
Cgit Lars_hjemli 0.8.2.2 (including) 0.8.2.2 (including)
Cgit Lars_hjemli 0.8.3 (including) 0.8.3 (including)
Cgit Lars_hjemli 0.8.3.1 (including) 0.8.3.1 (including)
Cgit Lars_hjemli 0.8.3.2 (including) 0.8.3.2 (including)
Cgit Lars_hjemli 0.8.3.3 (including) 0.8.3.3 (including)

Potential Mitigations

References