CWE-1231: Improper Prevention of Lock Bit Modification
Filter
The product uses a trusted lock bit for restricting access to registers, address regions, or other resources, but the product does not prevent the value of the lock bit from being modified after it has been set.
What the weakness is: CWE-1231 at MITRE. All weaknesses
Related attack patterns (CAPEC): 1
- CAPEC-680 Exploitation of Improperly Controlled Registers Likelihood: Medium · Severity: High
The attack patterns MITRE's CAPEC relates to CWE-1231, as MITRE names them. Credits.
Ask an AI about CWE-1231
Show the prompt
Explain CWE-1231: Improper Prevention of Lock Bit Modification and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/1231.html and https://cve.bz/cve/cwe/1231?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
- 6.7CVE-2025-52536EPSS 0.2%
Improper Prevention of Lock Bit Modification in SEV firmware could allow a privileged attacker to downgrade firmware potentially resulting in a loss of integrity.
- 7.5CVE-2024-36354EPSS 0.2%
Improper input validation for DIMM serial presence detect (SPD) metadata could allow an attacker with physical access, ring0 access on a system with a non-compliant DIMM, or control over the Root of Trust for BIOS update, to bypass SMM iso…
- 7.8CVE-2022-42285EPSS 0.2%
DGX A100 SBIOS contains a vulnerability in the Pre-EFI Initialization (PEI)phase, where a privileged user can disable SPI flash protection, which may lead to denial of service, escalation of privileges, or data tampering.