diff --git a/oval/c10f2/ALT-PU-2024-1318/definitions.json b/oval/c10f2/ALT-PU-2024-1318/definitions.json new file mode 100644 index 0000000000..6a74a19e8c --- /dev/null +++ b/oval/c10f2/ALT-PU-2024-1318/definitions.json @@ -0,0 +1,73 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:20241318", + "Version": "oval:org.altlinux.errata:def:20241318", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2024-1318: package `php8.3-swoole` update to version 5.1.1-alt2.2", + "AffectedList": [ + { + "Family": "unix", + "Platforms": [ + "ALT Linux branch c10f2" + ] + } + ], + "References": [ + { + "RefID": "ALT-PU-2024-1318", + "RefURL": "https://errata.altlinux.org/ALT-PU-2024-1318", + "Source": "ALTPU" + } + ], + "Description": "This update upgrades php8.3-swoole to version 5.1.1-alt2.2. \nSecurity Fix(es):\n\n * #49116: Ошибка сегментирования в php8.3, при наличии php8.3-swoole и php8.3-mysqlnd", + "Advisory": { + "From": "errata.altlinux.org", + "Severity": "Low", + "Rights": "Copyright 2023 BaseALT Ltd.", + "Issued": { + "Date": "2024-01-26" + }, + "Updated": { + "Date": "2024-01-26" + }, + "bdu": null, + "Bugzilla": [ + { + "Id": "49116", + "Href": "https://bugzilla.altlinux.org/49116", + "Data": "Ошибка сегментирования в php8.3, при наличии php8.3-swoole и php8.3-mysqlnd" + } + ], + "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:20241318001", + "Comment": "php8.3-swoole is earlier than 0:5.1.1-alt2.2" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/c10f2/ALT-PU-2024-1318/objects.json b/oval/c10f2/ALT-PU-2024-1318/objects.json new file mode 100644 index 0000000000..3a77c0d734 --- /dev/null +++ b/oval/c10f2/ALT-PU-2024-1318/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:20241318001", + "Version": "1", + "comment": "php8.3-swoole is installed", + "Name": "php8.3-swoole" + } + ] +} \ No newline at end of file diff --git a/oval/c10f2/ALT-PU-2024-1318/states.json b/oval/c10f2/ALT-PU-2024-1318/states.json new file mode 100644 index 0000000000..a8d681edc6 --- /dev/null +++ b/oval/c10f2/ALT-PU-2024-1318/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:5001", + "Version": "1", + "Text": {} + } + ], + "RpmInfoState": [ + { + "ID": "oval:org.altlinux.errata:ste:20241318001", + "Version": "1", + "Comment": "package EVR is earlier than 0:5.1.1-alt2.2", + "Arch": {}, + "Evr": { + "Text": "0:5.1.1-alt2.2", + "Datatype": "evr_string", + "Operation": "less than" + }, + "Subexpression": {} + } + ] +} \ No newline at end of file diff --git a/oval/c10f2/ALT-PU-2024-1318/tests.json b/oval/c10f2/ALT-PU-2024-1318/tests.json new file mode 100644 index 0000000000..a78c9f00a3 --- /dev/null +++ b/oval/c10f2/ALT-PU-2024-1318/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:20241318001", + "Version": "1", + "Check": "all", + "Comment": "php8.3-swoole is earlier than 0:5.1.1-alt2.2", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241318001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241318001" + } + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1159/definitions.json b/oval/p10/ALT-PU-2024-1159/definitions.json new file mode 100644 index 0000000000..af0d07d82b --- /dev/null +++ b/oval/p10/ALT-PU-2024-1159/definitions.json @@ -0,0 +1,152 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:20241159", + "Version": "oval:org.altlinux.errata:def:20241159", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2024-1159: package `krb5` update to version 1.19.4-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-1159", + "RefURL": "https://errata.altlinux.org/ALT-PU-2024-1159", + "Source": "ALTPU" + }, + { + "RefID": "BDU:2022-06787", + "RefURL": "https://bdu.fstec.ru/vul/2022-06787", + "Source": "BDU" + }, + { + "RefID": "CVE-2022-37967", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2022-37967", + "Source": "CVE" + } + ], + "Description": "This update upgrades krb5 to version 1.19.4-alt3. \nSecurity Fix(es):\n\n * BDU:2022-06787: Уязвимость реализации протокола Kerberos операционных систем Windows, позволяющая нарушителю повысить свои привилегии\n\n * CVE-2022-37967: Windows Kerberos Elevation of Privilege Vulnerability", + "Advisory": { + "From": "errata.altlinux.org", + "Severity": "High", + "Rights": "Copyright 2023 BaseALT Ltd.", + "Issued": { + "Date": "2024-01-26" + }, + "Updated": { + "Date": "2024-01-26" + }, + "bdu": [ + { + "Cvss": "AV:N/AC:M/Au:S/C:C/I:C/A:C", + "Cvss3": "AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", + "Cwe": "CWE-264", + "Href": "https://bdu.fstec.ru/vul/2022-06787", + "Impact": "High", + "Public": "20221108", + "CveID": "BDU:2022-06787" + } + ], + "Cves": [ + { + "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", + "Cwe": "NVD-CWE-noinfo", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2022-37967", + "Impact": "High", + "Public": "20221109", + "CveID": "CVE-2022-37967" + } + ], + "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:20241159001", + "Comment": "krb5-doc is earlier than 0:1.19.4-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241159002", + "Comment": "krb5-kadmin is earlier than 0:1.19.4-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241159003", + "Comment": "krb5-kdc is earlier than 0:1.19.4-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241159004", + "Comment": "krb5-kinit is earlier than 0:1.19.4-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241159005", + "Comment": "krb5-ksu is earlier than 0:1.19.4-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241159006", + "Comment": "libkrb5 is earlier than 0:1.19.4-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241159007", + "Comment": "libkrb5-devel is earlier than 0:1.19.4-alt3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241159008", + "Comment": "libkrb5-ldap is earlier than 0:1.19.4-alt3" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1159/objects.json b/oval/p10/ALT-PU-2024-1159/objects.json new file mode 100644 index 0000000000..757db0c91d --- /dev/null +++ b/oval/p10/ALT-PU-2024-1159/objects.json @@ -0,0 +1,76 @@ +{ + "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:20241159001", + "Version": "1", + "comment": "krb5-doc is installed", + "Name": "krb5-doc" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241159002", + "Version": "1", + "comment": "krb5-kadmin is installed", + "Name": "krb5-kadmin" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241159003", + "Version": "1", + "comment": "krb5-kdc is installed", + "Name": "krb5-kdc" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241159004", + "Version": "1", + "comment": "krb5-kinit is installed", + "Name": "krb5-kinit" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241159005", + "Version": "1", + "comment": "krb5-ksu is installed", + "Name": "krb5-ksu" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241159006", + "Version": "1", + "comment": "libkrb5 is installed", + "Name": "libkrb5" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241159007", + "Version": "1", + "comment": "libkrb5-devel is installed", + "Name": "libkrb5-devel" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241159008", + "Version": "1", + "comment": "libkrb5-ldap is installed", + "Name": "libkrb5-ldap" + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1159/states.json b/oval/p10/ALT-PU-2024-1159/states.json new file mode 100644 index 0000000000..f9a578b999 --- /dev/null +++ b/oval/p10/ALT-PU-2024-1159/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:2001", + "Version": "1", + "Text": {} + } + ], + "RpmInfoState": [ + { + "ID": "oval:org.altlinux.errata:ste:20241159001", + "Version": "1", + "Comment": "package EVR is earlier than 0:1.19.4-alt3", + "Arch": {}, + "Evr": { + "Text": "0:1.19.4-alt3", + "Datatype": "evr_string", + "Operation": "less than" + }, + "Subexpression": {} + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1159/tests.json b/oval/p10/ALT-PU-2024-1159/tests.json new file mode 100644 index 0000000000..4d1b2012c8 --- /dev/null +++ b/oval/p10/ALT-PU-2024-1159/tests.json @@ -0,0 +1,114 @@ +{ + "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:20241159001", + "Version": "1", + "Check": "all", + "Comment": "krb5-doc is earlier than 0:1.19.4-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241159001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241159001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241159002", + "Version": "1", + "Check": "all", + "Comment": "krb5-kadmin is earlier than 0:1.19.4-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241159002" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241159001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241159003", + "Version": "1", + "Check": "all", + "Comment": "krb5-kdc is earlier than 0:1.19.4-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241159003" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241159001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241159004", + "Version": "1", + "Check": "all", + "Comment": "krb5-kinit is earlier than 0:1.19.4-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241159004" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241159001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241159005", + "Version": "1", + "Check": "all", + "Comment": "krb5-ksu is earlier than 0:1.19.4-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241159005" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241159001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241159006", + "Version": "1", + "Check": "all", + "Comment": "libkrb5 is earlier than 0:1.19.4-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241159006" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241159001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241159007", + "Version": "1", + "Check": "all", + "Comment": "libkrb5-devel is earlier than 0:1.19.4-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241159007" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241159001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241159008", + "Version": "1", + "Check": "all", + "Comment": "libkrb5-ldap is earlier than 0:1.19.4-alt3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241159008" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241159001" + } + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1253/definitions.json b/oval/p10/ALT-PU-2024-1253/definitions.json new file mode 100644 index 0000000000..5c27ffafad --- /dev/null +++ b/oval/p10/ALT-PU-2024-1253/definitions.json @@ -0,0 +1,161 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:20241253", + "Version": "oval:org.altlinux.errata:def:20241253", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2024-1253: package `freeipa` update to version 4.9.14-alt0.p10.1", + "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-1253", + "RefURL": "https://errata.altlinux.org/ALT-PU-2024-1253", + "Source": "ALTPU" + }, + { + "RefID": "CVE-2023-5455", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-5455", + "Source": "CVE" + } + ], + "Description": "This update upgrades freeipa to version 4.9.14-alt0.p10.1. \nSecurity Fix(es):\n\n * CVE-2023-5455: A Cross-site request forgery vulnerability exists in ipa/session/login_password in all supported versions of IPA. This flaw allows an attacker to trick the user into submitting a request that could perform actions as the user, resulting in a loss of confidentiality and system integrity. During community penetration testing it was found that for certain HTTP end-points FreeIPA does not ensure CSRF protection. Due to implementation details one cannot use this flaw for reflection of a cookie representing already logged-in user. An attacker would always have to go through a new authentication attempt.", + "Advisory": { + "From": "errata.altlinux.org", + "Severity": "High", + "Rights": "Copyright 2023 BaseALT Ltd.", + "Issued": { + "Date": "2024-01-26" + }, + "Updated": { + "Date": "2024-01-26" + }, + "bdu": null, + "Cves": [ + { + "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N", + "Cwe": "CWE-352", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-5455", + "Impact": "High", + "Public": "20240110", + "CveID": "CVE-2023-5455" + } + ], + "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:20241253001", + "Comment": "freeipa-client is earlier than 0:4.9.14-alt0.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241253002", + "Comment": "freeipa-client-automount is earlier than 0:4.9.14-alt0.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241253003", + "Comment": "freeipa-client-common is earlier than 0:4.9.14-alt0.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241253004", + "Comment": "freeipa-client-epn is earlier than 0:4.9.14-alt0.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241253005", + "Comment": "freeipa-client-samba is earlier than 0:4.9.14-alt0.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241253006", + "Comment": "freeipa-common is earlier than 0:4.9.14-alt0.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241253007", + "Comment": "freeipa-server is earlier than 0:4.9.14-alt0.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241253008", + "Comment": "freeipa-server-common is earlier than 0:4.9.14-alt0.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241253009", + "Comment": "freeipa-server-dns is earlier than 0:4.9.14-alt0.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241253010", + "Comment": "freeipa-server-trust-ad is earlier than 0:4.9.14-alt0.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241253011", + "Comment": "python3-module-freeipa is earlier than 0:4.9.14-alt0.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241253012", + "Comment": "python3-module-ipaclient is earlier than 0:4.9.14-alt0.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241253013", + "Comment": "python3-module-ipaserver is earlier than 0:4.9.14-alt0.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241253014", + "Comment": "python3-module-ipatests is earlier than 0:4.9.14-alt0.p10.1" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1253/objects.json b/oval/p10/ALT-PU-2024-1253/objects.json new file mode 100644 index 0000000000..09a32b6be7 --- /dev/null +++ b/oval/p10/ALT-PU-2024-1253/objects.json @@ -0,0 +1,112 @@ +{ + "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:20241253001", + "Version": "1", + "comment": "freeipa-client is installed", + "Name": "freeipa-client" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241253002", + "Version": "1", + "comment": "freeipa-client-automount is installed", + "Name": "freeipa-client-automount" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241253003", + "Version": "1", + "comment": "freeipa-client-common is installed", + "Name": "freeipa-client-common" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241253004", + "Version": "1", + "comment": "freeipa-client-epn is installed", + "Name": "freeipa-client-epn" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241253005", + "Version": "1", + "comment": "freeipa-client-samba is installed", + "Name": "freeipa-client-samba" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241253006", + "Version": "1", + "comment": "freeipa-common is installed", + "Name": "freeipa-common" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241253007", + "Version": "1", + "comment": "freeipa-server is installed", + "Name": "freeipa-server" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241253008", + "Version": "1", + "comment": "freeipa-server-common is installed", + "Name": "freeipa-server-common" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241253009", + "Version": "1", + "comment": "freeipa-server-dns is installed", + "Name": "freeipa-server-dns" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241253010", + "Version": "1", + "comment": "freeipa-server-trust-ad is installed", + "Name": "freeipa-server-trust-ad" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241253011", + "Version": "1", + "comment": "python3-module-freeipa is installed", + "Name": "python3-module-freeipa" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241253012", + "Version": "1", + "comment": "python3-module-ipaclient is installed", + "Name": "python3-module-ipaclient" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241253013", + "Version": "1", + "comment": "python3-module-ipaserver is installed", + "Name": "python3-module-ipaserver" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241253014", + "Version": "1", + "comment": "python3-module-ipatests is installed", + "Name": "python3-module-ipatests" + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1253/states.json b/oval/p10/ALT-PU-2024-1253/states.json new file mode 100644 index 0000000000..143384b045 --- /dev/null +++ b/oval/p10/ALT-PU-2024-1253/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:2001", + "Version": "1", + "Text": {} + } + ], + "RpmInfoState": [ + { + "ID": "oval:org.altlinux.errata:ste:20241253001", + "Version": "1", + "Comment": "package EVR is earlier than 0:4.9.14-alt0.p10.1", + "Arch": {}, + "Evr": { + "Text": "0:4.9.14-alt0.p10.1", + "Datatype": "evr_string", + "Operation": "less than" + }, + "Subexpression": {} + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1253/tests.json b/oval/p10/ALT-PU-2024-1253/tests.json new file mode 100644 index 0000000000..7e99ff5039 --- /dev/null +++ b/oval/p10/ALT-PU-2024-1253/tests.json @@ -0,0 +1,186 @@ +{ + "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:20241253001", + "Version": "1", + "Check": "all", + "Comment": "freeipa-client is earlier than 0:4.9.14-alt0.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241253001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241253001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241253002", + "Version": "1", + "Check": "all", + "Comment": "freeipa-client-automount is earlier than 0:4.9.14-alt0.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241253002" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241253001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241253003", + "Version": "1", + "Check": "all", + "Comment": "freeipa-client-common is earlier than 0:4.9.14-alt0.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241253003" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241253001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241253004", + "Version": "1", + "Check": "all", + "Comment": "freeipa-client-epn is earlier than 0:4.9.14-alt0.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241253004" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241253001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241253005", + "Version": "1", + "Check": "all", + "Comment": "freeipa-client-samba is earlier than 0:4.9.14-alt0.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241253005" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241253001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241253006", + "Version": "1", + "Check": "all", + "Comment": "freeipa-common is earlier than 0:4.9.14-alt0.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241253006" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241253001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241253007", + "Version": "1", + "Check": "all", + "Comment": "freeipa-server is earlier than 0:4.9.14-alt0.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241253007" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241253001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241253008", + "Version": "1", + "Check": "all", + "Comment": "freeipa-server-common is earlier than 0:4.9.14-alt0.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241253008" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241253001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241253009", + "Version": "1", + "Check": "all", + "Comment": "freeipa-server-dns is earlier than 0:4.9.14-alt0.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241253009" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241253001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241253010", + "Version": "1", + "Check": "all", + "Comment": "freeipa-server-trust-ad is earlier than 0:4.9.14-alt0.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241253010" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241253001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241253011", + "Version": "1", + "Check": "all", + "Comment": "python3-module-freeipa is earlier than 0:4.9.14-alt0.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241253011" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241253001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241253012", + "Version": "1", + "Check": "all", + "Comment": "python3-module-ipaclient is earlier than 0:4.9.14-alt0.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241253012" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241253001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241253013", + "Version": "1", + "Check": "all", + "Comment": "python3-module-ipaserver is earlier than 0:4.9.14-alt0.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241253013" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241253001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241253014", + "Version": "1", + "Check": "all", + "Comment": "python3-module-ipatests is earlier than 0:4.9.14-alt0.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241253014" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241253001" + } + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1355/definitions.json b/oval/p10/ALT-PU-2024-1355/definitions.json new file mode 100644 index 0000000000..e2eb71090b --- /dev/null +++ b/oval/p10/ALT-PU-2024-1355/definitions.json @@ -0,0 +1,279 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:20241355", + "Version": "oval:org.altlinux.errata:def:20241355", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2024-1355: package `zabbix` update to version 6.0.25-alt0.p10.3", + "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-1355", + "RefURL": "https://errata.altlinux.org/ALT-PU-2024-1355", + "Source": "ALTPU" + }, + { + "RefID": "BDU:2024-00033", + "RefURL": "https://bdu.fstec.ru/vul/2024-00033", + "Source": "BDU" + }, + { + "RefID": "BDU:2024-00645", + "RefURL": "https://bdu.fstec.ru/vul/2024-00645", + "Source": "BDU" + }, + { + "RefID": "CVE-2023-32726", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-32726", + "Source": "CVE" + }, + { + "RefID": "CVE-2023-32727", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-32727", + "Source": "CVE" + }, + { + "RefID": "CVE-2023-32728", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-32728", + "Source": "CVE" + } + ], + "Description": "This update upgrades zabbix to version 6.0.25-alt0.p10.3. \nSecurity Fix(es):\n\n * BDU:2024-00033: Уязвимость функции icmpping универсальной системы мониторинга Zabbix, позволяющая нарушителю выполнить произвольный код\n\n * BDU:2024-00645: Уязвимость компонента DNS Response Handler агента универсальной системы мониторинга Zabbix, позволяющая нарушителю вызвать переполнение буфера\n\n * CVE-2023-32726: The vulnerability is caused by improper check for check if RDLENGTH does not overflow the buffer in response from DNS server.\n\n * CVE-2023-32727: An attacker who has the privilege to configure Zabbix items can use function icmpping() with additional malicious command inside it to execute arbitrary code on the current Zabbix server.\n\n * CVE-2023-32728: The Zabbix Agent 2 item key smart.disk.get does not sanitize its parameters before passing them to a shell command resulting possible vulnerability for remote code execution.\n\n * #49152: Несколько неприятных CVE в Zabbix 6.0.22: CVE-2023-32728, CVE-2023-32727, CVE-2023-32726", + "Advisory": { + "From": "errata.altlinux.org", + "Severity": "Critical", + "Rights": "Copyright 2023 BaseALT Ltd.", + "Issued": { + "Date": "2024-01-26" + }, + "Updated": { + "Date": "2024-01-26" + }, + "bdu": [ + { + "Cvss": "AV:N/AC:L/Au:M/C:C/I:C/A:C", + "Cvss3": "AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", + "Cwe": "CWE-20", + "Href": "https://bdu.fstec.ru/vul/2024-00033", + "Impact": "High", + "Public": "20231218", + "CveID": "BDU:2024-00033" + }, + { + "Cvss": "AV:N/AC:H/Au:N/C:C/I:C/A:C", + "Cvss3": "AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", + "Cwe": "CWE-754", + "Href": "https://bdu.fstec.ru/vul/2024-00645", + "Impact": "High", + "Public": "20231218", + "CveID": "BDU:2024-00645" + } + ], + "Cves": [ + { + "Cvss3": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", + "Cwe": "CWE-754", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-32726", + "Impact": "High", + "Public": "20231218", + "CveID": "CVE-2023-32726" + }, + { + "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", + "Cwe": "CWE-20", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-32727", + "Impact": "High", + "Public": "20231218", + "CveID": "CVE-2023-32727" + }, + { + "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", + "Cwe": "CWE-94", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-32728", + "Impact": "Critical", + "Public": "20231218", + "CveID": "CVE-2023-32728" + } + ], + "Bugzilla": [ + { + "Id": "49152", + "Href": "https://bugzilla.altlinux.org/49152", + "Data": "Несколько неприятных CVE в Zabbix 6.0.22: CVE-2023-32728, CVE-2023-32727, CVE-2023-32726" + } + ], + "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:20241355001", + "Comment": "zabbix-agent is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355002", + "Comment": "zabbix-agent-sudo is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355003", + "Comment": "zabbix-agent2 is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355004", + "Comment": "zabbix-common is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355005", + "Comment": "zabbix-common-database-mysql is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355006", + "Comment": "zabbix-common-database-pgsql is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355007", + "Comment": "zabbix-common-database-sqlite3 is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355008", + "Comment": "zabbix-contrib is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355009", + "Comment": "zabbix-doc is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355010", + "Comment": "zabbix-java-gateway is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355011", + "Comment": "zabbix-phpfrontend-apache2 is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355012", + "Comment": "zabbix-phpfrontend-apache2-mod_php7 is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355013", + "Comment": "zabbix-phpfrontend-apache2-mod_php8.0 is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355014", + "Comment": "zabbix-phpfrontend-apache2-mod_php8.1 is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355015", + "Comment": "zabbix-phpfrontend-apache2-mod_php8.2 is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355016", + "Comment": "zabbix-phpfrontend-engine is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355017", + "Comment": "zabbix-phpfrontend-php7 is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355018", + "Comment": "zabbix-phpfrontend-php8.0 is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355019", + "Comment": "zabbix-phpfrontend-php8.1 is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355020", + "Comment": "zabbix-phpfrontend-php8.2 is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355021", + "Comment": "zabbix-proxy is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355022", + "Comment": "zabbix-proxy-common is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355023", + "Comment": "zabbix-proxy-pgsql is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355024", + "Comment": "zabbix-server-common is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355025", + "Comment": "zabbix-server-mysql is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355026", + "Comment": "zabbix-server-pgsql is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355027", + "Comment": "zabbix-source is earlier than 1:6.0.25-alt0.p10.3" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241355028", + "Comment": "zabbix-web-service is earlier than 1:6.0.25-alt0.p10.3" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1355/objects.json b/oval/p10/ALT-PU-2024-1355/objects.json new file mode 100644 index 0000000000..ce5528145d --- /dev/null +++ b/oval/p10/ALT-PU-2024-1355/objects.json @@ -0,0 +1,196 @@ +{ + "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:20241355001", + "Version": "1", + "comment": "zabbix-agent is installed", + "Name": "zabbix-agent" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355002", + "Version": "1", + "comment": "zabbix-agent-sudo is installed", + "Name": "zabbix-agent-sudo" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355003", + "Version": "1", + "comment": "zabbix-agent2 is installed", + "Name": "zabbix-agent2" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355004", + "Version": "1", + "comment": "zabbix-common is installed", + "Name": "zabbix-common" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355005", + "Version": "1", + "comment": "zabbix-common-database-mysql is installed", + "Name": "zabbix-common-database-mysql" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355006", + "Version": "1", + "comment": "zabbix-common-database-pgsql is installed", + "Name": "zabbix-common-database-pgsql" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355007", + "Version": "1", + "comment": "zabbix-common-database-sqlite3 is installed", + "Name": "zabbix-common-database-sqlite3" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355008", + "Version": "1", + "comment": "zabbix-contrib is installed", + "Name": "zabbix-contrib" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355009", + "Version": "1", + "comment": "zabbix-doc is installed", + "Name": "zabbix-doc" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355010", + "Version": "1", + "comment": "zabbix-java-gateway is installed", + "Name": "zabbix-java-gateway" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355011", + "Version": "1", + "comment": "zabbix-phpfrontend-apache2 is installed", + "Name": "zabbix-phpfrontend-apache2" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355012", + "Version": "1", + "comment": "zabbix-phpfrontend-apache2-mod_php7 is installed", + "Name": "zabbix-phpfrontend-apache2-mod_php7" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355013", + "Version": "1", + "comment": "zabbix-phpfrontend-apache2-mod_php8.0 is installed", + "Name": "zabbix-phpfrontend-apache2-mod_php8.0" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355014", + "Version": "1", + "comment": "zabbix-phpfrontend-apache2-mod_php8.1 is installed", + "Name": "zabbix-phpfrontend-apache2-mod_php8.1" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355015", + "Version": "1", + "comment": "zabbix-phpfrontend-apache2-mod_php8.2 is installed", + "Name": "zabbix-phpfrontend-apache2-mod_php8.2" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355016", + "Version": "1", + "comment": "zabbix-phpfrontend-engine is installed", + "Name": "zabbix-phpfrontend-engine" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355017", + "Version": "1", + "comment": "zabbix-phpfrontend-php7 is installed", + "Name": "zabbix-phpfrontend-php7" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355018", + "Version": "1", + "comment": "zabbix-phpfrontend-php8.0 is installed", + "Name": "zabbix-phpfrontend-php8.0" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355019", + "Version": "1", + "comment": "zabbix-phpfrontend-php8.1 is installed", + "Name": "zabbix-phpfrontend-php8.1" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355020", + "Version": "1", + "comment": "zabbix-phpfrontend-php8.2 is installed", + "Name": "zabbix-phpfrontend-php8.2" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355021", + "Version": "1", + "comment": "zabbix-proxy is installed", + "Name": "zabbix-proxy" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355022", + "Version": "1", + "comment": "zabbix-proxy-common is installed", + "Name": "zabbix-proxy-common" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355023", + "Version": "1", + "comment": "zabbix-proxy-pgsql is installed", + "Name": "zabbix-proxy-pgsql" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355024", + "Version": "1", + "comment": "zabbix-server-common is installed", + "Name": "zabbix-server-common" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355025", + "Version": "1", + "comment": "zabbix-server-mysql is installed", + "Name": "zabbix-server-mysql" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355026", + "Version": "1", + "comment": "zabbix-server-pgsql is installed", + "Name": "zabbix-server-pgsql" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355027", + "Version": "1", + "comment": "zabbix-source is installed", + "Name": "zabbix-source" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241355028", + "Version": "1", + "comment": "zabbix-web-service is installed", + "Name": "zabbix-web-service" + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1355/states.json b/oval/p10/ALT-PU-2024-1355/states.json new file mode 100644 index 0000000000..2d3bf92f43 --- /dev/null +++ b/oval/p10/ALT-PU-2024-1355/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:2001", + "Version": "1", + "Text": {} + } + ], + "RpmInfoState": [ + { + "ID": "oval:org.altlinux.errata:ste:20241355001", + "Version": "1", + "Comment": "package EVR is earlier than 1:6.0.25-alt0.p10.3", + "Arch": {}, + "Evr": { + "Text": "1:6.0.25-alt0.p10.3", + "Datatype": "evr_string", + "Operation": "less than" + }, + "Subexpression": {} + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1355/tests.json b/oval/p10/ALT-PU-2024-1355/tests.json new file mode 100644 index 0000000000..a344e072c8 --- /dev/null +++ b/oval/p10/ALT-PU-2024-1355/tests.json @@ -0,0 +1,354 @@ +{ + "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:20241355001", + "Version": "1", + "Check": "all", + "Comment": "zabbix-agent is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355002", + "Version": "1", + "Check": "all", + "Comment": "zabbix-agent-sudo is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355002" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355003", + "Version": "1", + "Check": "all", + "Comment": "zabbix-agent2 is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355003" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355004", + "Version": "1", + "Check": "all", + "Comment": "zabbix-common is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355004" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355005", + "Version": "1", + "Check": "all", + "Comment": "zabbix-common-database-mysql is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355005" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355006", + "Version": "1", + "Check": "all", + "Comment": "zabbix-common-database-pgsql is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355006" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355007", + "Version": "1", + "Check": "all", + "Comment": "zabbix-common-database-sqlite3 is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355007" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355008", + "Version": "1", + "Check": "all", + "Comment": "zabbix-contrib is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355008" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355009", + "Version": "1", + "Check": "all", + "Comment": "zabbix-doc is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355009" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355010", + "Version": "1", + "Check": "all", + "Comment": "zabbix-java-gateway is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355010" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355011", + "Version": "1", + "Check": "all", + "Comment": "zabbix-phpfrontend-apache2 is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355011" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355012", + "Version": "1", + "Check": "all", + "Comment": "zabbix-phpfrontend-apache2-mod_php7 is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355012" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355013", + "Version": "1", + "Check": "all", + "Comment": "zabbix-phpfrontend-apache2-mod_php8.0 is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355013" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355014", + "Version": "1", + "Check": "all", + "Comment": "zabbix-phpfrontend-apache2-mod_php8.1 is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355014" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355015", + "Version": "1", + "Check": "all", + "Comment": "zabbix-phpfrontend-apache2-mod_php8.2 is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355015" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355016", + "Version": "1", + "Check": "all", + "Comment": "zabbix-phpfrontend-engine is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355016" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355017", + "Version": "1", + "Check": "all", + "Comment": "zabbix-phpfrontend-php7 is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355017" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355018", + "Version": "1", + "Check": "all", + "Comment": "zabbix-phpfrontend-php8.0 is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355018" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355019", + "Version": "1", + "Check": "all", + "Comment": "zabbix-phpfrontend-php8.1 is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355019" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355020", + "Version": "1", + "Check": "all", + "Comment": "zabbix-phpfrontend-php8.2 is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355020" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355021", + "Version": "1", + "Check": "all", + "Comment": "zabbix-proxy is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355021" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355022", + "Version": "1", + "Check": "all", + "Comment": "zabbix-proxy-common is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355022" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355023", + "Version": "1", + "Check": "all", + "Comment": "zabbix-proxy-pgsql is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355023" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355024", + "Version": "1", + "Check": "all", + "Comment": "zabbix-server-common is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355024" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355025", + "Version": "1", + "Check": "all", + "Comment": "zabbix-server-mysql is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355025" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355026", + "Version": "1", + "Check": "all", + "Comment": "zabbix-server-pgsql is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355026" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355027", + "Version": "1", + "Check": "all", + "Comment": "zabbix-source is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355027" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241355028", + "Version": "1", + "Check": "all", + "Comment": "zabbix-web-service is earlier than 1:6.0.25-alt0.p10.3", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241355028" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241355001" + } + } + ] +} \ No newline at end of file