GitHub Advisoryadvisory · PyPI

GHSA-3f63-hfp8-52jq Arbitrary Code Execution in Pillow

CRITICAL Published 2024-01-19 Modified 2024-11-18 Official page ↗
Aliases
CVE-2023-50447
Ecosystem
PyPI
Packages
Pillow
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94, CWE-95
Reviewed
2024-01-22

Affected packages

• PyPI Pillow: < 10.2.0 → fixed in 10.2.0

Description

Pillow through 10.1.0 allows PIL.ImageMath.eval Arbitrary Code Execution via the environment parameter, a different vulnerability than CVE-2022-22817 (which was about the expression parameter).

Related

Alias · CVE (1)

  • CVE-2023-50447 Pillow through 10.1.0 allows PIL.ImageMath.eval Arbitrary Code Execution via the environment parameter, a different vulnerability than… vulnerability

Weakness · CWE (2)

  • CWE-94 Improper Control of Generation of Code weakness
  • CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code weakness

References