ALT Vulnerability

This commit is contained in:
Иван Пепеляев 2024-01-19 15:04:33 +00:00
parent c6f354fb5a
commit 4570800d6f
8 changed files with 443 additions and 0 deletions

View File

@ -0,0 +1,96 @@
{
"Definition": [
{
"ID": "oval:org.altlinux.errata:def:20241176",
"Version": "oval:org.altlinux.errata:def:20241176",
"Class": "patch",
"Metadata": {
"Title": "ALT-PU-2024-1176: package `caddy` update to version 2.7.6-alt1",
"AffectedList": [
{
"Family": "unix",
"Platforms": [
"ALT Linux branch c10f2"
]
}
],
"References": [
{
"RefID": "ALT-PU-2024-1176",
"RefURL": "https://errata.altlinux.org/ALT-PU-2024-1176",
"Source": "ALTPU"
},
{
"RefID": "BDU:2023-06559",
"RefURL": "https://bdu.fstec.ru/vul/2023-06559",
"Source": "BDU"
},
{
"RefID": "CVE-2023-44487",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-44487",
"Source": "CVE"
}
],
"Description": "This update upgrades caddy to version 2.7.6-alt1. \nSecurity Fix(es):\n\n * BDU:2023-06559: Уязвимость реализации протокола HTTP/2, связанная с возможностью формирования потока запросов в рамках уже установленного сетевого соединения, без открытия новых сетевых соединений и без подтверждения получения пакетов, позволяющая нарушителю вызвать отказ в обслуживании\n\n * CVE-2023-44487: The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset many streams quickly, as exploited in the wild in August through October 2023.",
"Advisory": {
"From": "errata.altlinux.org",
"Severity": "High",
"Rights": "Copyright 2023 BaseALT Ltd.",
"Issued": {
"Date": "2024-01-19"
},
"Updated": {
"Date": "2024-01-19"
},
"bdu": [
{
"Cvss": "AV:N/AC:L/Au:N/C:N/I:N/A:C",
"Cvss3": "AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"Cwe": "CWE-400",
"Href": "https://bdu.fstec.ru/vul/2023-06559",
"Impact": "High",
"Public": "20231010",
"CveID": "BDU:2023-06559"
}
],
"Cves": [
{
"Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"Cwe": "CWE-400",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-44487",
"Impact": "High",
"Public": "20231010",
"CveID": "CVE-2023-44487"
}
],
"AffectedCpeList": {
"Cpe": [
"cpe:/o:alt:spworkstation:10",
"cpe:/o:alt:spserver:10"
]
}
}
},
"Criteria": {
"Operator": "AND",
"Criterions": [
{
"TestRef": "oval:org.altlinux.errata:tst:5001",
"Comment": "ALT Linux must be installed"
}
],
"Criterias": [
{
"Operator": "OR",
"Criterions": [
{
"TestRef": "oval:org.altlinux.errata:tst:20241176001",
"Comment": "caddy is earlier than 0:2.7.6-alt1"
}
]
}
]
}
}
]
}

View File

@ -0,0 +1,34 @@
{
"TextFileContent54Objects": [
{
"ID": "oval:org.altlinux.errata:obj:5001",
"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(?:server|workstation):(\\d+)"
},
"Instance": {
"Datatype": "int",
"Text": "1"
}
}
],
"RpmInfoObjects": [
{
"ID": "oval:org.altlinux.errata:obj:20241176001",
"Version": "1",
"comment": "caddy is installed",
"Name": "caddy"
}
]
}

View File

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

View File

@ -0,0 +1,30 @@
{
"TextFileContent54Tests": [
{
"ID": "oval:org.altlinux.errata:tst:5001",
"Version": "1",
"Check": "all",
"Comment": "ALT Linux based on branch 'c10f2' must be installed",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:5001"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:5001"
}
}
],
"RPMInfoTests": [
{
"ID": "oval:org.altlinux.errata:tst:20241176001",
"Version": "1",
"Check": "all",
"Comment": "caddy is earlier than 0:2.7.6-alt1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20241176001"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20241176001"
}
}
]
}

View File

@ -0,0 +1,137 @@
{
"Definition": [
{
"ID": "oval:org.altlinux.errata:def:20241215",
"Version": "oval:org.altlinux.errata:def:20241215",
"Class": "patch",
"Metadata": {
"Title": "ALT-PU-2024-1215: package `libspf2` update to version 1.2.11-alt1.git.4915c30",
"AffectedList": [
{
"Family": "unix",
"Platforms": [
"ALT Linux branch c9f2"
],
"Products": [
"ALT SPWorkstation",
"ALT SPServer"
]
}
],
"References": [
{
"RefID": "ALT-PU-2024-1215",
"RefURL": "https://errata.altlinux.org/ALT-PU-2024-1215",
"Source": "ALTPU"
},
{
"RefID": "BDU:2021-04420",
"RefURL": "https://bdu.fstec.ru/vul/2021-04420",
"Source": "BDU"
},
{
"RefID": "CVE-2021-20314",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2021-20314",
"Source": "CVE"
},
{
"RefID": "CVE-2021-33912",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2021-33912",
"Source": "CVE"
},
{
"RefID": "CVE-2021-33913",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2021-33913",
"Source": "CVE"
}
],
"Description": "This update upgrades libspf2 to version 1.2.11-alt1.git.4915c30. \nSecurity Fix(es):\n\n * BDU:2021-04420: Уязвимость библиотеки протоколов SPF libspf2, связанная с выходом операции за границы буфера в памяти, позволяющая нарушителю выполнить произвольный код\n\n * CVE-2021-20314: Stack buffer overflow in libspf2 versions below 1.2.11 when processing certain SPF macros can lead to Denial of service and potentially code execution via malicious crafted SPF explanation messages.\n\n * CVE-2021-33912: libspf2 before 1.2.11 has a four-byte heap-based buffer overflow that might allow remote attackers to execute arbitrary code (via an unauthenticated e-mail message from anywhere on the Internet) with a crafted SPF DNS record, because of incorrect sprintf usage in SPF_record_expand_data in spf_expand.c. The vulnerable code may be part of the supply chain of a site's e-mail infrastructure (e.g., with additional configuration, Exim can use libspf2; the Postfix web site links to unofficial patches for use of libspf2 with Postfix; older versions of spfquery relied on libspf2) but most often is not.\n\n * CVE-2021-33913: libspf2 before 1.2.11 has a heap-based buffer overflow that might allow remote attackers to execute arbitrary code (via an unauthenticated e-mail message from anywhere on the Internet) with a crafted SPF DNS record, because of SPF_record_expand_data in spf_expand.c. The amount of overflowed data depends on the relationship between the length of an entire domain name and the length of its leftmost label. The vulnerable code may be part of the supply chain of a site's e-mail infrastructure (e.g., with additional configuration, Exim can use libspf2; the Postfix web site links to unofficial patches for use of libspf2 with Postfix; older versions of spfquery relied on libspf2) but most often is not.",
"Advisory": {
"From": "errata.altlinux.org",
"Severity": "Critical",
"Rights": "Copyright 2023 BaseALT Ltd.",
"Issued": {
"Date": "2024-01-19"
},
"Updated": {
"Date": "2024-01-19"
},
"bdu": [
{
"Cvss": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
"Cvss3": "AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"Cwe": "CWE-121",
"Href": "https://bdu.fstec.ru/vul/2021-04420",
"Impact": "High",
"Public": "20210817",
"CveID": "BDU:2021-04420"
}
],
"Cves": [
{
"Cvss": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"Cwe": "CWE-787",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2021-20314",
"Impact": "Critical",
"Public": "20210812",
"CveID": "CVE-2021-20314"
},
{
"Cvss": "AV:N/AC:M/Au:N/C:C/I:C/A:C",
"Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"Cwe": "CWE-787",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2021-33912",
"Impact": "Critical",
"Public": "20220119",
"CveID": "CVE-2021-33912"
},
{
"Cvss": "AV:N/AC:M/Au:N/C:C/I:C/A:C",
"Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"Cwe": "CWE-787",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2021-33913",
"Impact": "Critical",
"Public": "20220119",
"CveID": "CVE-2021-33913"
}
],
"AffectedCpeList": {
"Cpe": [
"cpe:/o:alt:spworkstation:8.4",
"cpe:/o:alt:spserver:8.4"
]
}
}
},
"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:20241215001",
"Comment": "libspf2 is earlier than 0:1.2.11-alt1.git.4915c30"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20241215002",
"Comment": "libspf2-devel is earlier than 0:1.2.11-alt1.git.4915c30"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20241215003",
"Comment": "libspf2-tools is earlier than 0:1.2.11-alt1.git.4915c30"
}
]
}
]
}
}
]
}

View File

@ -0,0 +1,46 @@
{
"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(?:server|workstation):(\\d\\.\\d)"
},
"Instance": {
"Datatype": "int",
"Text": "1"
}
}
],
"RpmInfoObjects": [
{
"ID": "oval:org.altlinux.errata:obj:20241215001",
"Version": "1",
"comment": "libspf2 is installed",
"Name": "libspf2"
},
{
"ID": "oval:org.altlinux.errata:obj:20241215002",
"Version": "1",
"comment": "libspf2-devel is installed",
"Name": "libspf2-devel"
},
{
"ID": "oval:org.altlinux.errata:obj:20241215003",
"Version": "1",
"comment": "libspf2-tools is installed",
"Name": "libspf2-tools"
}
]
}

View File

@ -0,0 +1,23 @@
{
"TextFileContent54State": [
{
"ID": "oval:org.altlinux.errata:ste:3001",
"Version": "1",
"Text": {}
}
],
"RpmInfoState": [
{
"ID": "oval:org.altlinux.errata:ste:20241215001",
"Version": "1",
"Comment": "package EVR is earlier than 0:1.2.11-alt1.git.4915c30",
"Arch": {},
"Evr": {
"Text": "0:1.2.11-alt1.git.4915c30",
"Datatype": "evr_string",
"Operation": "less than"
},
"Subexpression": {}
}
]
}

View File

@ -0,0 +1,54 @@
{
"TextFileContent54Tests": [
{
"ID": "oval:org.altlinux.errata:tst:3001",
"Version": "1",
"Check": "all",
"Comment": "ALT Linux based on branch 'c9f2' 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:20241215001",
"Version": "1",
"Check": "all",
"Comment": "libspf2 is earlier than 0:1.2.11-alt1.git.4915c30",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20241215001"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20241215001"
}
},
{
"ID": "oval:org.altlinux.errata:tst:20241215002",
"Version": "1",
"Check": "all",
"Comment": "libspf2-devel is earlier than 0:1.2.11-alt1.git.4915c30",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20241215002"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20241215001"
}
},
{
"ID": "oval:org.altlinux.errata:tst:20241215003",
"Version": "1",
"Check": "all",
"Comment": "libspf2-tools is earlier than 0:1.2.11-alt1.git.4915c30",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20241215003"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20241215001"
}
}
]
}