Define an explicit charset
Summary
All system files generated dynamically must have an explicitly defined character set (charset).
Description
empty
Supported In
This requirement is verified in following services
Plan | Supported |
---|---|
Machine | 🔴 |
Squad | 🟢 |
References
- CAPEC™-242. Code injection
- CWE™-173. Improper handling of alternate encoding
- CERT-J-STR31-C. Guarantee that storage for strings has sufficient space for character data and the null terminator
- MISRA-C-3_2. Character set and corresponding encoding shall be documented
- OWASP ASVS-5_3_2. Output encoding and injection prevention
- CASA-5_3_2. Output Encoding and Injection Prevention
Vulnerabilities
free trial
Search for vulnerabilities in your apps for free with our automated security testing! Start your 21-day free trial and discover the benefits of our Continuous Hacking Machine Plan. If you prefer a full service that includes the expertise of our ethical hackers, don't hesitate to contact us for our Continuous Hacking Squad Plan.