file 'softmagic.c' Format String Vulnerability
BID:46978
Info
file 'softmagic.c' Format String Vulnerability
| Bugtraq ID: | 46978 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jan 17 2011 12:00AM |
| Updated: | Jan 17 2011 12:00AM |
| Credit: | Reuben Thomas |
| Vulnerable: |
file file 5.04 file file 5.03 file file 5.02 file file 5.01 |
| Not Vulnerable: |
file file 5.05 |
Discussion
file 'softmagic.c' Format String Vulnerability
The 'file' command is prone to an unspecified format-string vulnerability because it fails to properly sanitize user-supplied input before passing it as a format specifier to a formatted-printing function.
An attacker may exploit this issue to execute arbitrary code in the context of the vulnerable application. Failed exploit attempts will likely result in a denial-of-service condition.
Versions prior to file 5.05 are vulnerable.
The 'file' command is prone to an unspecified format-string vulnerability because it fails to properly sanitize user-supplied input before passing it as a format specifier to a formatted-printing function.
An attacker may exploit this issue to execute arbitrary code in the context of the vulnerable application. Failed exploit attempts will likely result in a denial-of-service condition.
Versions prior to file 5.05 are vulnerable.
Solution / Fix
file 'softmagic.c' Format String Vulnerability
Solution:
Updates are available. Please see the references for details.
Solution:
Updates are available. Please see the references for details.
References
file 'softmagic.c' Format String Vulnerability
References:
References:
- file Homepage (file)
- file-5.05 is now available (Christos Zoulas )