high7.5
CVE-2023-25345
Arbitrary local file read vulnerability during template rendering
Impact
Directory traversal vulnerability in swig-templates thru 2.0.4 and swig thru 1.4.2, allows attackers to read arbitrary files via the include or extends tags.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | swig-templates | <= 2.0.4 | none recorded |
| npm | swig | <= 1.4.2 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Swig-Templates Project | Swig-Templates | through 2.0.4 |
| Swig Project | Swig | through 1.4.2 |