UBUNTU-CVE-2023-41334

Source
https://ubuntu.com/security/CVE-2023-41334
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-41334.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2023-41334
Related
Published
2024-03-18T19:15:00Z
Modified
2024-10-15T14:11:44Z
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:18.04:LTS / astropy

Package

Name
astropy
Purl
pkg:deb/ubuntu/astropy?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.0-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / astropy

Package

Name
astropy
Purl
pkg:deb/ubuntu/astropy?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.2.1-1build1
3.2.2-1ubuntu1

4.*

4.0-3
4.0-4ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / astropy

Package

Name
astropy
Purl
pkg:deb/ubuntu/astropy?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.2-6ubuntu1

5.*

5.0.1-1
5.0.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / astropy

Package

Name
astropy
Purl
pkg:deb/ubuntu/astropy?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.0.0-1ubuntu2

Affected versions

5.*

5.3.2-1
5.3.4-2

6.*

6.0.0-1
6.0.0-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "6.0.0-1ubuntu2",
            "binary_name": "astropy-utils"
        },
        {
            "binary_version": "6.0.0-1ubuntu2",
            "binary_name": "python-astropy-doc"
        },
        {
            "binary_version": "6.0.0-1ubuntu2",
            "binary_name": "python3-astropy"
        },
        {
            "binary_version": "6.0.0-1ubuntu2",
            "binary_name": "python3-astropy-dbgsym"
        }
    ]
}