diff --git a/oval/c10f2/ALT-PU-2024-1917/definitions.json b/oval/c10f2/ALT-PU-2024-1917/definitions.json new file mode 100644 index 0000000000..31ac591838 --- /dev/null +++ b/oval/c10f2/ALT-PU-2024-1917/definitions.json @@ -0,0 +1,133 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:20241917", + "Version": "oval:org.altlinux.errata:def:20241917", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2024-1917: package `nbd` update to version 3.25-alt1", + "AffectedList": [ + { + "Family": "unix", + "Platforms": [ + "ALT Linux branch c10f2" + ] + } + ], + "References": [ + { + "RefID": "ALT-PU-2024-1917", + "RefURL": "https://errata.altlinux.org/ALT-PU-2024-1917", + "Source": "ALTPU" + }, + { + "RefID": "BDU:2022-01639", + "RefURL": "https://bdu.fstec.ru/vul/2022-01639", + "Source": "BDU" + }, + { + "RefID": "BDU:2022-01643", + "RefURL": "https://bdu.fstec.ru/vul/2022-01643", + "Source": "BDU" + }, + { + "RefID": "CVE-2022-26495", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2022-26495", + "Source": "CVE" + }, + { + "RefID": "CVE-2022-26496", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2022-26496", + "Source": "CVE" + } + ], + "Description": "This update upgrades nbd to version 3.25-alt1. \nSecurity Fix(es):\n\n * BDU:2022-01639: Уязвимость реализации сетевых блочных устройств nbd, связанная с целочисленным переполнением, позволяющая нарушителю выполнить произвольный код\n\n * BDU:2022-01643: Уязвимость реализации сетевых блочных устройств nbd, связанная с переполнением буфера в стека, позволяющая нарушителю выполнить произвольный код\n\n * CVE-2022-26495: In nbd-server in nbd before 3.24, there is an integer overflow with a resultant heap-based buffer overflow. A value of 0xffffffff in the name length field will cause a zero-sized buffer to be allocated for the name, resulting in a write to a dangling pointer. This issue exists for the NBD_OPT_INFO, NBD_OPT_GO, and NBD_OPT_EXPORT_NAME messages.\n\n * CVE-2022-26496: In nbd-server in nbd before 3.24, there is a stack-based buffer overflow. An attacker can cause a buffer overflow in the parsing of the name field by sending a crafted NBD_OPT_INFO or NBD_OPT_GO message with an large value as the length of the name.", + "Advisory": { + "From": "errata.altlinux.org", + "Severity": "Critical", + "Rights": "Copyright 2023 BaseALT Ltd.", + "Issued": { + "Date": "2024-02-09" + }, + "Updated": { + "Date": "2024-02-09" + }, + "bdu": [ + { + "Cvss": "AV:N/AC:L/Au:N/C:C/I:C/A:C", + "Cvss3": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", + "Cwe": "CWE-190", + "Href": "https://bdu.fstec.ru/vul/2022-01639", + "Impact": "Critical", + "Public": "20220322", + "CveID": "BDU:2022-01639" + }, + { + "Cvss": "AV:N/AC:L/Au:N/C:C/I:C/A:C", + "Cvss3": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", + "Cwe": "CWE-121", + "Href": "https://bdu.fstec.ru/vul/2022-01643", + "Impact": "Critical", + "Public": "20220322", + "CveID": "BDU:2022-01643" + } + ], + "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-190", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2022-26495", + "Impact": "Critical", + "Public": "20220306", + "CveID": "CVE-2022-26495" + }, + { + "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-2022-26496", + "Impact": "Critical", + "Public": "20220306", + "CveID": "CVE-2022-26496" + } + ], + "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:20241917001", + "Comment": "nbd-client is earlier than 0:3.25-alt1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241917002", + "Comment": "nbd-doc is earlier than 0:3.25-alt1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241917003", + "Comment": "nbd-server is earlier than 0:3.25-alt1" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/c10f2/ALT-PU-2024-1917/objects.json b/oval/c10f2/ALT-PU-2024-1917/objects.json new file mode 100644 index 0000000000..4ae22b7ab3 --- /dev/null +++ b/oval/c10f2/ALT-PU-2024-1917/objects.json @@ -0,0 +1,46 @@ +{ + "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:20241917001", + "Version": "1", + "comment": "nbd-client is installed", + "Name": "nbd-client" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241917002", + "Version": "1", + "comment": "nbd-doc is installed", + "Name": "nbd-doc" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241917003", + "Version": "1", + "comment": "nbd-server is installed", + "Name": "nbd-server" + } + ] +} \ No newline at end of file diff --git a/oval/c10f2/ALT-PU-2024-1917/states.json b/oval/c10f2/ALT-PU-2024-1917/states.json new file mode 100644 index 0000000000..cfa7180b69 --- /dev/null +++ b/oval/c10f2/ALT-PU-2024-1917/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:5001", + "Version": "1", + "Text": {} + } + ], + "RpmInfoState": [ + { + "ID": "oval:org.altlinux.errata:ste:20241917001", + "Version": "1", + "Comment": "package EVR is earlier than 0:3.25-alt1", + "Arch": {}, + "Evr": { + "Text": "0:3.25-alt1", + "Datatype": "evr_string", + "Operation": "less than" + }, + "Subexpression": {} + } + ] +} \ No newline at end of file diff --git a/oval/c10f2/ALT-PU-2024-1917/tests.json b/oval/c10f2/ALT-PU-2024-1917/tests.json new file mode 100644 index 0000000000..9981c9b310 --- /dev/null +++ b/oval/c10f2/ALT-PU-2024-1917/tests.json @@ -0,0 +1,54 @@ +{ + "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:20241917001", + "Version": "1", + "Check": "all", + "Comment": "nbd-client is earlier than 0:3.25-alt1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241917001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241917001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241917002", + "Version": "1", + "Check": "all", + "Comment": "nbd-doc is earlier than 0:3.25-alt1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241917002" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241917001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241917003", + "Version": "1", + "Check": "all", + "Comment": "nbd-server is earlier than 0:3.25-alt1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241917003" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241917001" + } + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1571/definitions.json b/oval/p10/ALT-PU-2024-1571/definitions.json new file mode 100644 index 0000000000..29e924bdab --- /dev/null +++ b/oval/p10/ALT-PU-2024-1571/definitions.json @@ -0,0 +1,157 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:20241571", + "Version": "oval:org.altlinux.errata:def:20241571", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2024-1571: package `plasma5-workspace` update to version 5.27.10-alt3", + "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-1571", + "RefURL": "https://errata.altlinux.org/ALT-PU-2024-1571", + "Source": "ALTPU" + } + ], + "Description": "This update upgrades plasma5-workspace to version 5.27.10-alt3. \nSecurity Fix(es):\n\n * #49197: Не выполняются скрипты из /etc/profile.d в сессии kde5 на wayland", + "Advisory": { + "From": "errata.altlinux.org", + "Severity": "Low", + "Rights": "Copyright 2023 BaseALT Ltd.", + "Issued": { + "Date": "2024-02-09" + }, + "Updated": { + "Date": "2024-02-09" + }, + "bdu": null, + "Bugzilla": [ + { + "Id": "49197", + "Href": "https://bugzilla.altlinux.org/49197", + "Data": "Не выполняются скрипты из /etc/profile.d в сессии kde5 на wayland" + } + ], + "AffectedCpeList": { + "Cpe": [ + "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:20241571001", + "Comment": "libcolorcorrect5 is earlier than 1:5.27.10-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241571002", + "Comment": "libkfontinst5 is earlier than 1:5.27.10-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241571003", + "Comment": "libkfontinstui5 is earlier than 1:5.27.10-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241571004", + "Comment": "libkrdb5 is earlier than 1:5.27.10-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241571005", + "Comment": "libkworkspace55 is earlier than 1:5.27.10-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241571006", + "Comment": "libnotificationmanager1 is earlier than 1:5.27.10-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241571007", + "Comment": "libplasma-geolocation-interface5 is earlier than 1:5.27.10-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241571008", + "Comment": "libtaskmanager6 is earlier than 1:5.27.10-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241571009", + "Comment": "libweather_ion7 is earlier than 1:5.27.10-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241571010", + "Comment": "plasma5-workspace is earlier than 1:5.27.10-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241571011", + "Comment": "plasma5-workspace-common is earlier than 1:5.27.10-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241571012", + "Comment": "plasma5-workspace-devel is earlier than 1:5.27.10-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241571013", + "Comment": "plasma5-workspace-qml is earlier than 1:5.27.10-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241571014", + "Comment": "polkit-kde-plasma-workspace is earlier than 1:5.27.10-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241571015", + "Comment": "sddm-theme-breeze is earlier than 1:5.27.10-alt3" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1571/objects.json b/oval/p10/ALT-PU-2024-1571/objects.json new file mode 100644 index 0000000000..50621f2849 --- /dev/null +++ b/oval/p10/ALT-PU-2024-1571/objects.json @@ -0,0 +1,118 @@ +{ + "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:20241571001", + "Version": "1", + "comment": "libcolorcorrect5 is installed", + "Name": "libcolorcorrect5" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241571002", + "Version": "1", + "comment": "libkfontinst5 is installed", + "Name": "libkfontinst5" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241571003", + "Version": "1", + "comment": "libkfontinstui5 is installed", + "Name": "libkfontinstui5" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241571004", + "Version": "1", + "comment": "libkrdb5 is installed", + "Name": "libkrdb5" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241571005", + "Version": "1", + "comment": "libkworkspace55 is installed", + "Name": "libkworkspace55" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241571006", + "Version": "1", + "comment": "libnotificationmanager1 is installed", + "Name": "libnotificationmanager1" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241571007", + "Version": "1", + "comment": "libplasma-geolocation-interface5 is installed", + "Name": "libplasma-geolocation-interface5" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241571008", + "Version": "1", + "comment": "libtaskmanager6 is installed", + "Name": "libtaskmanager6" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241571009", + "Version": "1", + "comment": "libweather_ion7 is installed", + "Name": "libweather_ion7" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241571010", + "Version": "1", + "comment": "plasma5-workspace is installed", + "Name": "plasma5-workspace" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241571011", + "Version": "1", + "comment": "plasma5-workspace-common is installed", + "Name": "plasma5-workspace-common" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241571012", + "Version": "1", + "comment": "plasma5-workspace-devel is installed", + "Name": "plasma5-workspace-devel" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241571013", + "Version": "1", + "comment": "plasma5-workspace-qml is installed", + "Name": "plasma5-workspace-qml" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241571014", + "Version": "1", + "comment": "polkit-kde-plasma-workspace is installed", + "Name": "polkit-kde-plasma-workspace" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241571015", + "Version": "1", + "comment": "sddm-theme-breeze is installed", + "Name": "sddm-theme-breeze" + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1571/states.json b/oval/p10/ALT-PU-2024-1571/states.json new file mode 100644 index 0000000000..ad7055fcff --- /dev/null +++ b/oval/p10/ALT-PU-2024-1571/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:2001", + "Version": "1", + "Text": {} + } + ], + "RpmInfoState": [ + { + "ID": "oval:org.altlinux.errata:ste:20241571001", + "Version": "1", + "Comment": "package EVR is earlier than 1:5.27.10-alt3", + "Arch": {}, + "Evr": { + "Text": "1:5.27.10-alt3", + "Datatype": "evr_string", + "Operation": "less than" + }, + "Subexpression": {} + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1571/tests.json b/oval/p10/ALT-PU-2024-1571/tests.json new file mode 100644 index 0000000000..e2d47494c1 --- /dev/null +++ b/oval/p10/ALT-PU-2024-1571/tests.json @@ -0,0 +1,198 @@ +{ + "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:20241571001", + "Version": "1", + "Check": "all", + "Comment": "libcolorcorrect5 is earlier than 1:5.27.10-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241571001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241571001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241571002", + "Version": "1", + "Check": "all", + "Comment": "libkfontinst5 is earlier than 1:5.27.10-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241571002" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241571001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241571003", + "Version": "1", + "Check": "all", + "Comment": "libkfontinstui5 is earlier than 1:5.27.10-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241571003" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241571001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241571004", + "Version": "1", + "Check": "all", + "Comment": "libkrdb5 is earlier than 1:5.27.10-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241571004" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241571001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241571005", + "Version": "1", + "Check": "all", + "Comment": "libkworkspace55 is earlier than 1:5.27.10-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241571005" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241571001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241571006", + "Version": "1", + "Check": "all", + "Comment": "libnotificationmanager1 is earlier than 1:5.27.10-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241571006" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241571001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241571007", + "Version": "1", + "Check": "all", + "Comment": "libplasma-geolocation-interface5 is earlier than 1:5.27.10-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241571007" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241571001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241571008", + "Version": "1", + "Check": "all", + "Comment": "libtaskmanager6 is earlier than 1:5.27.10-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241571008" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241571001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241571009", + "Version": "1", + "Check": "all", + "Comment": "libweather_ion7 is earlier than 1:5.27.10-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241571009" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241571001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241571010", + "Version": "1", + "Check": "all", + "Comment": "plasma5-workspace is earlier than 1:5.27.10-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241571010" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241571001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241571011", + "Version": "1", + "Check": "all", + "Comment": "plasma5-workspace-common is earlier than 1:5.27.10-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241571011" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241571001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241571012", + "Version": "1", + "Check": "all", + "Comment": "plasma5-workspace-devel is earlier than 1:5.27.10-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241571012" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241571001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241571013", + "Version": "1", + "Check": "all", + "Comment": "plasma5-workspace-qml is earlier than 1:5.27.10-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241571013" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241571001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241571014", + "Version": "1", + "Check": "all", + "Comment": "polkit-kde-plasma-workspace is earlier than 1:5.27.10-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241571014" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241571001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241571015", + "Version": "1", + "Check": "all", + "Comment": "sddm-theme-breeze is earlier than 1:5.27.10-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241571015" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241571001" + } + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1792/definitions.json b/oval/p10/ALT-PU-2024-1792/definitions.json new file mode 100644 index 0000000000..dd07cfa869 --- /dev/null +++ b/oval/p10/ALT-PU-2024-1792/definitions.json @@ -0,0 +1,348 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:20241792", + "Version": "oval:org.altlinux.errata:def:20241792", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2024-1792: package `firefox-esr` update to version 115.7.0-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-1792", + "RefURL": "https://errata.altlinux.org/ALT-PU-2024-1792", + "Source": "ALTPU" + }, + { + "RefID": "BDU:2024-00730", + "RefURL": "https://bdu.fstec.ru/vul/2024-00730", + "Source": "BDU" + }, + { + "RefID": "BDU:2024-00803", + "RefURL": "https://bdu.fstec.ru/vul/2024-00803", + "Source": "BDU" + }, + { + "RefID": "BDU:2024-00805", + "RefURL": "https://bdu.fstec.ru/vul/2024-00805", + "Source": "BDU" + }, + { + "RefID": "BDU:2024-00807", + "RefURL": "https://bdu.fstec.ru/vul/2024-00807", + "Source": "BDU" + }, + { + "RefID": "BDU:2024-00808", + "RefURL": "https://bdu.fstec.ru/vul/2024-00808", + "Source": "BDU" + }, + { + "RefID": "BDU:2024-00810", + "RefURL": "https://bdu.fstec.ru/vul/2024-00810", + "Source": "BDU" + }, + { + "RefID": "BDU:2024-00812", + "RefURL": "https://bdu.fstec.ru/vul/2024-00812", + "Source": "BDU" + }, + { + "RefID": "BDU:2024-00813", + "RefURL": "https://bdu.fstec.ru/vul/2024-00813", + "Source": "BDU" + }, + { + "RefID": "BDU:2024-00814", + "RefURL": "https://bdu.fstec.ru/vul/2024-00814", + "Source": "BDU" + }, + { + "RefID": "CVE-2024-0741", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2024-0741", + "Source": "CVE" + }, + { + "RefID": "CVE-2024-0742", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2024-0742", + "Source": "CVE" + }, + { + "RefID": "CVE-2024-0746", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2024-0746", + "Source": "CVE" + }, + { + "RefID": "CVE-2024-0747", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2024-0747", + "Source": "CVE" + }, + { + "RefID": "CVE-2024-0749", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2024-0749", + "Source": "CVE" + }, + { + "RefID": "CVE-2024-0750", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2024-0750", + "Source": "CVE" + }, + { + "RefID": "CVE-2024-0751", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2024-0751", + "Source": "CVE" + }, + { + "RefID": "CVE-2024-0753", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2024-0753", + "Source": "CVE" + }, + { + "RefID": "CVE-2024-0755", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2024-0755", + "Source": "CVE" + } + ], + "Description": "This update upgrades firefox-esr to version 115.7.0-alt1. \nSecurity Fix(es):\n\n * BDU:2024-00730: Уязвимость реализации механизма HSTS (HTTP Strict Transport Security) браузервов Mozilla Firefox, Firefox ESR и почтового клиента Thunderbird, позволяющая нарушителю обойти механизмы защиты\n\n * BDU:2024-00803: Уязвимость браузеров Mozilla Firefox, Firefox ESR и почтового клиента Thunderbird, связанная с выходом операции за границы буфера в памяти, позволяющая нарушителю выполнить произвольный код\n\n * BDU:2024-00805: Уязвимость набора инструментов для веб-разработки DevTools браузеров Mozilla Firefox, Firefox ESR и почтового клиента Thunderbird, позволяющая нарушителю повысить привилегии\n\n * BDU:2024-00807: Уязвимость браузеров Mozilla Firefox, Firefox ESR и почтового клиента Thunderbird, связанная с ошибками в настройках безопасности, позволяющая нарушителю обойти существующие ограничения безопасности\n\n * BDU:2024-00808: Уязвимость библиотеки ANGLE браузеров Mozilla Firefox, Firefox ESR и почтового клиента Thunderbird, позволяющая нарушителю вызвать отказ в обслуживании\n\n * BDU:2024-00810: Уязвимость браузеров Mozilla Firefox, Firefox ESR и почтового клиента Thunderbird для операционных систем Linux, позволяющая нарушителю вызвать отказ в обслуживании\n\n * BDU:2024-00812: Уязвимость изолированной среды iframe браузеров Mozilla Firefox, Firefox ESR и почтового клиента Thunderbird, позволяющая нарушителю обойти ограничения безопасности и изменить CSP (Content Security Policy)\n\n * BDU:2024-00813: Уязвимость всплывающих уведомлений браузеров Mozilla Firefox, Firefox ESR и почтового клиента Thunderbird, позволяющая нарушителю предоставить разрешения для веб-сайта\n\n * BDU:2024-00814: Уязвимость браузеров Mozilla Firefox, Firefox ESR и почтового клиента Thunderbird, связанная с недостатками разграничения доступа, позволяющая нарушителю провести спуфинг-атаки\n\n * CVE-2024-0741: An out of bounds write in ANGLE could have allowed an attacker to corrupt memory leading to a potentially exploitable crash. This vulnerability affects Firefox \u003c 122, Firefox ESR \u003c 115.7, and Thunderbird \u003c 115.7.\n\n * CVE-2024-0742: It was possible for certain browser prompts and dialogs to be activated or dismissed unintentionally by the user due to an incorrect timestamp used to prevent input after page load. This vulnerability affects Firefox \u003c 122, Firefox ESR \u003c 115.7, and Thunderbird \u003c 115.7.\n\n * CVE-2024-0746: A Linux user opening the print preview dialog could have caused the browser to crash. This vulnerability affects Firefox \u003c 122, Firefox ESR \u003c 115.7, and Thunderbird \u003c 115.7.\n\n * CVE-2024-0747: When a parent page loaded a child in an iframe with `unsafe-inline`, the parent Content Security Policy could have overridden the child Content Security Policy. This vulnerability affects Firefox \u003c 122, Firefox ESR \u003c 115.7, and Thunderbird \u003c 115.7.\n\n * CVE-2024-0749: A phishing site could have repurposed an `about:` dialog to show phishing content with an incorrect origin in the address bar. This vulnerability affects Firefox \u003c 122 and Thunderbird \u003c 115.7.\n\n * CVE-2024-0750: A bug in popup notifications delay calculation could have made it possible for an attacker to trick a user into granting permissions. This vulnerability affects Firefox \u003c 122, Firefox ESR \u003c 115.7, and Thunderbird \u003c 115.7.\n\n * CVE-2024-0751: A malicious devtools extension could have been used to escalate privileges. This vulnerability affects Firefox \u003c 122, Firefox ESR \u003c 115.7, and Thunderbird \u003c 115.7.\n\n * CVE-2024-0753: In specific HSTS configurations an attacker could have bypassed HSTS on a subdomain. This vulnerability affects Firefox \u003c 122, Firefox ESR \u003c 115.7, and Thunderbird \u003c 115.7.\n\n * CVE-2024-0755: Memory safety bugs present in Firefox 121, Firefox ESR 115.6, and Thunderbird 115.6. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code. This vulnerability affects Firefox \u003c 122, Firefox ESR \u003c 115.7, and Thunderbird \u003c 115.7.", + "Advisory": { + "From": "errata.altlinux.org", + "Severity": "High", + "Rights": "Copyright 2023 BaseALT Ltd.", + "Issued": { + "Date": "2024-02-09" + }, + "Updated": { + "Date": "2024-02-09" + }, + "bdu": [ + { + "Cvss": "AV:N/AC:H/Au:N/C:P/I:P/A:N", + "Cvss3": "AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N", + "Cwe": "CWE-200, CWE-254", + "Href": "https://bdu.fstec.ru/vul/2024-00730", + "Impact": "Low", + "Public": "20240126", + "CveID": "BDU:2024-00730" + }, + { + "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-119", + "Href": "https://bdu.fstec.ru/vul/2024-00803", + "Impact": "High", + "Public": "20240123", + "CveID": "BDU:2024-00803" + }, + { + "Cvss": "AV:N/AC:H/Au:N/C:P/I:P/A:N", + "Cvss3": "AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N", + "Cwe": "CWE-264", + "Href": "https://bdu.fstec.ru/vul/2024-00805", + "Impact": "Low", + "Public": "20240123", + "CveID": "BDU:2024-00805" + }, + { + "Cvss": "AV:N/AC:H/Au:N/C:C/I:C/A:N", + "Cvss3": "AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N", + "Cwe": "CWE-254", + "Href": "https://bdu.fstec.ru/vul/2024-00807", + "Impact": "Low", + "Public": "20240123", + "CveID": "BDU:2024-00807" + }, + { + "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-787", + "Href": "https://bdu.fstec.ru/vul/2024-00808", + "Impact": "High", + "Public": "20240123", + "CveID": "BDU:2024-00808" + }, + { + "Cvss": "AV:N/AC:L/Au:N/C:N/I:N/A:P", + "Cvss3": "AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L", + "Cwe": "CWE-617", + "Href": "https://bdu.fstec.ru/vul/2024-00810", + "Impact": "Low", + "Public": "20240123", + "CveID": "BDU:2024-00810" + }, + { + "Cvss": "AV:N/AC:H/Au:N/C:P/I:P/A:N", + "Cvss3": "AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N", + "Cwe": "CWE-254", + "Href": "https://bdu.fstec.ru/vul/2024-00812", + "Impact": "Low", + "Public": "20240123", + "CveID": "BDU:2024-00812" + }, + { + "Cvss": "AV:N/AC:L/Au:N/C:P/I:P/A:N", + "Cvss3": "AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", + "Cwe": "CWE-357", + "Href": "https://bdu.fstec.ru/vul/2024-00813", + "Impact": "Low", + "Public": "20240123", + "CveID": "BDU:2024-00813" + }, + { + "Cvss": "AV:N/AC:L/Au:N/C:N/I:P/A:N", + "Cvss3": "AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", + "Cwe": "CWE-264", + "Href": "https://bdu.fstec.ru/vul/2024-00814", + "Impact": "Low", + "Public": "20240123", + "CveID": "BDU:2024-00814" + } + ], + "Cves": [ + { + "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H", + "Cwe": "CWE-787", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2024-0741", + "Impact": "Low", + "Public": "20240123", + "CveID": "CVE-2024-0741" + }, + { + "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", + "Cwe": "NVD-CWE-noinfo", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2024-0742", + "Impact": "Low", + "Public": "20240123", + "CveID": "CVE-2024-0742" + }, + { + "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H", + "Cwe": "NVD-CWE-noinfo", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2024-0746", + "Impact": "Low", + "Public": "20240123", + "CveID": "CVE-2024-0746" + }, + { + "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N", + "Cwe": "NVD-CWE-noinfo", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2024-0747", + "Impact": "Low", + "Public": "20240123", + "CveID": "CVE-2024-0747" + }, + { + "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", + "Cwe": "CWE-346", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2024-0749", + "Impact": "Low", + "Public": "20240123", + "CveID": "CVE-2024-0749" + }, + { + "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", + "Cwe": "NVD-CWE-noinfo", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2024-0750", + "Impact": "High", + "Public": "20240123", + "CveID": "CVE-2024-0750" + }, + { + "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", + "Cwe": "CWE-269", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2024-0751", + "Impact": "High", + "Public": "20240123", + "CveID": "CVE-2024-0751" + }, + { + "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N", + "Cwe": "NVD-CWE-noinfo", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2024-0753", + "Impact": "Low", + "Public": "20240123", + "CveID": "CVE-2024-0753" + }, + { + "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", + "Cwe": "NVD-CWE-noinfo", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2024-0755", + "Impact": "High", + "Public": "20240123", + "CveID": "CVE-2024-0755" + } + ], + "AffectedCpeList": { + "Cpe": [ + "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:20241792001", + "Comment": "firefox-esr is earlier than 0:115.7.0-alt1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241792002", + "Comment": "firefox-esr-config-privacy is earlier than 0:115.7.0-alt1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241792003", + "Comment": "firefox-esr-wayland is earlier than 0:115.7.0-alt1" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1792/objects.json b/oval/p10/ALT-PU-2024-1792/objects.json new file mode 100644 index 0000000000..22d2217435 --- /dev/null +++ b/oval/p10/ALT-PU-2024-1792/objects.json @@ -0,0 +1,46 @@ +{ + "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:20241792001", + "Version": "1", + "comment": "firefox-esr is installed", + "Name": "firefox-esr" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241792002", + "Version": "1", + "comment": "firefox-esr-config-privacy is installed", + "Name": "firefox-esr-config-privacy" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241792003", + "Version": "1", + "comment": "firefox-esr-wayland is installed", + "Name": "firefox-esr-wayland" + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1792/states.json b/oval/p10/ALT-PU-2024-1792/states.json new file mode 100644 index 0000000000..3e19819eca --- /dev/null +++ b/oval/p10/ALT-PU-2024-1792/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:2001", + "Version": "1", + "Text": {} + } + ], + "RpmInfoState": [ + { + "ID": "oval:org.altlinux.errata:ste:20241792001", + "Version": "1", + "Comment": "package EVR is earlier than 0:115.7.0-alt1", + "Arch": {}, + "Evr": { + "Text": "0:115.7.0-alt1", + "Datatype": "evr_string", + "Operation": "less than" + }, + "Subexpression": {} + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1792/tests.json b/oval/p10/ALT-PU-2024-1792/tests.json new file mode 100644 index 0000000000..45230dbae4 --- /dev/null +++ b/oval/p10/ALT-PU-2024-1792/tests.json @@ -0,0 +1,54 @@ +{ + "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:20241792001", + "Version": "1", + "Check": "all", + "Comment": "firefox-esr is earlier than 0:115.7.0-alt1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241792001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241792001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241792002", + "Version": "1", + "Check": "all", + "Comment": "firefox-esr-config-privacy is earlier than 0:115.7.0-alt1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241792002" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241792001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241792003", + "Version": "1", + "Check": "all", + "Comment": "firefox-esr-wayland is earlier than 0:115.7.0-alt1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241792003" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241792001" + } + } + ] +} \ No newline at end of file