Vulnerability library
Security checkJanuary 09, 2023

High severity vulnerability that affects gun

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmgun

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The static file server module included with GUN had a serious vulnerability:

  • Using curl --path-as-is allowed reads on any parent directory or files.

This did not work via the browser or via curl without as-is option.

Fixed

This has been fixed since version 0.2019.416 and higher.

Who Was Effected?

Recommendation

Update the gun package to the latest compatible version. Followings are version details:

  • Affected version(s): < 0.2019.416
  • Patched version(s): 0.2019.416

References

Could your website be exposed too?

SmartScanner can check your website for High severity vulnerability that affects gun and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 09, 2023