CVE-2017-18037 Path traversal in Bitbucket Server

Medium 6.5 Published Updated

Remote attackers can read arbitrary files via path traversal in the git tag resource, affecting Atlassian Bitbucket Server users.

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

What is CVE-2017-18037?

CVE-2017-18037 is a medium-severity path traversal vulnerability in Atlassian Bitbucket Server, published on 2 Feb 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The git repository tag rest resource in Atlassian Bitbucket Server from version 3.7.0 before 4.14.11 (the fixed version for 4.14.x), from version 5.0.0 before 5.0.9 (the fixed version for 5.0.x), from version 5.1.0 before 5.1.8 (the fixed version for 5.1.x), from version 5.2.0 before 5.2.6 (the fixed version for 5.2.x), from version 5.3.0 before 5.3.4 (the fixed version for 5.3.x), from version 5.4.0 before 5.4.2 (the fixed version for 5.4.x), from version 5.5.0 before 5.5.1 (the fixed version for 5.5.x) and before 5.6.0 allows remote attackers to read arbitrary files via a path traversal vulnerability through the name of a git tag.

Weakness: CWE-22

Which versions are affected by CVE-2017-18037?

It affects 1 product.

Products include Atlassian Bitbucket.

How do I fix CVE-2017-18037?

No fix has been published for CVE-2017-18037 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2017-18037 being exploited?

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

Sources

Also known as GHSA-hc32-j6f3-59m8.

Is CVE-2017-18037 in your software?

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

Check your SBOMs for free