Home / Vulnerability Database / C-sharp : Unsafe format string
C#
C-sharp : Unsafe format string
Classification
OWASP Top 10 2013
OWASP Top 10 2017
OWASP Top 10 2021
OWASP ASVS
PCI DSS 4.0
HIPAA
CWE
CWE/SANS Top 25 2011
Overview
The application uses an insecure format string. If formatting arguments come from an untrusted source, an attacker can disrupt the structure of the string or cause a buffer overflow, which leads to application crash or valuable data leak.
String format functions accept any number of arguments and can not determine how many arguments are passed in a particular call. If you pass fewer arguments than the format string provides, the missing data may be taken from the stack, which, in general, contains the data not related to the current call.
MEDIUM
DerScanner Severity Score
Do you want to fix C-sharp : Unsafe format string in your application?
See also
C#
C-sharp : JWT: None Algorithm
C#
C-sharp : Insecure data transmission: Database
C#
