Files
vuln-ubuntu/data/osv/usn/USN-6599-1.json
T

390 lines
10 KiB
JSON

{
"schema_version": "1.7.0",
"id": "USN-6599-1",
"summary": "jinja2 vulnerabilities",
"details": "Yeting Li discovered that Jinja incorrectly handled certain regex.\nAn attacker could possibly use this issue to cause a denial of service.\nThis issue only affected Ubuntu 14.04 LTS, Ubuntu 18.04 LTS, and\nUbuntu 20.04 LTS. (CVE-2020-28493)\n\nIt was discovered that Jinja incorrectly handled certain HTML passed with\nxmlatter filter. An attacker could inject arbitrary HTML attributes\nkeys and values potentially leading to XSS. (CVE-2024-22195)\n",
"aliases": [],
"upstream": [
"UBUNTU-CVE-2020-28493",
"UBUNTU-CVE-2024-22195"
],
"related": [],
"published": "2024-01-25T16:06:46Z",
"modified": "2026-06-29T10:53:06Z",
"affected": [
{
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "jinja2",
"purl": "pkg:deb/ubuntu/jinja2@2.7.2-2ubuntu0.1~esm2?arch=source&distro=trusty/esm"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.2-2ubuntu0.1~esm2"
}
]
}
],
"versions": [
"2.7-3",
"2.7.1-1",
"2.7.2-1",
"2.7.2-2",
"2.7.2-2ubuntu0.1~esm1"
],
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-jinja2",
"binary_version": "2.7.2-2ubuntu0.1~esm2"
},
{
"binary_name": "python3-jinja2",
"binary_version": "2.7.2-2ubuntu0.1~esm2"
}
],
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
},
"database_specific": {
"cves_map": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"cves": [
{
"id": "CVE-2020-28493",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "Ubuntu",
"score": "low"
}
]
},
{
"id": "CVE-2024-22195",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
]
}
}
},
{
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "jinja2",
"purl": "pkg:deb/ubuntu/jinja2@2.8-1ubuntu0.1+esm2?arch=source&distro=esm-infra/xenial"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.8-1ubuntu0.1+esm2"
}
]
}
],
"versions": [
"2.8-1",
"2.8-1ubuntu0.1",
"2.8-1ubuntu0.1+esm1"
],
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-jinja2",
"binary_version": "2.8-1ubuntu0.1+esm2"
},
{
"binary_name": "python3-jinja2",
"binary_version": "2.8-1ubuntu0.1+esm2"
}
],
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
},
"database_specific": {
"cves_map": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"cves": [
{
"id": "CVE-2024-22195",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
]
}
}
},
{
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "jinja2",
"purl": "pkg:deb/ubuntu/jinja2@2.10-1ubuntu0.18.04.1+esm1?arch=source&distro=esm-infra/bionic"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.10-1ubuntu0.18.04.1+esm1"
}
]
}
],
"versions": [
"2.9.6-1",
"2.10-1",
"2.10-1ubuntu0.18.04.1"
],
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-jinja2",
"binary_version": "2.10-1ubuntu0.18.04.1+esm1"
},
{
"binary_name": "python3-jinja2",
"binary_version": "2.10-1ubuntu0.18.04.1+esm1"
}
],
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
},
"database_specific": {
"cves_map": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"cves": [
{
"id": "CVE-2020-28493",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "Ubuntu",
"score": "low"
}
]
},
{
"id": "CVE-2024-22195",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
]
}
}
},
{
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "jinja2",
"purl": "pkg:deb/ubuntu/jinja2@2.10.1-2ubuntu0.2?arch=source&distro=focal"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.10.1-2ubuntu0.2"
}
]
}
],
"versions": [
"2.10-2ubuntu1",
"2.10-2ubuntu2",
"2.10.1-1ubuntu1",
"2.10.1-2"
],
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-jinja2",
"binary_version": "2.10.1-2ubuntu0.2"
},
{
"binary_name": "python3-jinja2",
"binary_version": "2.10.1-2ubuntu0.2"
}
],
"availability": "No subscription required"
},
"database_specific": {
"cves_map": {
"ecosystem": "Ubuntu:20.04:LTS",
"cves": [
{
"id": "CVE-2020-28493",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "Ubuntu",
"score": "low"
}
]
},
{
"id": "CVE-2024-22195",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
]
}
}
},
{
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "jinja2",
"purl": "pkg:deb/ubuntu/jinja2@3.0.3-1ubuntu0.1?arch=source&distro=jammy"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.3-1ubuntu0.1"
}
]
}
],
"versions": [
"2.11.3-1",
"3.0.1-2",
"3.0.3-1"
],
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-jinja2",
"binary_version": "3.0.3-1ubuntu0.1"
}
],
"availability": "No subscription required"
},
"database_specific": {
"cves_map": {
"ecosystem": "Ubuntu:22.04:LTS",
"cves": [
{
"id": "CVE-2024-22195",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
]
}
}
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6599-1"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2020-28493"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-22195"
}
]
}