Skip to content

Commit

Permalink
test(osv): Update expected results
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Viernau <x9fviern@zeiss.com>
  • Loading branch information
fviernau committed Dec 27, 2024
1 parent 85fc02f commit 0d60dd4
Showing 1 changed file with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -594,14 +594,24 @@
{
"schema_version": "1.6.0",
"id": "GHSA-gmj6-6f8f-6699",
"modified": "2024-12-23T21:02:04.921127Z",
"modified": "2024-12-26T20:27:33.653991Z",
"published": "2024-12-23T17:54:12Z",
"aliases": [
"CVE-2024-56201"
],
"related": [
"CGA-2589-9xpr-fmp7",
"CGA-gvvw-7w3r-7m54",
"CGA-mvqg-6j62-4pjm",
"CGA-whf8-42p9-686q"
],
"summary": "Jinja has a sandbox breakout through malicious filenames",
"details": "A bug in the Jinja compiler allows an attacker that controls both the content and filename of a template to execute arbitrary Python code, regardless of if Jinja's sandbox is used.\n\nTo exploit the vulnerability, an attacker needs to control both the filename and the contents of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates where the template author can also choose the template filename.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
Expand Down Expand Up @@ -1157,14 +1167,24 @@
{
"schema_version": "1.6.0",
"id": "GHSA-q2x7-8rv6-6q7h",
"modified": "2024-12-23T21:00:55.589606Z",
"modified": "2024-12-26T20:27:49.589789Z",
"published": "2024-12-23T17:56:08Z",
"aliases": [
"CVE-2024-56326"
],
"related": [
"CGA-79fr-pvjg-j9xm",
"CGA-crfr-r549-cvmg",
"CGA-gm37-p355-3fq6",
"CGA-h3v9-xgx5-mrgr"
],
"summary": "Jinja has a sandbox breakout through indirect reference to format method",
"details": "An oversight in how the Jinja sandboxed environment detects calls to `str.format` allows an attacker that controls the content of a template to execute arbitrary Python code.\n\nTo exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.\n\nJinja's sandbox does catch calls to `str.format` and ensures they don't escape the sandbox. However, it's possible to store a reference to a malicious string's `format` method, then pass that to a filter that calls it. No such filters are built-in to Jinja, but could be present through custom filters in an application. After the fix, such indirect calls are also handled by the sandbox.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
Expand Down

0 comments on commit 0d60dd4

Please sign in to comment.