+V1.4 Memory, String, and Unmanaged Code
---+V1.4.1 Verify that the application uses memory-safe string, safer memory copy and pointer arithmetic to …
---+V1.4.2 Verify that sign, range, and input validation techniques are used to prevent integer overflows.
---+V1.4.3 Verify that dynamically allocated memory and resources are released, and that references or …

V1.4 Memory, String, and Unmanaged Code

The following requirements address risks associated with unsafe memory use, which generally apply when the application uses a systems language or unmanaged code.

In some cases, it may be possible to achieve this by setting compiler flags that enable buffer overflow protections and warnings, including stack randomization and data execution prevention, and that break the build if unsafe pointer, memory, format string, integer, or string operations are found.

1. Přehled

Název Standard
V1.4.1 Verify that the application uses memory-safe string, safer memory copy and pointer arithmetic to …

Verify that the application uses memory-safe string, safer memory copy and pointer arithmetic to detect or prevent stack, buffer, or heap overflows.

V1.4.2 Verify that sign, range, and input validation techniques are used to prevent integer overflows.

Verify that sign, range, and input validation techniques are used to prevent integer overflows.

V1.4.3 Verify that dynamically allocated memory and resources are released, and that references or …

Verify that dynamically allocated memory and resources are released, and that references or pointers to freed memory are removed or set to null to prevent dangling pointers and use-after-free vulnerabilities.

1.1 Odkazy

1.2 Identifikované požadavky

1.3 Související regulace

2. Identifikované požadavky

Požadavky
Zdroj Požadavek

3. Související regulace

Regulace
Zdroj Regulace
  • OWASP -

    EN: Publications of the OWASP Foundation, https://owasp.org/. OWASP® is a registered trademark of the OWASP Foundation, Inc.; GRCA is not affiliated with, nor endorsed by, the OWASP Foundation. Only the versions published by OWASP are authoritative.

    DE: Veröffentlichungen der OWASP Foundation, https://owasp.org/. OWASP® ist eine eingetragene Marke der OWASP Foundation, Inc.; GRCA steht in keiner Verbindung zur OWASP Foundation und wird von ihr nicht unterstützt. Maßgeblich sind allein die von OWASP veröffentlichten Fassungen.