Description (CNA)
vm2 before 3.11.7 contains a module allowlist bypass vulnerability in isPathAllowedForModule that uses raw string prefix matching instead of boundary-anchored comparison. Attackers can reach non-allowlisted packages sharing a prefix with allowlisted modules by performing relative requires from allowlisted packages when transitive loading is disabled.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| patriksimek / vm2 | affected 0 before 3.11.7; unaffected 3.11.7 |
CWE
CWE-22
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-7q3f-wx44-378m
- https://www.vulncheck.com/advisories/vm2-before-3.11.7-module-allowlist-bypass-via-prefix-matching
ADP enrichment
No English description supplied.
No references supplied.