From 68a7f4e11502309e5f7eceef8f449a82cf690e53 Mon Sep 17 00:00:00 2001 From: pepelyaevip Date: Wed, 15 May 2024 15:02:46 +0000 Subject: [PATCH] ALT Vulnerability --- oval/c9f2/ALT-PU-2024-7717/definitions.json | 100 ++++++++++++++++++++ oval/c9f2/ALT-PU-2024-7717/objects.json | 34 +++++++ oval/c9f2/ALT-PU-2024-7717/states.json | 23 +++++ oval/c9f2/ALT-PU-2024-7717/tests.json | 30 ++++++ 4 files changed, 187 insertions(+) create mode 100644 oval/c9f2/ALT-PU-2024-7717/definitions.json create mode 100644 oval/c9f2/ALT-PU-2024-7717/objects.json create mode 100644 oval/c9f2/ALT-PU-2024-7717/states.json create mode 100644 oval/c9f2/ALT-PU-2024-7717/tests.json diff --git a/oval/c9f2/ALT-PU-2024-7717/definitions.json b/oval/c9f2/ALT-PU-2024-7717/definitions.json new file mode 100644 index 0000000000..1fb48c1285 --- /dev/null +++ b/oval/c9f2/ALT-PU-2024-7717/definitions.json @@ -0,0 +1,100 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:20247717", + "Version": "oval:org.altlinux.errata:def:20247717", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2024-7717: package `perl-Spreadsheet-ParseExcel` update to version 0.66-alt1", + "AffectedList": [ + { + "Family": "unix", + "Platforms": [ + "ALT Linux branch c9f2" + ], + "Products": [ + "ALT SPWorkstation", + "ALT SPServer" + ] + } + ], + "References": [ + { + "RefID": "ALT-PU-2024-7717", + "RefURL": "https://errata.altlinux.org/ALT-PU-2024-7717", + "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-15" + }, + "Updated": { + "Date": "2024-05-15" + }, + "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: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:20247717001", + "Comment": "perl-Spreadsheet-ParseExcel is earlier than 1:0.66-alt1" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/c9f2/ALT-PU-2024-7717/objects.json b/oval/c9f2/ALT-PU-2024-7717/objects.json new file mode 100644 index 0000000000..bad5144eec --- /dev/null +++ b/oval/c9f2/ALT-PU-2024-7717/objects.json @@ -0,0 +1,34 @@ +{ + "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:20247717001", + "Version": "1", + "Comment": "perl-Spreadsheet-ParseExcel is installed", + "Name": "perl-Spreadsheet-ParseExcel" + } + ] +} \ No newline at end of file diff --git a/oval/c9f2/ALT-PU-2024-7717/states.json b/oval/c9f2/ALT-PU-2024-7717/states.json new file mode 100644 index 0000000000..b81e342a9e --- /dev/null +++ b/oval/c9f2/ALT-PU-2024-7717/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:3001", + "Version": "1", + "Text": {} + } + ], + "RPMInfoStates": [ + { + "ID": "oval:org.altlinux.errata:ste:20247717001", + "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/c9f2/ALT-PU-2024-7717/tests.json b/oval/c9f2/ALT-PU-2024-7717/tests.json new file mode 100644 index 0000000000..b10c7acf9e --- /dev/null +++ b/oval/c9f2/ALT-PU-2024-7717/tests.json @@ -0,0 +1,30 @@ +{ + "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:20247717001", + "Version": "1", + "Check": "all", + "Comment": "perl-Spreadsheet-ParseExcel is earlier than 1:0.66-alt1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20247717001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20247717001" + } + } + ] +} \ No newline at end of file