GHSA-hj2j-77xm-mc5v

Suggest an improvement
Source
https://github.com/advisories/GHSA-hj2j-77xm-mc5v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/04/GHSA-hj2j-77xm-mc5v/GHSA-hj2j-77xm-mc5v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hj2j-77xm-mc5v
Aliases
Published
2019-04-10T14:30:13Z
Modified
2024-09-24T21:04:16.963502Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
  • 7.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N CVSS Calculator
Summary
Jinja2 sandbox escape vulnerability
Details

In Pallets Jinja before 2.8.1, str.format allows a sandbox escape.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-134"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:40:24Z"
}
References

Affected packages

PyPI / jinja2

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.8.1

Affected versions

2.*

2.0rc1
2.0
2.1
2.1.1
2.2
2.2.1
2.3
2.3.1
2.4
2.4.1
2.5
2.5.1
2.5.2
2.5.3
2.5.4
2.5.5
2.6
2.7
2.7.1
2.7.2
2.7.3
2.8