What it is
The product specifies a regular expression in a way that causes data to be improperly matched or compared.
Impact on systems
| Scope | Impact |
|---|---|
| Other | Unexpected State, Varies by Context When the regular expression is not correctly specified, data might have a different format or type than the rest of the program expects, producing resultant weaknesses or errors. |
| Access Control | Bypass Protection Mechanism When the regular expression is used in protection mechanisms such as filtering or validation, this may allow an attacker to bypass the intended restrictions on the incoming data. |
| Access Control | Bypass Protection Mechanism In PHP, regular expression checks can sometimes be bypassed with a null byte, leading to any number of weaknesses. |
How to prevent it
Source: MITRE CWE catalog · Official entry on the MITRE website