CVE-2023-41334

  • Severity 8.4 HIGH
  • Published
  • Updated
  • Status Analyzed
  • EUVD EUVD-2024-0929
Astropy is a project for astronomy in Python that fosters interoperability between Python astronomy packages. Version 5.3.2 of the Astropy core package is vulnerable to remote code execution due to improper input validation in the `TranformGraph().to_dot_graph` function. A malicious user can provide a command or a script file as a value to the `savelayout` argument, which will be placed as the first value in a list of arguments passed to `subprocess.Popen`.  Although an error will be raised, the command or script will be executed successfully. Version 5.3.3 fixes this issue.
Command Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
8.4 HIGH
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.1
EPSS Score
Percentile: 67.52%
Affected Products (NVD)
VendorProductVersion
astropyastropy
5.3.2
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
astropy
bookworm
no-dsa
bullseye
no-dsa
sid
7.0.0-1
fixed
trixie
7.0.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
astropy
bionic
Fixed 3.0-3ubuntu0.1~esm1
released
focal
Fixed 4.0-4ubuntu1+esm1
released
jammy
Fixed 5.0.2-1ubuntu0.1~esm1
released
noble
not-affected
oracular
not-affected
plucky
not-affected
questing
not-affected
resolute
not-affected
stonking
not-affected