ALT Vulnerability

This commit is contained in:
Иван Пепеляев 2024-12-20 21:06:08 +00:00
parent 9306fa8d3f
commit db67530d9a
9 changed files with 408 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,100 @@
{
"Definition": [
{
"ID": "oval:org.altlinux.errata:def:202417380",
"Version": "oval:org.altlinux.errata:def:202417380",
"Class": "patch",
"Metadata": {
"Title": "ALT-PU-2024-17380: package `python3-module-aiohttp` update to version 3.9.5-alt1",
"AffectedList": [
{
"Family": "unix",
"Platforms": [
"ALT Linux branch p10"
],
"Products": [
"ALT Server",
"ALT Virtualization Server",
"ALT Workstation",
"ALT Workstation K",
"ALT Education",
"Simply Linux",
"Starterkit",
"ALT Container"
]
}
],
"References": [
{
"RefID": "ALT-PU-2024-17380",
"RefURL": "https://errata.altlinux.org/ALT-PU-2024-17380",
"Source": "ALTPU"
},
{
"RefID": "CVE-2024-27306",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2024-27306",
"Source": "CVE"
}
],
"Description": "This update upgrades python3-module-aiohttp to version 3.9.5-alt1. \nSecurity Fix(es):\n\n * CVE-2024-27306: aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. A XSS vulnerability exists on index pages for static file handling. This vulnerability is fixed in 3.9.4. We have always recommended using a reverse proxy server (e.g. nginx) for serving static files. Users following the recommendation are unaffected. Other users can disable `show_index` if unable to upgrade.",
"Advisory": {
"From": "errata.altlinux.org",
"Severity": "Low",
"Rights": "Copyright 2024 BaseALT Ltd.",
"Issued": {
"Date": "2024-12-20"
},
"Updated": {
"Date": "2024-12-20"
},
"BDUs": null,
"CVEs": [
{
"ID": "CVE-2024-27306",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2024-27306",
"Impact": "None",
"Public": "20240418"
}
],
"AffectedCPEs": {
"CPEs": [
"cpe:/o:alt:kworkstation:10",
"cpe:/o:alt:workstation:10",
"cpe:/o:alt:server:10",
"cpe:/o:alt:server-v:10",
"cpe:/o:alt:education:10",
"cpe:/o:alt:slinux:10",
"cpe:/o:alt:starterkit:10",
"cpe:/o:alt:starterkit:p10",
"cpe:/o:alt:container:10"
]
}
}
},
"Criteria": {
"Operator": "AND",
"Criterions": [
{
"TestRef": "oval:org.altlinux.errata:tst:2001",
"Comment": "ALT Linux must be installed"
}
],
"Criterias": [
{
"Operator": "OR",
"Criterions": [
{
"TestRef": "oval:org.altlinux.errata:tst:202417380001",
"Comment": "python3-module-aiohttp is earlier than 0:3.9.5-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:202417380002",
"Comment": "python3-module-aiohttp-tests is earlier than 0:3.9.5-alt1"
}
]
}
]
}
}
]
}

View File

@ -0,0 +1,40 @@
{
"TextFileContent54Objects": [
{
"ID": "oval:org.altlinux.errata:obj:2001",
"Version": "1",
"Comment": "Evaluate `/etc/os-release` file content",
"Path": {
"Datatype": "string",
"Text": "/etc"
},
"Filepath": {
"Datatype": "string",
"Text": "os-release"
},
"Pattern": {
"Datatype": "string",
"Operation": "pattern match",
"Text": "cpe:\\/o:alt:(?!sp)[a-z\\-]+:p?(\\d+)(?:\\.\\d)*"
},
"Instance": {
"Datatype": "int",
"Text": "1"
}
}
],
"RPMInfoObjects": [
{
"ID": "oval:org.altlinux.errata:obj:202417380001",
"Version": "1",
"Comment": "python3-module-aiohttp is installed",
"Name": "python3-module-aiohttp"
},
{
"ID": "oval:org.altlinux.errata:obj:202417380002",
"Version": "1",
"Comment": "python3-module-aiohttp-tests is installed",
"Name": "python3-module-aiohttp-tests"
}
]
}

View File

@ -0,0 +1,23 @@
{
"TextFileContent54State": [
{
"ID": "oval:org.altlinux.errata:ste:2001",
"Version": "1",
"Text": {}
}
],
"RPMInfoStates": [
{
"ID": "oval:org.altlinux.errata:ste:202417380001",
"Version": "1",
"Comment": "package EVR is earlier than 0:3.9.5-alt1",
"Arch": {},
"EVR": {
"Text": "0:3.9.5-alt1",
"Datatype": "evr_string",
"Operation": "less than"
},
"Subexpression": {}
}
]
}

View File

@ -0,0 +1,42 @@
{
"TextFileContent54Tests": [
{
"ID": "oval:org.altlinux.errata:tst:2001",
"Version": "1",
"Check": "all",
"Comment": "ALT Linux based on branch 'p10' must be installed",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:2001"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:2001"
}
}
],
"RPMInfoTests": [
{
"ID": "oval:org.altlinux.errata:tst:202417380001",
"Version": "1",
"Check": "all",
"Comment": "python3-module-aiohttp is earlier than 0:3.9.5-alt1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:202417380001"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:202417380001"
}
},
{
"ID": "oval:org.altlinux.errata:tst:202417380002",
"Version": "1",
"Check": "all",
"Comment": "python3-module-aiohttp-tests is earlier than 0:3.9.5-alt1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:202417380002"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:202417380001"
}
}
]
}

View File

@ -0,0 +1,85 @@
{
"Definition": [
{
"ID": "oval:org.altlinux.errata:def:202417385",
"Version": "oval:org.altlinux.errata:def:202417385",
"Class": "patch",
"Metadata": {
"Title": "ALT-PU-2024-17385: package `python3-module-aiohttp` update to version 3.9.5-alt1",
"AffectedList": [
{
"Family": "unix",
"Platforms": [
"ALT Linux branch p11"
],
"Products": [
"ALT Container"
]
}
],
"References": [
{
"RefID": "ALT-PU-2024-17385",
"RefURL": "https://errata.altlinux.org/ALT-PU-2024-17385",
"Source": "ALTPU"
},
{
"RefID": "CVE-2024-27306",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2024-27306",
"Source": "CVE"
}
],
"Description": "This update upgrades python3-module-aiohttp to version 3.9.5-alt1. \nSecurity Fix(es):\n\n * CVE-2024-27306: aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. A XSS vulnerability exists on index pages for static file handling. This vulnerability is fixed in 3.9.4. We have always recommended using a reverse proxy server (e.g. nginx) for serving static files. Users following the recommendation are unaffected. Other users can disable `show_index` if unable to upgrade.",
"Advisory": {
"From": "errata.altlinux.org",
"Severity": "Low",
"Rights": "Copyright 2024 BaseALT Ltd.",
"Issued": {
"Date": "2024-12-20"
},
"Updated": {
"Date": "2024-12-20"
},
"BDUs": null,
"CVEs": [
{
"ID": "CVE-2024-27306",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2024-27306",
"Impact": "None",
"Public": "20240418"
}
],
"AffectedCPEs": {
"CPEs": [
"cpe:/o:alt:container:11"
]
}
}
},
"Criteria": {
"Operator": "AND",
"Criterions": [
{
"TestRef": "oval:org.altlinux.errata:tst:3001",
"Comment": "ALT Linux must be installed"
}
],
"Criterias": [
{
"Operator": "OR",
"Criterions": [
{
"TestRef": "oval:org.altlinux.errata:tst:202417385001",
"Comment": "python3-module-aiohttp is earlier than 0:3.9.5-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:202417385002",
"Comment": "python3-module-aiohttp-tests is earlier than 0:3.9.5-alt1"
}
]
}
]
}
}
]
}

View File

@ -0,0 +1,40 @@
{
"TextFileContent54Objects": [
{
"ID": "oval:org.altlinux.errata:obj:3001",
"Version": "1",
"Comment": "Evaluate `/etc/os-release` file content",
"Path": {
"Datatype": "string",
"Text": "/etc"
},
"Filepath": {
"Datatype": "string",
"Text": "os-release"
},
"Pattern": {
"Datatype": "string",
"Operation": "pattern match",
"Text": "cpe:\\/o:alt:(?!sp)[a-z\\-]+:p?(\\d+)(?:\\.\\d)*"
},
"Instance": {
"Datatype": "int",
"Text": "1"
}
}
],
"RPMInfoObjects": [
{
"ID": "oval:org.altlinux.errata:obj:202417385001",
"Version": "1",
"Comment": "python3-module-aiohttp is installed",
"Name": "python3-module-aiohttp"
},
{
"ID": "oval:org.altlinux.errata:obj:202417385002",
"Version": "1",
"Comment": "python3-module-aiohttp-tests is installed",
"Name": "python3-module-aiohttp-tests"
}
]
}

View File

@ -0,0 +1,23 @@
{
"TextFileContent54State": [
{
"ID": "oval:org.altlinux.errata:ste:3001",
"Version": "1",
"Text": {}
}
],
"RPMInfoStates": [
{
"ID": "oval:org.altlinux.errata:ste:202417385001",
"Version": "1",
"Comment": "package EVR is earlier than 0:3.9.5-alt1",
"Arch": {},
"EVR": {
"Text": "0:3.9.5-alt1",
"Datatype": "evr_string",
"Operation": "less than"
},
"Subexpression": {}
}
]
}

View File

@ -0,0 +1,42 @@
{
"TextFileContent54Tests": [
{
"ID": "oval:org.altlinux.errata:tst:3001",
"Version": "1",
"Check": "all",
"Comment": "ALT Linux based on branch 'p11' must be installed",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:3001"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:3001"
}
}
],
"RPMInfoTests": [
{
"ID": "oval:org.altlinux.errata:tst:202417385001",
"Version": "1",
"Check": "all",
"Comment": "python3-module-aiohttp is earlier than 0:3.9.5-alt1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:202417385001"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:202417385001"
}
},
{
"ID": "oval:org.altlinux.errata:tst:202417385002",
"Version": "1",
"Check": "all",
"Comment": "python3-module-aiohttp-tests is earlier than 0:3.9.5-alt1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:202417385002"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:202417385001"
}
}
]
}