CVE-2020-36629 SimbCo httpster server.coffee fs.realpathSync path traversal

Medium 5.5 Published Updated

Attackers can exploit a path traversal vulnerability in the httpster library to read or modify arbitrary files on the server.

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-2020-36629?

CVE-2020-36629 is a medium-severity path traversal vulnerability in SimbCo httpster, published on 25 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability classified as critical was found in SimbCo httpster. This vulnerability affects the function fs.realpathSync of the file src/server.coffee. The manipulation leads to path traversal. The exploit has been disclosed to the public and may be used. The name of the patch is d3055b3e30b40b65d30c5a06d6e053dffa7f35d0. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-216748.

Weakness: CWE-22

Which versions are affected by CVE-2020-36629?

2 open source packages ship an affected version, including httpster. It affects 1 product.

PackageAffectedFixed in
httpster npmAll versions1.1.0
httpster npmAll versions1.1.0

Products include Httpster Project Httpster.

How do I fix CVE-2020-36629?

Upgrade httpster to 1.1.0 or later.

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

Is CVE-2020-36629 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-36629 exists.

Sources

Also known as GHSA-p8j8-wxvp-h695.

Is CVE-2020-36629 in your software?

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

Check your SBOMs for free