Closed ImanSharaf closed 1 week ago
Even if the application language is safe, you might have some native code for some hot paths. Moreover when using WebAssembly, you might have client-side C or C++ code and this requirement might be partially relevant in this case.
On the other hand, if find the requirement too strict ("all available buffer overflow protections and warnings".)
Could be say something such as:
Verify that some mitigations are in place to protect against memory corruption such as buffer overflows or use-after-free if memory unsafe code is used.
Maybe it is a bit niche? Verifiable?
If we still want to have a requirement about that, it does not seem to be configuration issue and maybe something in V10.
This is just a dev issue and not a must for secure software. Also, buffer overflow is a very rare issue in web languages.
ASVS is getting beefy, I really suggest we go with @ImanSharaf and delete it.
For sure, buffer overflow is a very rare issue in web languages.
@ryarmst what do you think about this?
A few notes:
Ultimately, based on the above, my opinion is to remove.
In principle it is in scope because it is not so much the build process but rather a characteristic that is built into the application by the build process, i.e. it becomes a part of the way the compiled application works.
We do have requirements related to unsafe code here: https://github.com/OWASP/ASVS/blob/master/5.0/en/0x13-V5-Validation-Sanitization-Encoding.md#v54-memory-string-and-unmanaged-code
I think we should keep this but make it L3
As discussed previously in item #803, we established that anything outside the realm of web applications is considered out of scope. This aligns with the fact that modern application development rarely, if ever, involves languages like C or C++ for web applications, where such low-level memory protections are relevant.
Given the current landscape of web development, where higher-level languages and managed frameworks are typically employed, this item seems outdated and unnecessary. Removing it will streamline ASVS to better reflect current industry standards and practices.