Skip to content
OpenAdvisories

Weakness (CWE)

CWE-1260: Improper Handling of Overlap Between Protected Memory Ranges

Base

The product allows address regions to overlap, which can result in the bypassing of intended memory protection.

More detail

Isolated memory regions and access control (read/write) policies are used by hardware to protect privileged software. Software components are often allowed to change or remap memory region definitions in order to enable flexible and dynamically changeable memory management by system software.

How to prevent it (2 mitigations)
  1. Architecture and Design

    Ensure that memory regions are isolated as intended and that access control (read/write) policies are used by hardware to protect privileged software.

  2. Implementation

    For all of the programmable memory protection regions, the memory protection unit (MPU) design can define a priority scheme.

    For example: if three memory regions can be programmed (Region_0, Region_1, and Region_2), the design can enforce a priority scheme, such that, if a system address is within multiple regions, then the region with the lowest ID takes priority and the access-control policy of that region will be applied. In some MPU designs, the priority scheme can also be programmed by trusted software.

    Hardware logic or trusted firmware can also check for region definitions and block programming of memory regions with overlapping addresses.

    The memory-access-control-check filter can also be designed to apply a policy filter to all of the overlapping ranges, i.e., if an address is within Region_0 and Region_1, then access to this address is only granted if both Region_0 and Region_1 policies allow the access.

Source: MITRE CWE-1260

5 results · Clear filters · Feed

  • High 7.0

    Improper handling of overlap between protected memory ranges for some Intel(R) Xeon(R) 6 processors when using Intel(R)…

  • High 7.9

    Improper handling of overlap between protected memory ranges for some Intel(R) Xeon(R) 6 processor with Intel(R) TDX ma…

  • High 7.5

    Memory safety bugs fixed in Firefox 136, Thunderbird 136, Firefox ESR 115.21, Firefox ESR 128.8, and Thunderbird 128.8

    Memory safety bugs present in Firefox 135, Thunderbird 135, Firefox ESR 115.20, Firefox ESR 128.7, and Thunderbird 128.7. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to…

  • High 8.1

    Unconfigured memory protection modules in Motorola MTM5000

    Motorola MTM5000 series firmwares lack properly configured memory protection of pages shared between the OMAP-L138 ARM and DSP cores. The SoC provides two memory protection units, MPU1 and MPU2, to enforce the trust boundary between the two cores. Since both …

  • High 7.8

    Windows Kernel Elevation of Privilege Vulnerability

    An elevation of privilege vulnerability exists when the Windows kernel fails to properly handle objects in memory. An attacker who successfully exploited this vulnerability could run arbitrary code in kernel mode. An attacker could then install programs; view…