USN-5325-1

Source
https://ubuntu.com/security/notices/USN-5325-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5325-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5325-1
Upstream
Related
Published
2022-03-14T17:30:22.832631Z
Modified
2025-10-13T04:35:49Z
Summary
zsh vulnerabilities
Details

Sam Foxman discovered that Zsh incorrectly handled certain inputs. An attacker could possibly use this issue to regain dropped privileges. (CVE-2019-20044)

It was discovered that Zsh incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code. (CVE-2021-45444)

References

Affected packages

Ubuntu:Pro:16.04:LTS / zsh

Package

Name
zsh
Purl
pkg:deb/ubuntu/zsh@5.1.1-1ubuntu2.3+esm1?arch=source&distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.1.1-1ubuntu2.3+esm1

Affected versions

5.*

5.1.1-1ubuntu1
5.1.1-1ubuntu2
5.1.1-1ubuntu2.1
5.1.1-1ubuntu2.2
5.1.1-1ubuntu2.3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "zsh",
            "binary_version": "5.1.1-1ubuntu2.3+esm1"
        },
        {
            "binary_name": "zsh-common",
            "binary_version": "5.1.1-1ubuntu2.3+esm1"
        },
        {
            "binary_name": "zsh-dev",
            "binary_version": "5.1.1-1ubuntu2.3+esm1"
        },
        {
            "binary_name": "zsh-static",
            "binary_version": "5.1.1-1ubuntu2.3+esm1"
        }
    ]
}

Database specific

{
    "cves_map": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "cves": [
            {
                "severity": [
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                        "type": "Ubuntu",
                        "score": "low"
                    }
                ],
                "id": "CVE-2019-20044"
            },
            {
                "severity": [
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                    },
                    {
                        "type": "Ubuntu",
                        "score": "low"
                    }
                ],
                "id": "CVE-2021-45444"
            }
        ]
    }
}

Ubuntu:18.04:LTS / zsh

Package

Name
zsh
Purl
pkg:deb/ubuntu/zsh@5.4.2-3ubuntu3.2?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.4.2-3ubuntu3.2

Affected versions

5.*

5.2-5ubuntu1
5.4.2-3ubuntu1
5.4.2-3ubuntu2
5.4.2-3ubuntu3
5.4.2-3ubuntu3.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "zsh",
            "binary_version": "5.4.2-3ubuntu3.2"
        },
        {
            "binary_name": "zsh-common",
            "binary_version": "5.4.2-3ubuntu3.2"
        },
        {
            "binary_name": "zsh-dev",
            "binary_version": "5.4.2-3ubuntu3.2"
        },
        {
            "binary_name": "zsh-static",
            "binary_version": "5.4.2-3ubuntu3.2"
        }
    ]
}

Database specific

{
    "cves_map": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "cves": [
            {
                "severity": [
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                        "type": "Ubuntu",
                        "score": "low"
                    }
                ],
                "id": "CVE-2019-20044"
            },
            {
                "severity": [
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                    },
                    {
                        "type": "Ubuntu",
                        "score": "low"
                    }
                ],
                "id": "CVE-2021-45444"
            }
        ]
    }
}

Ubuntu:20.04:LTS / zsh

Package

Name
zsh
Purl
pkg:deb/ubuntu/zsh@5.8-3ubuntu1.1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.8-3ubuntu1.1

Affected versions

5.*

5.7.1-1ubuntu2
5.8-2ubuntu2
5.8-3ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "zsh",
            "binary_version": "5.8-3ubuntu1.1"
        },
        {
            "binary_name": "zsh-common",
            "binary_version": "5.8-3ubuntu1.1"
        },
        {
            "binary_name": "zsh-dev",
            "binary_version": "5.8-3ubuntu1.1"
        },
        {
            "binary_name": "zsh-static",
            "binary_version": "5.8-3ubuntu1.1"
        }
    ]
}

Database specific

{
    "cves_map": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "cves": [
            {
                "severity": [
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                    },
                    {
                        "type": "Ubuntu",
                        "score": "low"
                    }
                ],
                "id": "CVE-2021-45444"
            }
        ]
    }
}