USN-4991-1

Source
https://ubuntu.com/security/notices/USN-4991-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4991-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-4991-1
Related
Published
2021-06-17T14:59:21.897148Z
Modified
2021-06-17T14:59:21.897148Z
Summary
libxml2 vulnerabilities
Details

Yunho Kim discovered that libxml2 incorrectly handled certain error conditions. A remote attacker could exploit this with a crafted XML file to cause a denial of service, or possibly cause libxml2 to expose sensitive information. This issue only affected Ubuntu 14.04 ESM, and Ubuntu 16.04 ESM. (CVE-2017-8872)

Zhipeng Xie discovered that libxml2 incorrectly handled certain XML schemas. A remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 ESM, Ubuntu 16.04 ESM, and Ubuntu 18.04 LTS. (CVE-2019-20388)

It was discovered that libxml2 incorrectly handled invalid UTF-8 input. A remote attacker could possibly exploit this with a crafted XML file to cause libxml2 to crash, resulting in a denial of service. This issue only affected Ubuntu 14.04 ESM, Ubuntu 16.04 ESM, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 20.10. (CVE-2020-24977)

It was discovered that libxml2 incorrectly handled invalid UTF-8 input. A remote attacker could possibly exploit this with a crafted XML file to cause libxml2 to crash, resulting in a denial of service. (CVE-2021-3517)

It was discovered that libxml2 did not properly handle certain crafted XML files. A local attacker could exploit this with a crafted input to cause libxml2 to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2021-3516, CVE-2021-3518)

It was discovered that libxml2 incorrectly handled error states. A remote attacker could exploit this with a crafted XML file to cause libxml2 to crash, resulting in a denial of service. (CVE-2021-3537)

Sebastian Pipping discovered that libxml2 did not properly handle certain crafted XML files. A remote attacker could exploit this with a crafted XML file to cause libxml2 to crash, resulting in a denial of service. This issue only affected Ubuntu 20.04 LTS, Ubuntu 20.10, and Ubuntu 21.04. (CVE-2021-3541)

References

Affected packages

Ubuntu:Pro:14.04:LTS / libxml2

Package

Name
libxml2
Purl
pkg:deb/ubuntu/libxml2?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.1+dfsg1-3ubuntu4.13+esm2

Affected versions

2.*

2.9.1+dfsg1-3ubuntu2
2.9.1+dfsg1-3ubuntu3
2.9.1+dfsg1-3ubuntu4
2.9.1+dfsg1-3ubuntu4.1
2.9.1+dfsg1-3ubuntu4.2
2.9.1+dfsg1-3ubuntu4.3
2.9.1+dfsg1-3ubuntu4.4
2.9.1+dfsg1-3ubuntu4.5
2.9.1+dfsg1-3ubuntu4.6
2.9.1+dfsg1-3ubuntu4.7
2.9.1+dfsg1-3ubuntu4.8
2.9.1+dfsg1-3ubuntu4.9
2.9.1+dfsg1-3ubuntu4.10
2.9.1+dfsg1-3ubuntu4.11
2.9.1+dfsg1-3ubuntu4.12
2.9.1+dfsg1-3ubuntu4.13
2.9.1+dfsg1-3ubuntu4.13+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm2",
            "binary_name": "libxml2"
        },
        {
            "binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm2",
            "binary_name": "libxml2-dbg"
        },
        {
            "binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm2",
            "binary_name": "libxml2-dbgsym"
        },
        {
            "binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm2",
            "binary_name": "libxml2-dev"
        },
        {
            "binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm2",
            "binary_name": "libxml2-dev-dbgsym"
        },
        {
            "binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm2",
            "binary_name": "libxml2-doc"
        },
        {
            "binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm2",
            "binary_name": "libxml2-udeb"
        },
        {
            "binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm2",
            "binary_name": "libxml2-udeb-dbgsym"
        },
        {
            "binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm2",
            "binary_name": "libxml2-utils"
        },
        {
            "binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm2",
            "binary_name": "libxml2-utils-dbg"
        },
        {
            "binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm2",
            "binary_name": "libxml2-utils-dbgsym"
        },
        {
            "binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm2",
            "binary_name": "python-libxml2"
        },
        {
            "binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm2",
            "binary_name": "python-libxml2-dbg"
        },
        {
            "binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm2",
            "binary_name": "python-libxml2-dbgsym"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / libxml2

Package

Name
libxml2
Purl
pkg:deb/ubuntu/libxml2?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.3+dfsg1-1ubuntu0.7+esm1

Affected versions

2.*

2.9.2+zdfsg1-4
2.9.2+zdfsg1-4ubuntu1
2.9.2+zdfsg1-4ubuntu2
2.9.2+zdfsg1-4ubuntu3
2.9.3+dfsg1-1
2.9.3+dfsg1-1ubuntu0.1
2.9.3+dfsg1-1ubuntu0.2
2.9.3+dfsg1-1ubuntu0.3
2.9.3+dfsg1-1ubuntu0.4
2.9.3+dfsg1-1ubuntu0.5
2.9.3+dfsg1-1ubuntu0.6
2.9.3+dfsg1-1ubuntu0.7

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2.9.3+dfsg1-1ubuntu0.7+esm1",
            "binary_name": "libxml2"
        },
        {
            "binary_version": "2.9.3+dfsg1-1ubuntu0.7+esm1",
            "binary_name": "libxml2-dbg"
        },
        {
            "binary_version": "2.9.3+dfsg1-1ubuntu0.7+esm1",
            "binary_name": "libxml2-dbgsym"
        },
        {
            "binary_version": "2.9.3+dfsg1-1ubuntu0.7+esm1",
            "binary_name": "libxml2-dev"
        },
        {
            "binary_version": "2.9.3+dfsg1-1ubuntu0.7+esm1",
            "binary_name": "libxml2-dev-dbgsym"
        },
        {
            "binary_version": "2.9.3+dfsg1-1ubuntu0.7+esm1",
            "binary_name": "libxml2-doc"
        },
        {
            "binary_version": "2.9.3+dfsg1-1ubuntu0.7+esm1",
            "binary_name": "libxml2-udeb"
        },
        {
            "binary_version": "2.9.3+dfsg1-1ubuntu0.7+esm1",
            "binary_name": "libxml2-udeb-dbgsym"
        },
        {
            "binary_version": "2.9.3+dfsg1-1ubuntu0.7+esm1",
            "binary_name": "libxml2-utils"
        },
        {
            "binary_version": "2.9.3+dfsg1-1ubuntu0.7+esm1",
            "binary_name": "libxml2-utils-dbg"
        },
        {
            "binary_version": "2.9.3+dfsg1-1ubuntu0.7+esm1",
            "binary_name": "libxml2-utils-dbgsym"
        },
        {
            "binary_version": "2.9.3+dfsg1-1ubuntu0.7+esm1",
            "binary_name": "python-libxml2"
        },
        {
            "binary_version": "2.9.3+dfsg1-1ubuntu0.7+esm1",
            "binary_name": "python-libxml2-dbg"
        }
    ]
}

Ubuntu:18.04:LTS / libxml2

Package

Name
libxml2
Purl
pkg:deb/ubuntu/libxml2?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.4+dfsg1-6.1ubuntu1.4

Affected versions

2.*

2.9.4+dfsg1-4ubuntu1
2.9.4+dfsg1-5ubuntu1
2.9.4+dfsg1-5ubuntu2
2.9.4+dfsg1-5.1ubuntu1
2.9.4+dfsg1-5.2ubuntu1
2.9.4+dfsg1-6.1ubuntu1
2.9.4+dfsg1-6.1ubuntu1.2
2.9.4+dfsg1-6.1ubuntu1.3

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "2.9.4+dfsg1-6.1ubuntu1.4",
            "binary_name": "libxml2"
        },
        {
            "binary_version": "2.9.4+dfsg1-6.1ubuntu1.4",
            "binary_name": "libxml2-dbg"
        },
        {
            "binary_version": "2.9.4+dfsg1-6.1ubuntu1.4",
            "binary_name": "libxml2-dev"
        },
        {
            "binary_version": "2.9.4+dfsg1-6.1ubuntu1.4",
            "binary_name": "libxml2-doc"
        },
        {
            "binary_version": "2.9.4+dfsg1-6.1ubuntu1.4",
            "binary_name": "libxml2-udeb"
        },
        {
            "binary_version": "2.9.4+dfsg1-6.1ubuntu1.4",
            "binary_name": "libxml2-utils"
        },
        {
            "binary_version": "2.9.4+dfsg1-6.1ubuntu1.4",
            "binary_name": "libxml2-utils-dbgsym"
        },
        {
            "binary_version": "2.9.4+dfsg1-6.1ubuntu1.4",
            "binary_name": "python-libxml2"
        },
        {
            "binary_version": "2.9.4+dfsg1-6.1ubuntu1.4",
            "binary_name": "python-libxml2-dbg"
        },
        {
            "binary_version": "2.9.4+dfsg1-6.1ubuntu1.4",
            "binary_name": "python3-libxml2"
        },
        {
            "binary_version": "2.9.4+dfsg1-6.1ubuntu1.4",
            "binary_name": "python3-libxml2-dbg"
        }
    ]
}

Ubuntu:20.04:LTS / libxml2

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.10+dfsg-5ubuntu0.20.04.1

Affected versions

2.*

2.9.4+dfsg1-7ubuntu3
2.9.4+dfsg1-7ubuntu5
2.9.4+dfsg1-8ubuntu1
2.9.4+dfsg1-8ubuntu2
2.9.4+dfsg1-8ubuntu3
2.9.10+dfsg-1ubuntu3
2.9.10+dfsg-4build1
2.9.10+dfsg-5

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "2.9.10+dfsg-5ubuntu0.20.04.1",
            "binary_name": "libxml2"
        },
        {
            "binary_version": "2.9.10+dfsg-5ubuntu0.20.04.1",
            "binary_name": "libxml2-dbgsym"
        },
        {
            "binary_version": "2.9.10+dfsg-5ubuntu0.20.04.1",
            "binary_name": "libxml2-dev"
        },
        {
            "binary_version": "2.9.10+dfsg-5ubuntu0.20.04.1",
            "binary_name": "libxml2-doc"
        },
        {
            "binary_version": "2.9.10+dfsg-5ubuntu0.20.04.1",
            "binary_name": "libxml2-utils"
        },
        {
            "binary_version": "2.9.10+dfsg-5ubuntu0.20.04.1",
            "binary_name": "libxml2-utils-dbgsym"
        },
        {
            "binary_version": "2.9.10+dfsg-5ubuntu0.20.04.1",
            "binary_name": "python-libxml2"
        },
        {
            "binary_version": "2.9.10+dfsg-5ubuntu0.20.04.1",
            "binary_name": "python-libxml2-dbg"
        },
        {
            "binary_version": "2.9.10+dfsg-5ubuntu0.20.04.1",
            "binary_name": "python3-libxml2"
        },
        {
            "binary_version": "2.9.10+dfsg-5ubuntu0.20.04.1",
            "binary_name": "python3-libxml2-dbg"
        }
    ]
}