---
title: "CVE-2023-41334\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2023-41334?format=md
keywords: index, follow
---

# CVE-2023-41334

Publication date 18 March 2024

Last updated 4 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.4 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2023-41334?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| astropy | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 22.04 LTS jammy | Needs evaluation |
| 20.04 LTS focal | Ignored end of standard support, was needs-triage |
| 18.04 LTS bionic | Needs evaluation |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.4 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.4 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-41334)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-41334)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2023-41334)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2023-41334)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2023-41334>
* <https://github.com/astropy/astropy/security/advisories/GHSA-h2x6-5jx5-46hf>
* <https://github.com/astropy/astropy/commit/22057d37b1313f5f5a9b5783df0a091d978dccb5 (v5.3.3)>
