diff --git a/oval/c10f2/ALT-PU-2024-7691/definitions.json b/oval/c10f2/ALT-PU-2024-7691/definitions.json new file mode 100644 index 0000000000..73327271b2 --- /dev/null +++ b/oval/c10f2/ALT-PU-2024-7691/definitions.json @@ -0,0 +1,96 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:20247691", + "Version": "oval:org.altlinux.errata:def:20247691", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2024-7691: package `perl-Spreadsheet-ParseExcel` update to version 0.66-alt1", + "AffectedList": [ + { + "Family": "unix", + "Platforms": [ + "ALT Linux branch c10f2" + ] + } + ], + "References": [ + { + "RefID": "ALT-PU-2024-7691", + "RefURL": "https://errata.altlinux.org/ALT-PU-2024-7691", + "Source": "ALTPU" + }, + { + "RefID": "BDU:2024-00130", + "RefURL": "https://bdu.fstec.ru/vul/2024-00130", + "Source": "BDU" + }, + { + "RefID": "CVE-2023-7101", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-7101", + "Source": "CVE" + } + ], + "Description": "This update upgrades perl-Spreadsheet-ParseExcel to version 0.66-alt1. \nSecurity Fix(es):\n\n * BDU:2024-00130: Уязвимость библиотеки для работы с XLS-файлами Spreadsheet::ParseExcel, связанная с непринятием мер по нейтрализации инструкций в динамически исполняемом коде, позволяющая нарушителю выполнить произвольный код\n\n * CVE-2023-7101: Spreadsheet::ParseExcel version 0.65 is a Perl module used for parsing Excel files. Spreadsheet::ParseExcel is vulnerable to an arbitrary code execution (ACE) vulnerability due to passing unvalidated input from a file into a string-type “eval”. Specifically, the issue stems from the evaluation of Number format strings (not to be confused with printf-style format strings) within the Excel parsing logic. \n", + "Advisory": { + "From": "errata.altlinux.org", + "Severity": "High", + "Rights": "Copyright 2024 BaseALT Ltd.", + "Issued": { + "Date": "2024-05-14" + }, + "Updated": { + "Date": "2024-05-14" + }, + "BDUs": [ + { + "ID": "BDU:2024-00130", + "CVSS": "AV:L/AC:L/Au:N/C:C/I:C/A:C", + "CVSS3": "AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", + "CWE": "CWE-94, CWE-95", + "Href": "https://bdu.fstec.ru/vul/2024-00130", + "Impact": "High", + "Public": "20231225" + } + ], + "CVEs": [ + { + "ID": "CVE-2023-7101", + "CVSS3": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", + "CWE": "CWE-94", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-7101", + "Impact": "High", + "Public": "20231224" + } + ], + "AffectedCPEs": { + "CPEs": [ + "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:20247691001", + "Comment": "perl-Spreadsheet-ParseExcel is earlier than 1:0.66-alt1" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/c10f2/ALT-PU-2024-7691/objects.json b/oval/c10f2/ALT-PU-2024-7691/objects.json new file mode 100644 index 0000000000..2fe88ca29f --- /dev/null +++ b/oval/c10f2/ALT-PU-2024-7691/objects.json @@ -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:20247691001", + "Version": "1", + "Comment": "perl-Spreadsheet-ParseExcel is installed", + "Name": "perl-Spreadsheet-ParseExcel" + } + ] +} \ No newline at end of file diff --git a/oval/c10f2/ALT-PU-2024-7691/states.json b/oval/c10f2/ALT-PU-2024-7691/states.json new file mode 100644 index 0000000000..2d44403ec9 --- /dev/null +++ b/oval/c10f2/ALT-PU-2024-7691/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:5001", + "Version": "1", + "Text": {} + } + ], + "RPMInfoStates": [ + { + "ID": "oval:org.altlinux.errata:ste:20247691001", + "Version": "1", + "Comment": "package EVR is earlier than 1:0.66-alt1", + "Arch": {}, + "EVR": { + "Text": "1:0.66-alt1", + "Datatype": "evr_string", + "Operation": "less than" + }, + "Subexpression": {} + } + ] +} \ No newline at end of file diff --git a/oval/c10f2/ALT-PU-2024-7691/tests.json b/oval/c10f2/ALT-PU-2024-7691/tests.json new file mode 100644 index 0000000000..704247d487 --- /dev/null +++ b/oval/c10f2/ALT-PU-2024-7691/tests.json @@ -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:20247691001", + "Version": "1", + "Check": "all", + "Comment": "perl-Spreadsheet-ParseExcel is earlier than 1:0.66-alt1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20247691001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20247691001" + } + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-7689/definitions.json b/oval/p10/ALT-PU-2024-7689/definitions.json new file mode 100644 index 0000000000..83211adb00 --- /dev/null +++ b/oval/p10/ALT-PU-2024-7689/definitions.json @@ -0,0 +1,124 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:20247689", + "Version": "oval:org.altlinux.errata:def:20247689", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2024-7689: package `perl-Spreadsheet-ParseExcel` update to version 0.66-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" + ] + } + ], + "References": [ + { + "RefID": "ALT-PU-2024-7689", + "RefURL": "https://errata.altlinux.org/ALT-PU-2024-7689", + "Source": "ALTPU" + }, + { + "RefID": "BDU:2024-00130", + "RefURL": "https://bdu.fstec.ru/vul/2024-00130", + "Source": "BDU" + }, + { + "RefID": "CVE-2023-7101", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-7101", + "Source": "CVE" + } + ], + "Description": "This update upgrades perl-Spreadsheet-ParseExcel to version 0.66-alt1. \nSecurity Fix(es):\n\n * BDU:2024-00130: Уязвимость библиотеки для работы с XLS-файлами Spreadsheet::ParseExcel, связанная с непринятием мер по нейтрализации инструкций в динамически исполняемом коде, позволяющая нарушителю выполнить произвольный код\n\n * CVE-2023-7101: Spreadsheet::ParseExcel version 0.65 is a Perl module used for parsing Excel files. Spreadsheet::ParseExcel is vulnerable to an arbitrary code execution (ACE) vulnerability due to passing unvalidated input from a file into a string-type “eval”. Specifically, the issue stems from the evaluation of Number format strings (not to be confused with printf-style format strings) within the Excel parsing logic. \n", + "Advisory": { + "From": "errata.altlinux.org", + "Severity": "High", + "Rights": "Copyright 2024 BaseALT Ltd.", + "Issued": { + "Date": "2024-05-14" + }, + "Updated": { + "Date": "2024-05-14" + }, + "BDUs": [ + { + "ID": "BDU:2024-00130", + "CVSS": "AV:L/AC:L/Au:N/C:C/I:C/A:C", + "CVSS3": "AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", + "CWE": "CWE-94, CWE-95", + "Href": "https://bdu.fstec.ru/vul/2024-00130", + "Impact": "High", + "Public": "20231225" + } + ], + "CVEs": [ + { + "ID": "CVE-2023-7101", + "CVSS3": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", + "CWE": "CWE-94", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-7101", + "Impact": "High", + "Public": "20231224" + } + ], + "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:p10", + "cpe:/o:alt:kworkstation:10.1", + "cpe:/o:alt:workstation:10.1", + "cpe:/o:alt:server:10.1", + "cpe:/o:alt:server-v:10.1", + "cpe:/o:alt:education:10.1", + "cpe:/o:alt:slinux:10.1", + "cpe:/o:alt:starterkit:10.1", + "cpe:/o:alt:kworkstation:10.2", + "cpe:/o:alt:workstation:10.2", + "cpe:/o:alt:server:10.2", + "cpe:/o:alt:server-v:10.2", + "cpe:/o:alt:education:10.2", + "cpe:/o:alt:slinux:10.2", + "cpe:/o:alt:starterkit:10.2" + ] + } + } + }, + "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:20247689001", + "Comment": "perl-Spreadsheet-ParseExcel is earlier than 1:0.66-alt1" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-7689/objects.json b/oval/p10/ALT-PU-2024-7689/objects.json new file mode 100644 index 0000000000..0b4e223563 --- /dev/null +++ b/oval/p10/ALT-PU-2024-7689/objects.json @@ -0,0 +1,34 @@ +{ + "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:20247689001", + "Version": "1", + "Comment": "perl-Spreadsheet-ParseExcel is installed", + "Name": "perl-Spreadsheet-ParseExcel" + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-7689/states.json b/oval/p10/ALT-PU-2024-7689/states.json new file mode 100644 index 0000000000..9d6c2cc65b --- /dev/null +++ b/oval/p10/ALT-PU-2024-7689/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:2001", + "Version": "1", + "Text": {} + } + ], + "RPMInfoStates": [ + { + "ID": "oval:org.altlinux.errata:ste:20247689001", + "Version": "1", + "Comment": "package EVR is earlier than 1:0.66-alt1", + "Arch": {}, + "EVR": { + "Text": "1:0.66-alt1", + "Datatype": "evr_string", + "Operation": "less than" + }, + "Subexpression": {} + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-7689/tests.json b/oval/p10/ALT-PU-2024-7689/tests.json new file mode 100644 index 0000000000..5c64ae1aee --- /dev/null +++ b/oval/p10/ALT-PU-2024-7689/tests.json @@ -0,0 +1,30 @@ +{ + "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:20247689001", + "Version": "1", + "Check": "all", + "Comment": "perl-Spreadsheet-ParseExcel is earlier than 1:0.66-alt1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20247689001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20247689001" + } + } + ] +} \ No newline at end of file