ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 does not properly account for symbolic links in the IsRightsAuthorizedByName security policy check, allowing configured policy restrictions to be bypassed. Local attackers who can create a symlink can point it at a policy-restricted path to evade the configured policy.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Imagemagick | Imagemagick | * | 6.9.13-58 (excluding) |
| Imagemagick | Imagemagick | 7.0.0-0 (including) | 7.1.2-33 (excluding) |
| Imagemagick | Ubuntu | esm-apps/focal | * |
| Imagemagick | Ubuntu | esm-apps/jammy | * |
| Imagemagick | Ubuntu | esm-apps/noble | * |
| Imagemagick | Ubuntu | esm-apps/resolute | * |
| Imagemagick | Ubuntu | esm-infra-legacy/trusty | * |
| Imagemagick | Ubuntu | esm-infra-legacy/xenial | * |
| Imagemagick | Ubuntu | esm-infra/bionic | * |
| Imagemagick | Ubuntu | jammy | * |
| Imagemagick | Ubuntu | noble | * |
| Imagemagick | Ubuntu | resolute | * |
| Imagemagick | Ubuntu | stonking | * |
| Imagemagick | Ubuntu | upstream | * |