USN-5252-1

Source
https://ubuntu.com/security/notices/USN-5252-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5252-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-5252-1
Upstream
Related
Published
2022-01-25T17:58:39.382860Z
Modified
2025-10-13T04:35:44Z
Summary
policykit-1 vulnerability
Details

It was discovered that the PolicyKit pkexec tool incorrectly handled command-line arguments. A local attacker could use this issue to escalate privileges to an administrator.

References

Affected packages

Ubuntu:18.04:LTS / policykit-1

Package

Name
policykit-1
Purl
pkg:deb/ubuntu/policykit-1@0.105-20ubuntu0.18.04.6?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.105-20ubuntu0.18.04.6

Affected versions

0.*

0.105-18
0.105-20
0.105-20ubuntu0.18.04.1
0.105-20ubuntu0.18.04.4
0.105-20ubuntu0.18.04.5

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "0.105-20ubuntu0.18.04.6",
            "binary_name": "gir1.2-polkit-1.0"
        },
        {
            "binary_version": "0.105-20ubuntu0.18.04.6",
            "binary_name": "libpolkit-agent-1-0"
        },
        {
            "binary_version": "0.105-20ubuntu0.18.04.6",
            "binary_name": "libpolkit-agent-1-dev"
        },
        {
            "binary_version": "0.105-20ubuntu0.18.04.6",
            "binary_name": "libpolkit-backend-1-0"
        },
        {
            "binary_version": "0.105-20ubuntu0.18.04.6",
            "binary_name": "libpolkit-backend-1-dev"
        },
        {
            "binary_version": "0.105-20ubuntu0.18.04.6",
            "binary_name": "libpolkit-gobject-1-0"
        },
        {
            "binary_version": "0.105-20ubuntu0.18.04.6",
            "binary_name": "libpolkit-gobject-1-dev"
        },
        {
            "binary_version": "0.105-20ubuntu0.18.04.6",
            "binary_name": "policykit-1"
        }
    ]
}

Database specific

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

Ubuntu:20.04:LTS / policykit-1

Package

Name
policykit-1
Purl
pkg:deb/ubuntu/policykit-1@0.105-26ubuntu1.2?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.105-26ubuntu1.2

Affected versions

0.*

0.105-26ubuntu1
0.105-26ubuntu1.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "0.105-26ubuntu1.2",
            "binary_name": "gir1.2-polkit-1.0"
        },
        {
            "binary_version": "0.105-26ubuntu1.2",
            "binary_name": "libpolkit-agent-1-0"
        },
        {
            "binary_version": "0.105-26ubuntu1.2",
            "binary_name": "libpolkit-agent-1-dev"
        },
        {
            "binary_version": "0.105-26ubuntu1.2",
            "binary_name": "libpolkit-gobject-1-0"
        },
        {
            "binary_version": "0.105-26ubuntu1.2",
            "binary_name": "libpolkit-gobject-1-dev"
        },
        {
            "binary_version": "0.105-26ubuntu1.2",
            "binary_name": "policykit-1"
        }
    ]
}

Database specific

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