A regex with catastrophic backtracking lets small inputs consume unbounded CPU.
Avoid nested quantifiers; use RE2-style linear engines for untrusted input; cap input length.
MITRE ATT&CK techniques associated with this weakness class (mapped via MITRE CAPEC). A vulnerability of this type could let an adversary carry out:
A stage-by-stage walkthrough of the attack, mapped to the real MITRE ATT&CK tactics for this weakness — what the attacker is trying to do, what's at risk (what can be stolen or damaged), and how you defend. Understanding the playbook is how you shut it down.
Cause damage — destroy, encrypt, deny, or manipulate.
Availability and integrity: ransomware encryption, data wiping, or service denial.
Tested offline backups, integrity checks, and rate/abuse limiting.
This is a defensive, conceptual walkthrough for education — stages reflect MITRE ATT&CK tactics associated with this weakness class, not a working exploit. Not every attack uses every stage.