Advisory

GHSA-2rq5-699j-x7p6

Also known as: CVE-2023-25345

Summary

Arbitrary local file read vulnerability during template rendering

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-03-15 21:30 UTC
Modified
2023-11-08 04:11 UTC

Affected packages and fixes

swig-templates

npm · All systems

Affected

  • introduced 0, last affected 2.0.4 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

swig

npm · All systems

Affected

  • introduced 0, last affected 1.4.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences