Last Modified: Nov 02, 2023
Known Affected Versions:
16.1.3, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 126.96.36.199, 16.1.4, 188.8.131.52
Opened: Dec 08, 2022 Severity: 3-Major
Pattern matching in JSON schema has an issue of unable to match string in a specific pattern expression.
The JSON content profile fails matching legitimate JSON token with JSON schema, resulting a false positive.
When all the following conditions are satisfied: - a non-basic latin character is in bracket expression  - the bracket expression is led by ^ or followed by $ - there is at least one character just before or after bracket expression Following are examples for pattern that has issue: - /^[€]1/ - /1[€]$/ The bracket would have multiple characters in real scenario. Following are examples for patterns that do not have the issue: - /^[€]/ - /[€]1/ - /^€1/