CVE-2017-12618 Denial of service in Apache Portable Runtime

Medium 4.7 Published Updated

A local attacker with write access to SDBM database files can cause a denial of service via out-of-bounds read in APR-util.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-12618?

CVE-2017-12618 is a medium-severity denial of service vulnerability in Apache Portable Runtime, published on 24 Oct 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Apache Portable Runtime Utility (APR-util) 1.6.0 and prior fail to validate the integrity of SDBM database files used by apr_sdbm*() functions, resulting in a possible out of bound read access. A local user with write access to the database can make a program or process using these functions crash, and cause a denial of service.

Weakness: CWE-125

Which versions are affected by CVE-2017-12618?

It affects 1 product.

Linux distribution packages (12)
libapr-util1 SUSE:Linux Enterprise Server 11 SP4All versions1.3.4-12.22.23.3.2
libapr-util1 SUSE:Linux Enterprise Server 12 SP2All versions1.5.3-2.3.1
libapr-util1 SUSE:Linux Enterprise Server 12 SP3All versions1.5.3-2.3.1
libapr-util1 SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2All versions1.5.3-2.3.1
libapr-util1 SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions1.3.4-12.22.23.3.2
libapr-util1 SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions1.5.3-2.3.1
libapr-util1 SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions1.5.3-2.3.1
libapr-util1 SUSE:Linux Enterprise Software Development Kit 11 SP4All versions1.3.4-12.22.23.3.2
libapr-util1 SUSE:Linux Enterprise Software Development Kit 12 SP2All versions1.5.3-2.3.1
libapr-util1 SUSE:Linux Enterprise Software Development Kit 12 SP3All versions1.5.3-2.3.1
libapr-util1 SUSE:Studio Onsite 1.3All versions1.3.4-12.22.23.3.2
apr-util openSUSE:TumbleweedAll versions1.6.1-7.8

Products include Apache Portable Runtime Utility.

How do I fix CVE-2017-12618?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2017-12618 being exploited?

There is no known exploitation of CVE-2017-12618 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2017-12618, DLA-1163-1, GHSA-cxw3-v6f8-2cpm, MGASA-2017-0427, SUSE-SU-2017:3278-1, SUSE-SU-2018:0307-1 and 3 more.

Is CVE-2017-12618 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free