CVE-2022-25931
HIGHCVSS 7.5/10EPSS 1.32%
Last modified
CVE-2022-25931 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. All versions of package easy-static-server are vulnerable to Directory Traversal due to missing input sanitization and sandboxes being employed to the req.url user input that is passed to the server code.. EPSS estimates a 1.32% chance of exploitation in the next 30 days.
Description
All versions of package easy-static-server are vulnerable to Directory Traversal due to missing input sanitization and sandboxes being employed to the req.url user input that is passed to the server code.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Easy-Static-Server Project | Easy-Static-Server | All versions |
References
- https://gist.github.com/lirantal/fdfbe26561788c8194a54bf6d31772c9Exploit, Third Party Advisory
- https://github.com/cunjieliu/easyServer/blob/master/index.js%23L27Broken Link, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-EASYSTATICSERVER-3153539Exploit, Third Party Advisory
- https://gist.github.com/lirantal/fdfbe26561788c8194a54bf6d31772c9Exploit, Third Party Advisory
- https://github.com/cunjieliu/easyServer/blob/master/index.js%23L27Broken Link, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-EASYSTATICSERVER-3153539Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-25931?
All versions of package easy-static-server are vulnerable to Directory Traversal due to missing input sanitization and sandboxes being employed to the req.url user input that is passed to the server code.
How severe is CVE-2022-25931?
CVE-2022-25931 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 1.32% probability of exploitation in the next 30 days.
How do I fix CVE-2022-25931?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-25922Power Line Communications PLC4TRUCKS J2497 trailer brake con…9.1
- CVE-2022-25923Versions of the package exec-local-bin before 1.2.0 are vuln…9.8
- CVE-2022-25926Versions of the package window-control before 1.4.5 are vuln…7.8
- CVE-2022-25927Versions of the package ua-parser-js from 0.7.30 and before …7.5
- CVE-2022-25929The package smoothie from 1.31.0 and before 1.36.1 are vulne…5.4
- CVE-2022-2593The Better Search Replace WordPress plugin before 1.4.1 does…7.2
- CVE-2022-25932The firmware of InHand Networks InRouter302 V3.5.45 introduc…9.8
- CVE-2022-25936Versions of the package servst before 2.0.3 are vulnerable t…7.5
- CVE-2022-25937Versions of the package glance before 3.0.9 are vulnerable t…6.5
- CVE-2022-2594The Advanced Custom Fields WordPress plugin before 5.12.3, A…8.8
- CVE-2022-25940All versions of package lite-server are vulnerable to Denial…7.5
- CVE-2022-25942An out-of-bounds read vulnerability exists in the gif2h5 fun…7.8
Are you affected by CVE-2022-25931?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
