[MDEV-28838] password_reuse_check plugin mixes username and password Created: 2022-06-14 Updated: 2023-11-27 Resolved: 2022-07-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Plugins |
| Affects Version/s: | 10.7, 10.8, 10.9 |
| Fix Version/s: | 10.7.5, 10.8.4, 10.9.2 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Sergei Golubchik | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
password_reuse_check plugin cannot distinguish between username "foo" and password "bar" and username "foob" and password "ar". To fix that, the string length can be added to the buffer first. Like:
|
| Comments |
| Comment by Oleksandr Byelkin [ 2022-06-29 ] | |||||||||||||||||||||||||||
|
test:
| |||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2022-06-29 ] | |||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2022-07-05 ] | |||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2022-07-05 ] | |||||||||||||||||||||||||||
|
124de673a6a4a1205908eea420f24c8297576924 is ok to push |