CVE-2017-16222: Directory Traversal in elding

elding Updated 02 Oct 2025

Summary

06/08/2018
No i
Moderate
5.3

CVE-2017-16222: Directory Traversal in elding. Affects elding versions < 1.0.0. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

elding is an npm package used for local development. It provides functionality for resolving file paths. However, it is vulnerable to a directory traversal attack. This means that an attacker can exploit the package to access files outside of the intended directory root. The vulnerability affects files with file extensions, and it may result in the disclosure of private files on the vulnerable system.

Vulnerability Detail

The vulnerability in elding arises from its handling of relative file paths. By manipulating the file path, a malicious actor can traverse directories and access files outside of the intended directory root. However, it's important to note that this vulnerability only affects files with file extensions. For example, a read attempt on '/etc/passwd/index.js' will be made and subsequently fail. The impact of this vulnerability can be significant as it may lead to the exposure of sensitive information stored in private files.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As there is no patch available, the recommended workaround is to avoid using elding in production environments. Instead, consider using an alternative package that does not have the directory traversal vulnerability.

Conclusion

In conclusion, elding is vulnerable to a directory traversal attack, which allows an attacker to access files outside of the intended directory root. This can result in the disclosure of private files on the vulnerable system. Unfortunately, there is no patch available for this vulnerability. It is recommended to use elding only for local development and to switch to a different package for production if the functionality is required. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for elding →

Share this vulnerability

FAQ

elding is an npm package used for local development. It provides functionality for resolving file paths.

Directory traversal is a vulnerability that allows an attacker to access files outside of the intended directory root by manipulating file paths.

This vulnerability in elding allows an attacker to access files outside of the intended directory root, potentially leading to the exposure of sensitive information.

No, there is no patch available for this vulnerability in elding.

To protect your system, it is recommended to only use elding for local development purposes. If the functionality is needed for production, consider using a different package without this vulnerability.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback