CVE-2023-41334
astropy vulnerable to RCE in TranformGraph().to_dot_graph function
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.
INFO
Published Date :
March 18, 2024, 7:15 p.m.
Last Modified :
Dec. 5, 2025, 4:44 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- There is no known solution at this time.
Public PoC/Exploit Available at Github
CVE-2023-41334 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-41334.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-41334 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-41334
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Ini adalah repository kumpulan CVE v.5
allcve cve cvelist newcve
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-41334 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-41334 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Dec. 05, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:astropy:astropy:5.3.2:*:*:*:*:python:*:* Added Reference Type CVE: https://github.com/astropy/astropy/blob/9b97d98802ee4f5350a62b681c35d8687ee81d91/astropy/coordinates/transformations.py#L539 Types: Product Added Reference Type GitHub, Inc.: https://github.com/astropy/astropy/blob/9b97d98802ee4f5350a62b681c35d8687ee81d91/astropy/coordinates/transformations.py#L539 Types: Product Added Reference Type CVE: https://github.com/astropy/astropy/commit/22057d37b1313f5f5a9b5783df0a091d978dccb5 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/astropy/astropy/commit/22057d37b1313f5f5a9b5783df0a091d978dccb5 Types: Patch Added Reference Type CVE: https://github.com/astropy/astropy/security/advisories/GHSA-h2x6-5jx5-46hf Types: Exploit, Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/astropy/astropy/security/advisories/GHSA-h2x6-5jx5-46hf Types: Exploit, Vendor Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/astropy/astropy/blob/9b97d98802ee4f5350a62b681c35d8687ee81d91/astropy/coordinates/transformations.py#L539 Added Reference https://github.com/astropy/astropy/commit/22057d37b1313f5f5a9b5783df0a091d978dccb5 Added Reference https://github.com/astropy/astropy/security/advisories/GHSA-h2x6-5jx5-46hf -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Received by [email protected]
Mar. 18, 2024
Action Type Old Value New Value Added 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. Added Reference GitHub, Inc. https://github.com/astropy/astropy/security/advisories/GHSA-h2x6-5jx5-46hf [No types assigned] Added Reference GitHub, Inc. https://github.com/astropy/astropy/commit/22057d37b1313f5f5a9b5783df0a091d978dccb5 [No types assigned] Added Reference GitHub, Inc. https://github.com/astropy/astropy/blob/9b97d98802ee4f5350a62b681c35d8687ee81d91/astropy/coordinates/transformations.py#L539 [No types assigned] Added CWE GitHub, Inc. CWE-77 Added CVSS V3.1 GitHub, Inc. AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H