Skip to content
OpenAdvisories
Medium · 6.5 CVE-2017-18258 EUVD-2018-0189GHSA-882p-jqgm-f45g

Uncontrolled resource consumption in nokogiri

Published Apr 8, 2018 · Updated Oct 14, 2026 · Assigned by mitre

Description

The xz_head function in xzlib.c in libxml2 before 2.9.6 allows remote attackers to cause a denial of service (memory consumption) via a crafted LZMA file, because the decoder functionality does not restrict memory usage to what is required for a legitimate file.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libxml2 2.9.10+dfsg-2 —
Debian 13 libxml2 2.9.10+dfsg-2 —
Debian 12 libxml2 2.9.10+dfsg-2 —
Debian 9 libxml2 2.9.4+dfsg1-2.2+deb9u3 DLA-2369-1
Debian 8 libxml2 2.9.1+dfsg1-5+deb8u7 DLA-1524-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libxml2 2.9.4+dfsg1-6.1ubuntu1.2 USN-3739-1
Ubuntu 16.04 LTS libxml2 2.9.3+dfsg1-1ubuntu0.6 USN-3739-1
Ubuntu 14.04 LTS libxml2 2.9.1+dfsg1-3ubuntu4.13 USN-3739-1
ReleasePackageFixed inAdvisory
RHEL 7 libxml2 +3 2.9.1-6.el7.4 RHSA-2020:1190
ReleasePackageFixed inAdvisory
SLES 12 SP3 libxml2 +1 2.9.4-46.15.1 SUSE-SU-2018:3081-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 libxml2 +1 2.9.4-46.15.1 SUSE-SU-2018:3081-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 libxml2 +3 2.9.1-6.amzn2.4.1 ALAS2-2020-1466

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 libxml2 +3 2.9.1-6.0.1.el7.4 ELSA-2020-1190

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems nokogiri < 1.8.2 1.8.2 GHSA-882p-jqgm-f45g

Advisories 10

References