nixpkgs icon indicating copy to clipboard operation
nixpkgs copied to clipboard

ImageMagick has a Path Policy TOCTOU symlink race bypass

Open nixpkgs-security-tracker opened this issue 8 months ago • 1 comments

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, domain="path" authorization is checked before final file open/use. A symlink swap between check-time and use-time bypasses policy-denied read/write. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41.

CVSS CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
  • CVSS version: 3.1
  • Attack Vector (AV): Local (L)
  • Attack Complexity (AC): High (H)
  • Privileges Required (PR): Low (L)
  • User Interaction (UI): None (N)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): High (H)
  • Integrity (I): High (H)
  • Availability (A): None (N)
Affected packages

Additional comment

https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-493f-jh8w-qhx3

Fixed by #498956

MiniHarinn avatar Mar 14 '26 14:03 MiniHarinn