GHSA-2rq5-699j-x7p6

Suggest an improvement
Source
https://github.com/advisories/GHSA-2rq5-699j-x7p6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-2rq5-699j-x7p6/GHSA-2rq5-699j-x7p6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2rq5-699j-x7p6
Aliases
Published
2023-03-15T21:30:25Z
Modified
2023-11-08T04:11:51.619627Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2023-03-15T20:15:00Z",
    "github_reviewed_at": "2023-03-16T13:27:03Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

npm / swig-templates

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.0.4

npm / swig

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.4.2