GitHub Advisoryadvisory · npm

GHSA-2rq5-699j-x7p6 Arbitrary local file read vulnerability during template rendering

HIGH Published 2023-03-15 Modified 2023-03-20 Official page ↗
Aliases
CVE-2023-25345
Ecosystem
npm
Packages
swig-templates, swig
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2023-03-16

Affected packages

• npm swig-templates: <= 2.0.4 (no fix yet) • npm swig: <= 1.4.2 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2023-25345 Directory traversal vulnerability in swig-templates thru 2.0.4 and swig thru 1.4.2, allows attackers to read arbitrary files via the… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References