UBUNTU-CVE-2018-19787

Source
https://ubuntu.com/security/CVE-2018-19787
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-19787.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-19787
Related
Published
2018-12-02T00:00:00Z
Modified
2018-12-02T00:00:00Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

An issue was discovered in lxml before 4.2.5. lxml/html/clean.py in the lxml.html.clean module does not remove javascript: URLs that use escaping, allowing a remote attacker to conduct XSS attacks, as demonstrated by "j a v a s c r i p t:" in Internet Explorer. This is a similar issue to CVE-2014-3146.

References

Affected packages

Ubuntu:14.04:LTS / lxml

Package

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

Affected ranges

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

Affected versions

3.*

3.2.0-1
3.3.0~beta2-1
3.3.0~beta4-1
3.3.1-1
3.3.2-1
3.3.2-1build1
3.3.3-1
3.3.3-1ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.3.3-1ubuntu0.2",
            "binary_name": "python-lxml"
        },
        {
            "binary_version": "3.3.3-1ubuntu0.2",
            "binary_name": "python-lxml-dbg"
        },
        {
            "binary_version": "3.3.3-1ubuntu0.2",
            "binary_name": "python-lxml-dbgsym"
        },
        {
            "binary_version": "3.3.3-1ubuntu0.2",
            "binary_name": "python-lxml-doc"
        },
        {
            "binary_version": "3.3.3-1ubuntu0.2",
            "binary_name": "python3-lxml"
        },
        {
            "binary_version": "3.3.3-1ubuntu0.2",
            "binary_name": "python3-lxml-dbg"
        },
        {
            "binary_version": "3.3.3-1ubuntu0.2",
            "binary_name": "python3-lxml-dbgsym"
        }
    ]
}

Ubuntu:16.04:LTS / lxml

Package

Name
lxml
Purl
pkg:deb/ubuntu/lxml?arch=src?distro=xenial

Affected ranges

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

Affected versions

3.*

3.4.4-1
3.5.0-1
3.5.0-1build1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.5.0-1ubuntu0.1",
            "binary_name": "python-lxml"
        },
        {
            "binary_version": "3.5.0-1ubuntu0.1",
            "binary_name": "python-lxml-dbg"
        },
        {
            "binary_version": "3.5.0-1ubuntu0.1",
            "binary_name": "python-lxml-doc"
        },
        {
            "binary_version": "3.5.0-1ubuntu0.1",
            "binary_name": "python3-lxml"
        },
        {
            "binary_version": "3.5.0-1ubuntu0.1",
            "binary_name": "python3-lxml-dbg"
        }
    ]
}

Ubuntu:18.04:LTS / lxml

Package

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

Affected ranges

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

Affected versions

4.*

4.0.0-1
4.1.0-1
4.2.0-1
4.2.1-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "4.2.1-1ubuntu0.1",
            "binary_name": "python-lxml"
        },
        {
            "binary_version": "4.2.1-1ubuntu0.1",
            "binary_name": "python-lxml-dbg"
        },
        {
            "binary_version": "4.2.1-1ubuntu0.1",
            "binary_name": "python-lxml-doc"
        },
        {
            "binary_version": "4.2.1-1ubuntu0.1",
            "binary_name": "python3-lxml"
        },
        {
            "binary_version": "4.2.1-1ubuntu0.1",
            "binary_name": "python3-lxml-dbg"
        }
    ]
}