UBTU-22-213025 - Ubuntu 22.04 LTS must implement nonexecutable data to protect its memory from unauthorized code execution.

Information

Some adversaries launch attacks with the intent of executing code in nonexecutable regions of memory or in memory locations that are prohibited. Security safeguards employed to protect memory include, for example, data execution prevention and address space layout randomization. Data execution prevention safeguards can either be hardware-enforced or software-enforced with hardware providing the greater strength of mechanism.

Examples of attacks are buffer overflow attacks.

Solution

Configure Ubuntu 22.04 LTS to enable NX.

If the installed CPU is hardware capable of NX protection, check if the system's BIOS/UEFI setup configuration permits toggling the 'NX bit' or 'no execution bit', and set it to 'enabled'.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_22-04_LTS_V2R2_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-16, CAT|II, CCI|CCI-002824, Rule-ID|SV-260475r958928_rule, STIG-ID|UBTU-22-213025, Vuln-ID|V-260475

Plugin: Unix

Control ID: 3861532f499f4f9843ba63f83b521fb9d0bc23a0f1f6bb96e961d82d8f93fb57