CVE-2023-41334
published high CVSS 3.1 · 8.4astropy vulnerable to RCE in TranformGraph().to_dot_graph function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| astropy | — | astropy= 5.3.2 | Affected | Not stated | GitHub_M |
| astropy_project | — | astropy5.3.2 · Other versions: affected | Affected | Not stated | CISA-ADP |
| Debian | buster | astropy | Advisory build | 3.1.2-2+deb10u1 | DLA-3803-1 |
| Ubuntu | bionic | astropy | Advisory build | 3.0-3ubuntu0.1~esm1 | USN-9133-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-astropyaarch64 | Advisory build | 6.0.0-3.1 | OPENSUSE-SU-2024:13797-1 |
| Ubuntu | focal | astropy | Advisory build | 4.0-4ubuntu1+esm1 | USN-9133-1 |
| Ubuntu | jammy | astropy | Advisory build | 5.0.2-1ubuntu0.1~esm1 | USN-9133-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-astropyppc64le | Advisory build | 6.0.0-3.1 | OPENSUSE-SU-2024:13797-1 |
Show 28 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-astropys390x | Advisory build | 6.0.0-3.1 | OPENSUSE-SU-2024:13797-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-astropyx86_64 | Advisory build | 6.0.0-3.1 | OPENSUSE-SU-2024:13797-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-astropyaarch64 | Advisory build | 6.0.0-3.1 | OPENSUSE-SU-2024:13797-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-astropyppc64le | Advisory build | 6.0.0-3.1 | OPENSUSE-SU-2024:13797-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-astropys390x | Advisory build | 6.0.0-3.1 | OPENSUSE-SU-2024:13797-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-astropyx86_64 | Advisory build | 6.0.0-3.1 | OPENSUSE-SU-2024:13797-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-astropyaarch64 | Advisory build | 6.0.0-3.1 | OPENSUSE-SU-2024:13797-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-astropyppc64le | Advisory build | 6.0.0-3.1 | OPENSUSE-SU-2024:13797-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-astropys390x | Advisory build | 6.0.0-3.1 | OPENSUSE-SU-2024:13797-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-astropyx86_64 | Advisory build | 6.0.0-3.1 | OPENSUSE-SU-2024:13797-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-astropyaarch64 | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2026:11353-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-astropyppc64le | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2026:11353-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-astropys390x | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2026:11353-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-astropyx86_64 | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2026:11353-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-astropyaarch64 | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2026:11353-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-astropyppc64le | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2026:11353-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-astropys390x | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2026:11353-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-astropyx86_64 | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2026:11353-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-astropyaarch64 | Advisory build | 6.0.0-3.1 | OPENSUSE-SU-2024:13797-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-astropyppc64le | Advisory build | 6.0.0-3.1 | OPENSUSE-SU-2024:13797-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-astropys390x | Advisory build | 6.0.0-3.1 | OPENSUSE-SU-2024:13797-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-astropyx86_64 | Advisory build | 6.0.0-3.1 | OPENSUSE-SU-2024:13797-1 |
| Ubuntu | bionic | astropy-utils | Advisory build | 3.0-3ubuntu0.1~esm1 | USN-9133-1 |
| Ubuntu | bionic | python3-astropy | Advisory build | 3.0-3ubuntu0.1~esm1 | USN-9133-1 |
| Ubuntu | focal | astropy-utils | Advisory build | 4.0-4ubuntu1+esm1 | USN-9133-1 |
| Ubuntu | focal | python3-astropy | Advisory build | 4.0-4ubuntu1+esm1 | USN-9133-1 |
| Ubuntu | jammy | astropy-utils | Advisory build | 5.0.2-1ubuntu0.1~esm1 | USN-9133-1 |
| Ubuntu | jammy | python3-astropy | Advisory build | 5.0.2-1ubuntu0.1~esm1 | USN-9133-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| astropy | astropy | = 5.3.2 (affected) | GitHub_M · cna |
| astropy_project | astropy | 5.3.2 (affected)Default: affected | CISA-ADP · adp |
Weaknesses
1- CWE-77 CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
3Provider assertions
3GitHub_M · cna
astropy vulnerable to RCE in TranformGraph().to_dot_graph function
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 10c854bdd45be3cd403c23fd30f6ae3478d86d6f6a4fda7c106196e69ecc7743
- Ingested
- 23 Sep 2026, 08:11:36 UTC
- Source record
- Official CVE record