USN-5391-1

Source
https://ubuntu.com/security/notices/USN-5391-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5391-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5391-1
Upstream
Related
Published
2022-04-27T09:32:18.406221Z
Modified
2025-10-13T04:35:53Z
Summary
libsepol vulnerabilities
Details

Nicolas Iooss discovered that libsepol incorrectly handled memory when handling policies. An attacker could possibly use this issue to cause a crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2021-36084)

It was discovered that libsepol incorrectly handled memory when handling policies. An attacker could possibly use this issue to cause a crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2021-36085)

It was discovered that libsepol incorrectly handled memory when handling policies. An attacker could possibly use this issue to cause a crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affects Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 21.10. (CVE-2021-36086)

It was discovered that libsepol incorrectly validated certain data, leading to a heap overflow. An attacker could possibly use this issue to cause a crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2021-36087)

References

Affected packages

Ubuntu:Pro:16.04:LTS / libsepol

Package

Name
libsepol
Purl
pkg:deb/ubuntu/libsepol@2.4-2ubuntu0.1~esm1?arch=source&distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4-2ubuntu0.1~esm1

Affected versions

2.*

2.3-2
2.4-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2.4-2ubuntu0.1~esm1",
            "binary_name": "libsepol1"
        },
        {
            "binary_version": "2.4-2ubuntu0.1~esm1",
            "binary_name": "libsepol1-dev"
        },
        {
            "binary_version": "2.4-2ubuntu0.1~esm1",
            "binary_name": "sepol-utils"
        }
    ]
}

Database specific

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

Ubuntu:18.04:LTS / libsepol

Package

Name
libsepol
Purl
pkg:deb/ubuntu/libsepol@2.7-1ubuntu0.1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7-1ubuntu0.1

Affected versions

2.*

2.7-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "2.7-1ubuntu0.1",
            "binary_name": "libsepol1"
        },
        {
            "binary_version": "2.7-1ubuntu0.1",
            "binary_name": "libsepol1-dev"
        },
        {
            "binary_version": "2.7-1ubuntu0.1",
            "binary_name": "sepol-utils"
        }
    ]
}

Database specific

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

Ubuntu:20.04:LTS / libsepol

Package

Name
libsepol
Purl
pkg:deb/ubuntu/libsepol@3.0-1ubuntu0.1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0-1ubuntu0.1

Affected versions

2.*

2.9-2

3.*

3.0-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.0-1ubuntu0.1",
            "binary_name": "libsepol1"
        },
        {
            "binary_version": "3.0-1ubuntu0.1",
            "binary_name": "libsepol1-dev"
        },
        {
            "binary_version": "3.0-1ubuntu0.1",
            "binary_name": "sepol-utils"
        }
    ]
}

Database specific

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