CVE-2018-11798 Apache Thrift Node.js static web server sandbox escape

Medium 6.5 Published Updated

Remote attackers can access files outside the web server's root directory in the Apache Thrift Node.js static web server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-11798?

CVE-2018-11798 is a medium-severity path traversal vulnerability in Apache Thrift, published on 7 Jan 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Apache Thrift Node.js static web server in versions 0.9.2 through 0.11.0 have been determined to contain a security vulnerability in which a remote user has the ability to access files outside the set webservers docroot path.

Weakness: CWE-538

Which versions are affected by CVE-2018-11798?

2 open source packages ship an affected version, including org.apache.thrift:libthrift. It affects 1 product.

PackageAffectedFixed in
org.apache.thrift:libthrift MavenFrom 0.9.20.12.0
org.apache.thrift:libthrift MavenFrom 0.9.20.12.0

Products include Apache Thrift.

How do I fix CVE-2018-11798?

Upgrade org.apache.thrift:libthrift to 0.12.0 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2018-11798 being exploited?

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

Sources

Also known as CLEANSTART-2026-AF38253, CLEANSTART-2026-NC43548, DEBIAN-CVE-2018-11798, ECHO-17dc-b122-1852, GHSA-vx85-mj8c-4qm6.

Is CVE-2018-11798 in your software?

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

Check your SBOMs for free