CVE-2023-25345 Arbitrary local file read vulnerability during template rendering
HighCVSS 7.5
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
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.
Upgrade path
4 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm swig(npm) | <= 1.4.2 | after 1.4.2 | Fixed |
| npm swig-templates(npm) | <= 2.0.4 | after 2.0.4 | Fixed |
| swig project swig | <= 1.4.2 | after 1.4.2 | Fixed |
| swig-templates project swig-templates | <= 2.0.4 | after 2.0.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm swig-templates(npm) | <= 2.0.4 | No fix listed |
| npm swig(npm) | <= 1.4.2 | No fix listed |
| swig-templates project swig-templates | <= 2.0.4 | No fix listed |
| swig project swig | <= 1.4.2 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking
- github.com