CVE catalog

CVE-2023-41334

astropy: CVE-2023-41334

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
1.13% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianastropysid8.0.1-3fixed
Debianastropyforky8.0.1-3fixed
Debianastropytrixie7.0.1-3fixed
Debianastropybookworm5.2.1-2+deb12u1vulnerable
Opensusepython-astropytumbleweed8.0.1-1.1fixed
Ubuntuastropy18.043.0-3vulnerable
Ubuntuastropy20.043.2.1-1build1vulnerable
Ubuntuastropy20.043.2.2-1ubuntu1vulnerable
Ubuntuastropy20.044.0-3vulnerable
Ubuntuastropy20.044.0-4ubuntu1vulnerable
Ubuntuastropy22.044.2-6ubuntu1vulnerable
Ubuntuastropy22.045.0.1-1vulnerable
Ubuntuastropy22.045.0.2-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianastropysourcesid5.3.3-1not yet assignedNot reportedNot reported
Debianastropysourceforky5.3.3-1not yet assignedNot reportedNot reported
Debianastropysourcetrixie5.3.3-1not yet assignedNot reportedNot reported
Debianastropysourcebookworm(unfixed)not yet assignedNot reportedNot reported
Opensusepython-astropyrpmtumbleweed8.0.1-1.1Not reportedOPENSUSE-SU-2026:11353-1Not reported

Notes

[bookworm] astropy: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References