[MDEV-18440] Information_schema.check_constraints possible data leak Created: 2019-01-31 Updated: 2019-12-13 Resolved: 2019-12-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Information Schema |
| Affects Version/s: | 10.2, 10.3 |
| Fix Version/s: | 10.2.31, 10.3.22, 10.4.12 |
| Type: | Bug | Priority: | Major |
| Reporter: | Vicențiu Ciorbaru | Assignee: | Anel Husakovic |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
information_schema.check_constraints can leak unwanted information via check constraints definitions. For example, a user can infer column names from a table:
This will print, when logged in as user foo:
So now, user foo knows table t1 has a `b` column. |
| Comments |
| Comment by Anel Husakovic [ 2019-12-13 ] |
|
Pushed with 8129ff14407826 on 10.2 , 193b5ed50bc203a on 10.3 |