ALT Vulnerability

This commit is contained in:
Иван Пепеляев 2024-03-18 15:04:46 +00:00
parent 9203a3aaf1
commit 7612c43e98
12 changed files with 958 additions and 0 deletions

View File

@ -0,0 +1,219 @@
{
"Definition": [
{
"ID": "oval:org.altlinux.errata:def:20244050",
"Version": "oval:org.altlinux.errata:def:20244050",
"Class": "patch",
"Metadata": {
"Title": "ALT-PU-2024-4050: package `shim` update to version 15.8-alt1",
"AffectedList": [
{
"Family": "unix",
"Platforms": [
"ALT Linux branch c10f1"
],
"Products": [
"ALT SP Workstation",
"ALT SP Server"
]
}
],
"References": [
{
"RefID": "ALT-PU-2024-4050",
"RefURL": "https://errata.altlinux.org/ALT-PU-2024-4050",
"Source": "ALTPU"
},
{
"RefID": "BDU:2023-06578",
"RefURL": "https://bdu.fstec.ru/vul/2023-06578",
"Source": "BDU"
},
{
"RefID": "BDU:2023-06822",
"RefURL": "https://bdu.fstec.ru/vul/2023-06822",
"Source": "BDU"
},
{
"RefID": "BDU:2024-00725",
"RefURL": "https://bdu.fstec.ru/vul/2024-00725",
"Source": "BDU"
},
{
"RefID": "CVE-2023-40546",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-40546",
"Source": "CVE"
},
{
"RefID": "CVE-2023-40547",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-40547",
"Source": "CVE"
},
{
"RefID": "CVE-2023-40548",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-40548",
"Source": "CVE"
},
{
"RefID": "CVE-2023-40549",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-40549",
"Source": "CVE"
},
{
"RefID": "CVE-2023-40550",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-40550",
"Source": "CVE"
},
{
"RefID": "CVE-2023-40551",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-40551",
"Source": "CVE"
},
{
"RefID": "CVE-2023-4692",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-4692",
"Source": "CVE"
},
{
"RefID": "CVE-2023-4693",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-4693",
"Source": "CVE"
}
],
"Description": "This update upgrades shim to version 15.8-alt1. \nSecurity Fix(es):\n\n * BDU:2023-06578: Уязвимость компонента fs/ntfs.c загрузчика операционных систем Grub2, позволяющая нарушителю получить несанкционированный доступ к защищаемой информации\n\n * BDU:2023-06822: Уязвимость компонента fs/ntfs.c загрузчика операционных систем Grub2, позволяющая нарушителю выполнить произвольный код\n\n * BDU:2024-00725: Уязвимость UEFI-загрузчика shim, существующая из-за непринятия мер по нейтрализации специальных элементов, позволяющая нарушителю выполнить произвольный код\n\n * CVE-2023-40546: A flaw was found in Shim when an error happened while creating a new ESL variable. If Shim fails to create the new variable, it tries to print an error message to the user; however, the number of parameters used by the logging function doesn't match the format string used by it, leading to a crash under certain circumstances.\n\n * CVE-2023-40547: A remote code execution vulnerability was found in Shim. The Shim boot support trusts attacker-controlled values when parsing an HTTP response. This flaw allows an attacker to craft a specific malicious HTTP request, leading to a completely controlled out-of-bounds write primitive and complete system compromise. This flaw is only exploitable during the early boot phase, an attacker needs to perform a Man-in-the-Middle or compromise the boot server to be able to exploit this vulnerability successfully.\n\n * CVE-2023-40548: A buffer overflow was found in Shim in the 32-bit system. The overflow happens due to an addition operation involving a user-controlled value parsed from the PE binary being used by Shim. This value is further used for memory allocation operations, leading to a heap-based buffer overflow. This flaw causes memory corruption and can lead to a crash or data integrity issues during the boot phase.\n\n * CVE-2023-40549: An out-of-bounds read flaw was found in Shim due to the lack of proper boundary verification during the load of a PE binary. This flaw allows an attacker to load a crafted PE binary, triggering the issue and crashing Shim, resulting in a denial of service.\n\n * CVE-2023-40550: An out-of-bounds read flaw was found in Shim when it tried to validate the SBAT information. This issue may expose sensitive data during the system's boot phase.\n\n * CVE-2023-40551: A flaw was found in the MZ binary format in Shim. An out-of-bounds read may occur, leading to a crash or possible exposure of sensitive data during the system's boot phase.\n\n * CVE-2023-4692: An out-of-bounds write flaw was found in grub2's NTFS filesystem driver. This issue may allow an attacker to present a specially crafted NTFS filesystem image, leading to grub's heap metadata corruption. In some circumstances, the attack may also corrupt the UEFI firmware heap metadata. As a result, arbitrary code execution and secure boot protection bypass may be achieved.\n\n * CVE-2023-4693: An out-of-bounds read flaw was found on grub2's NTFS filesystem driver. This issue may allow a physically present attacker to present a specially crafted NTFS file system image to read arbitrary memory locations. A successful attack allows sensitive data cached in memory or EFI variable values to be leaked, presenting a high Confidentiality risk.",
"Advisory": {
"From": "errata.altlinux.org",
"Severity": "High",
"Rights": "Copyright 2024 BaseALT Ltd.",
"Issued": {
"Date": "2024-03-18"
},
"Updated": {
"Date": "2024-03-18"
},
"bdu": [
{
"Cvss": "AV:L/AC:L/Au:N/C:C/I:N/A:N",
"Cvss3": "AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N",
"Cwe": "CWE-125",
"Href": "https://bdu.fstec.ru/vul/2023-06578",
"Impact": "Low",
"Public": "20231003",
"CveID": "BDU:2023-06578"
},
{
"Cvss": "AV:L/AC:H/Au:M/C:N/I:C/A:N",
"Cvss3": "AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N",
"Cwe": "CWE-122",
"Href": "https://bdu.fstec.ru/vul/2023-06822",
"Impact": "Low",
"Public": "20231003",
"CveID": "BDU:2023-06822"
},
{
"Cvss": "AV:A/AC:H/Au:N/C:C/I:C/A:C",
"Cvss3": "AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
"Cwe": "CWE-74",
"Href": "https://bdu.fstec.ru/vul/2024-00725",
"Impact": "High",
"Public": "20240125",
"CveID": "BDU:2024-00725"
}
],
"Cves": [
{
"Cvss3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"Cwe": "CWE-476",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-40546",
"Impact": "Low",
"Public": "20240129",
"CveID": "CVE-2023-40546"
},
{
"Cvss3": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
"Cwe": "CWE-787",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-40547",
"Impact": "High",
"Public": "20240125",
"CveID": "CVE-2023-40547"
},
{
"Cvss3": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"Cwe": "CWE-190",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-40548",
"Impact": "High",
"Public": "20240129",
"CveID": "CVE-2023-40548"
},
{
"Cvss3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"Cwe": "CWE-125",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-40549",
"Impact": "Low",
"Public": "20240129",
"CveID": "CVE-2023-40549"
},
{
"Cvss3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"Cwe": "CWE-125",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-40550",
"Impact": "Low",
"Public": "20240129",
"CveID": "CVE-2023-40550"
},
{
"Cvss3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
"Cwe": "CWE-125",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-40551",
"Impact": "High",
"Public": "20240129",
"CveID": "CVE-2023-40551"
},
{
"Cvss3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"Cwe": "CWE-787",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-4692",
"Impact": "High",
"Public": "20231025",
"CveID": "CVE-2023-4692"
},
{
"Cvss3": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"Cwe": "CWE-125",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-4693",
"Impact": "Low",
"Public": "20231025",
"CveID": "CVE-2023-4693"
}
],
"AffectedCpeList": {
"Cpe": [
"cpe:/o:alt:spworkstation:10",
"cpe:/o:alt:spserver:10"
]
}
}
},
"Criteria": {
"Operator": "AND",
"Criterions": [
{
"TestRef": "oval:org.altlinux.errata:tst:4001",
"Comment": "ALT Linux must be installed"
}
],
"Criterias": [
{
"Operator": "OR",
"Criterions": [
{
"TestRef": "oval:org.altlinux.errata:tst:20244050001",
"Comment": "shim-unsigned is earlier than 0:15.8-alt1"
}
]
}
]
}
}
]
}

View File

@ -0,0 +1,34 @@
{
"TextFileContent54Objects": [
{
"ID": "oval:org.altlinux.errata:obj:4001",
"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:20244050001",
"Version": "1",
"comment": "shim-unsigned is installed",
"Name": "shim-unsigned"
}
]
}

View File

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

View File

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

View File

@ -0,0 +1,86 @@
{
"Definition": [
{
"ID": "oval:org.altlinux.errata:def:20244057",
"Version": "oval:org.altlinux.errata:def:20244057",
"Class": "patch",
"Metadata": {
"Title": "ALT-PU-2024-4057: package `prometheus` update to version 2.47.1-alt1",
"AffectedList": [
{
"Family": "unix",
"Platforms": [
"ALT Linux branch c10f2"
]
}
],
"References": [
{
"RefID": "ALT-PU-2024-4057",
"RefURL": "https://errata.altlinux.org/ALT-PU-2024-4057",
"Source": "ALTPU"
},
{
"RefID": "CVE-2021-29622",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2021-29622",
"Source": "CVE"
}
],
"Description": "This update upgrades prometheus to version 2.47.1-alt1. \nSecurity Fix(es):\n\n * CVE-2021-29622: Prometheus is an open-source monitoring system and time series database. In 2.23.0, Prometheus changed its default UI to the New ui. To ensure a seamless transition, the URL's prefixed by /new redirect to /. Due to a bug in the code, it is possible for an attacker to craft an URL that can redirect to any other URL, in the /new endpoint. If a user visits a prometheus server with a specially crafted address, they can be redirected to an arbitrary URL. The issue was patched in the 2.26.1 and 2.27.1 releases. In 2.28.0, the /new endpoint will be removed completely. The workaround is to disable access to /new via a reverse proxy in front of Prometheus.",
"Advisory": {
"From": "errata.altlinux.org",
"Severity": "Low",
"Rights": "Copyright 2024 BaseALT Ltd.",
"Issued": {
"Date": "2024-03-18"
},
"Updated": {
"Date": "2024-03-18"
},
"bdu": null,
"Cves": [
{
"Cvss": "AV:N/AC:M/Au:N/C:P/I:P/A:N",
"Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"Cwe": "CWE-601",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2021-29622",
"Impact": "Low",
"Public": "20210519",
"CveID": "CVE-2021-29622"
}
],
"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:20244057001",
"Comment": "prometheus is earlier than 0:2.47.1-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20244057002",
"Comment": "prometheus-common is earlier than 0:2.47.1-alt1"
}
]
}
]
}
}
]
}

View File

@ -0,0 +1,40 @@
{
"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:20244057001",
"Version": "1",
"comment": "prometheus is installed",
"Name": "prometheus"
},
{
"ID": "oval:org.altlinux.errata:obj:20244057002",
"Version": "1",
"comment": "prometheus-common is installed",
"Name": "prometheus-common"
}
]
}

View File

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

View File

@ -0,0 +1,42 @@
{
"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:20244057001",
"Version": "1",
"Check": "all",
"Comment": "prometheus is earlier than 0:2.47.1-alt1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20244057001"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20244057001"
}
},
{
"ID": "oval:org.altlinux.errata:tst:20244057002",
"Version": "1",
"Check": "all",
"Comment": "prometheus-common is earlier than 0:2.47.1-alt1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20244057002"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20244057001"
}
}
]
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,70 @@
{
"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:20243921001",
"Version": "1",
"comment": "openssh-askpass-common-gostcrypto is installed",
"Name": "openssh-askpass-common-gostcrypto"
},
{
"ID": "oval:org.altlinux.errata:obj:20243921002",
"Version": "1",
"comment": "openssh-clients-gostcrypto is installed",
"Name": "openssh-clients-gostcrypto"
},
{
"ID": "oval:org.altlinux.errata:obj:20243921003",
"Version": "1",
"comment": "openssh-common-gostcrypto is installed",
"Name": "openssh-common-gostcrypto"
},
{
"ID": "oval:org.altlinux.errata:obj:20243921004",
"Version": "1",
"comment": "openssh-gostcrypto is installed",
"Name": "openssh-gostcrypto"
},
{
"ID": "oval:org.altlinux.errata:obj:20243921005",
"Version": "1",
"comment": "openssh-keysign-gostcrypto is installed",
"Name": "openssh-keysign-gostcrypto"
},
{
"ID": "oval:org.altlinux.errata:obj:20243921006",
"Version": "1",
"comment": "openssh-server-control-gostcrypto is installed",
"Name": "openssh-server-control-gostcrypto"
},
{
"ID": "oval:org.altlinux.errata:obj:20243921007",
"Version": "1",
"comment": "openssh-server-gostcrypto is installed",
"Name": "openssh-server-gostcrypto"
}
]
}

View File

@ -0,0 +1,23 @@
{
"TextFileContent54State": [
{
"ID": "oval:org.altlinux.errata:ste:2001",
"Version": "1",
"Text": {}
}
],
"RpmInfoState": [
{
"ID": "oval:org.altlinux.errata:ste:20243921001",
"Version": "1",
"Comment": "package EVR is earlier than 0:7.9p1-alt4.gost.p10.1",
"Arch": {},
"Evr": {
"Text": "0:7.9p1-alt4.gost.p10.1",
"Datatype": "evr_string",
"Operation": "less than"
},
"Subexpression": {}
}
]
}

View File

@ -0,0 +1,102 @@
{
"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:20243921001",
"Version": "1",
"Check": "all",
"Comment": "openssh-askpass-common-gostcrypto is earlier than 0:7.9p1-alt4.gost.p10.1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20243921001"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20243921001"
}
},
{
"ID": "oval:org.altlinux.errata:tst:20243921002",
"Version": "1",
"Check": "all",
"Comment": "openssh-clients-gostcrypto is earlier than 0:7.9p1-alt4.gost.p10.1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20243921002"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20243921001"
}
},
{
"ID": "oval:org.altlinux.errata:tst:20243921003",
"Version": "1",
"Check": "all",
"Comment": "openssh-common-gostcrypto is earlier than 0:7.9p1-alt4.gost.p10.1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20243921003"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20243921001"
}
},
{
"ID": "oval:org.altlinux.errata:tst:20243921004",
"Version": "1",
"Check": "all",
"Comment": "openssh-gostcrypto is earlier than 0:7.9p1-alt4.gost.p10.1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20243921004"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20243921001"
}
},
{
"ID": "oval:org.altlinux.errata:tst:20243921005",
"Version": "1",
"Check": "all",
"Comment": "openssh-keysign-gostcrypto is earlier than 0:7.9p1-alt4.gost.p10.1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20243921005"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20243921001"
}
},
{
"ID": "oval:org.altlinux.errata:tst:20243921006",
"Version": "1",
"Check": "all",
"Comment": "openssh-server-control-gostcrypto is earlier than 0:7.9p1-alt4.gost.p10.1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20243921006"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20243921001"
}
},
{
"ID": "oval:org.altlinux.errata:tst:20243921007",
"Version": "1",
"Check": "all",
"Comment": "openssh-server-gostcrypto is earlier than 0:7.9p1-alt4.gost.p10.1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20243921007"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20243921001"
}
}
]
}