Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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