cve/2023/CVE-2023-41334.md

18 lines
1.2 KiB
Markdown
Raw Normal View History

2024-05-28 08:49:17 +00:00
### [CVE-2023-41334](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-41334)
![](https://img.shields.io/static/v1?label=Product&message=astropy&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3D%205.3.2%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-77%3A%20Improper%20Neutralization%20of%20Special%20Elements%20used%20in%20a%20Command%20('Command%20Injection')&color=brighgreen)
### 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.
### POC
#### Reference
2024-06-07 17:53:02 +00:00
- https://github.com/astropy/astropy/security/advisories/GHSA-h2x6-5jx5-46hf
2024-05-28 08:49:17 +00:00
#### Github
- https://github.com/NaInSec/CVE-LIST