Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS0ycnE1LTY5OWoteDdwNs4AAyIl
Arbitrary local file read vulnerability during template rendering
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.
Permalink: https://github.com/advisories/GHSA-2rq5-699j-x7p6JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0ycnE1LTY5OWoteDdwNs4AAyIl
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 1 year ago
Updated: about 1 year ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Identifiers: GHSA-2rq5-699j-x7p6, CVE-2023-25345
References:
- https://nvd.nist.gov/vuln/detail/CVE-2023-25345
- https://github.com/node-swig/swig-templates/issues/88
- https://github.com/advisories/GHSA-2rq5-699j-x7p6
Blast Radius: 32.5
Affected Packages
npm:swig
Dependent packages: 1,022Dependent repositories: 21,860
Downloads: 136,783 last month
Affected Version Ranges: <= 1.4.2
No known fixed version
All affected versions: 0.1.1, 0.1.2, 0.1.3, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.7.0, 0.8.0, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.10.0, 0.11.0, 0.11.1, 0.11.2, 0.12.0, 0.12.1, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.13.4, 0.13.5, 0.14.0, 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.3.2, 1.4.0, 1.4.1, 1.4.2
npm:swig-templates
Dependent packages: 91Dependent repositories: 10,653
Downloads: 42,402 last month
Affected Version Ranges: <= 2.0.4
No known fixed version
All affected versions: 2.0.0, 2.0.1, 2.0.2, 2.0.3