CVE-2018-20843

Source
https://cve.org/CVERecord?id=CVE-2018-20843
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20843.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-20843
Downstream
ALPINE (1)
BELL (1)
CLEANSTART (2)
CLSA (2)
DEBIAN (1)
MGASA (1)
openSUSE (2)
RHSA (5)
RLSA (1)
SUSE (2)
UBUNTU (1)
Related
Published
2019-06-24T17:15:09Z
Modified
2026-07-08T19:45:28Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In libexpat in Expat before 2.2.7, XML input including XML names that contain a large number of colons could make the XML parser consume a high amount of RAM and CPU resources while processing (enough to be usable for denial-of-service attacks).

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:a:oracle:hospitality_res_3700:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "5.7"
                },
                {
                    "last_affected":  "5.7.6"
                }
            ],
            "source":  "CPE_RANGE",
            "vendor_product":  "oracle:hospitality_res_3700"
        },
        {
            "cpes":  [
                "cpe:2.3:a:tenable:nessus:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "fixed":  "8.15.0"
                }
            ],
            "source":  "CPE_RANGE",
            "vendor_product":  "tenable:nessus"
        },
        {
            "cpes":  [
                "cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "12.04"
                },
                {
                    "last_affected":  "12.04"
                },
                {
                    "introduced":  "14.04"
                },
                {
                    "last_affected":  "14.04"
                },
                {
                    "introduced":  "16.04"
                },
                {
                    "last_affected":  "16.04"
                },
                {
                    "introduced":  "18.04"
                },
                {
                    "last_affected":  "18.04"
                },
                {
                    "introduced":  "18.10"
                },
                {
                    "last_affected":  "18.10"
                },
                {
                    "introduced":  "19.04"
                },
                {
                    "last_affected":  "19.04"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "canonical:ubuntu_linux"
        },
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "8.0"
                },
                {
                    "last_affected":  "8.0"
                },
                {
                    "introduced":  "9.0"
                },
                {
                    "last_affected":  "9.0"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "debian:debian_linux"
        },
        {
            "cpes":  [
                "cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "29"
                },
                {
                    "last_affected":  "29"
                },
                {
                    "introduced":  "30"
                },
                {
                    "last_affected":  "30"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "fedoraproject:fedora"
        },
        {
            "cpes":  [
                "cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "15.0"
                },
                {
                    "last_affected":  "15.0"
                },
                {
                    "introduced":  "15.1"
                },
                {
                    "last_affected":  "15.1"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "opensuse:leap"
        },
        {
            "cpes":  [
                "cpe:2.3:a:oracle:http_server:12.1.3.0:*:*:*:*:*:*:*",
                "cpe:2.3:a:oracle:http_server:12.2.1.4.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "12.1.3.0"
                },
                {
                    "last_affected":  "12.1.3.0"
                },
                {
                    "introduced":  "12.2.1.4.0"
                },
                {
                    "last_affected":  "12.2.1.4.0"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "oracle:http_server"
        },
        {
            "cpes":  [
                "cpe:2.3:a:oracle:outside_in_technology:8.5.4:*:*:*:*:*:*:*",
                "cpe:2.3:a:oracle:outside_in_technology:8.5.5:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "8.5.4"
                },
                {
                    "last_affected":  "8.5.4"
                },
                {
                    "introduced":  "8.5.5"
                },
                {
                    "last_affected":  "8.5.5"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "oracle:outside_in_technology"
        }
    ]
}
References

Affected packages

Git / github.com/libexpat/libexpat

Affected ranges

Type
GIT
Repo
https://github.com/libexpat/libexpat
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "2.2.7"
        }
    ],
    "source":  "CPE_RANGE"
}

Affected versions

Other
REC1_0
R_1_95_0
R_1_95_2
R_1_95_3
R_1_95_4
R_1_95_5
R_1_95_6
R_1_95_7
R_1_95_8
R_2_0_0
R_2_0_1
R_2_1_0
R_2_1_1
R_2_2_0
R_2_2_1
R_2_2_2
R_2_2_3
R_2_2_4
R_2_2_5
R_2_2_6
V1990307
V19981122
V19981231
V19990109
V19990425
V19990626
V19990709
V19990728
V19991013
V1_0
V1_1
V20000512
beta2
beta3
beta4
jclark-orig
libexpat-alpha-1
sourceforge_init
start

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20843.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "10718674393994758979083102855553023681",
            "length":  670
        },
        "id":  "CVE-2018-20843-74406d59",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libexpat/libexpat/commit/d3b78b42a2dcdea98e22625cfff67a49d47e6025",
        "target":  {
            "file":  "expat/tests/runtests.c",
            "function":  "START_TEST"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "70970158302216444732948686873374648009",
                "197734145770944038326200234670765972062",
                "333002349092091346504095730741649465004",
                "132190683235044997527211951942674695301"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2018-20843-ee80e572",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libexpat/libexpat/commit/d3b78b42a2dcdea98e22625cfff67a49d47e6025",
        "target":  {
            "file":  "expat/tests/runtests.c"
        }
    }
]
vanir_signatures_modified
"2026-07-08T19:45:28Z"