CVE-2017-15703 Denial of service via deserialization attack in nifi

Medium 5.0 Published Updated

Authenticated users can cause denial of service by uploading malicious templates triggering Java deserialization in Apache NiFi.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-15703?

CVE-2017-15703 is a medium-severity unsafe deserialization vulnerability in Apache Nifi, published on 25 Jan 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Any authenticated user (valid client certificate but without ACL permissions) could upload a template which contained malicious code and caused a denial of service via Java deserialization attack. The fix to properly handle Java deserialization was applied on the Apache NiFi 1.4.0 release. Users running a prior 1.x release should upgrade to the appropriate release.

Weakness: CWE-502

Which versions are affected by CVE-2017-15703?

2 open source packages ship an affected version, including org.apache.nifi:nifi-framework-cluster-protocol. It affects 1 product.

PackageAffectedFixed in
org.apache.nifi:nifi-framework-cluster-protocol MavenAll versions1.5.0
org.apache.nifi:nifi-framework-cluster-protocol MavenAll versions1.5.0

Products include Apache Nifi.

How do I fix CVE-2017-15703?

Upgrade org.apache.nifi:nifi-framework-cluster-protocol to 1.5.0 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2017-15703 being exploited?

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

All Apache Nifi vulnerabilities

Sources

Also known as GHSA-xwx6-vmj4-5rv8.

Is CVE-2017-15703 in your software?

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

Check your SBOMs for free