CVE Vulnerabilities

CVE-2011-4357

Use of Externally-Controlled Format String

Published: Dec 10, 2011 | Modified: Aug 29, 2017
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

Format string vulnerability in the p_cgi_error function in python/neo_cgi.c in the Python CGI Kit (neo_cgi) module for Clearsilver 0.10.5 and earlier allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via format string specifiers that are not properly handled when creating CGI error messages using the cgi_error API function.

Weakness

The product uses a function that accepts a format string as an argument, but the format string originates from an external source.

Affected Software

Name Vendor Start Version End Version
Clearsilver Brandon_long 0.9.0 0.9.0
Clearsilver Brandon_long 0.3 0.3
Clearsilver Brandon_long 0.9.2 0.9.2
Clearsilver Brandon_long 0.5 0.5
Clearsilver Brandon_long 0.10.1 0.10.1
Clearsilver Brandon_long 0.10.4 0.10.4
Clearsilver Brandon_long * 0.10.5
Clearsilver Brandon_long 0.8.0 0.8.0
Clearsilver Brandon_long 0.10.3 0.10.3
Clearsilver Brandon_long 0.7.1 0.7.1
Clearsilver Brandon_long 0.9.7 0.9.7
Clearsilver Brandon_long 0.7.2 0.7.2
Clearsilver Brandon_long 0.6 0.6
Clearsilver Brandon_long 0.2 0.2
Clearsilver Brandon_long 0.9.6 0.9.6
Clearsilver Brandon_long 0.9.14 0.9.14
Clearsilver Brandon_long 0.2.1 0.2.1
Clearsilver Brandon_long 0.9.3 0.9.3
Clearsilver Brandon_long 0.7 0.7
Clearsilver Brandon_long 0.8.1 0.8.1
Clearsilver Brandon_long 0.1 0.1
Clearsilver Brandon_long 0.9.1 0.9.1
Clearsilver Brandon_long 0.10.2 0.10.2
Clearsilver Brandon_long 0.4 0.4

Extended Description

When an attacker can modify an externally-controlled format string, this can lead to buffer overflows, denial of service, or data representation problems. It should be noted that in some circumstances, such as internationalization, the set of format strings is externally controlled by design. If the source of these format strings is trusted (e.g. only contained in library files that are only modifiable by the system administrator), then the external control might not itself pose a vulnerability.

Potential Mitigations

References