From 26379462a98aaae88b8c3a9dbc3a02369cc57468 Mon Sep 17 00:00:00 2001 From: pepelyaevip Date: Tue, 31 Dec 2024 03:05:16 +0000 Subject: [PATCH] ALT Vulnerability --- oval/c9f2/ALT-PU-2024-17541/definitions.json | 150 +++++++++++++++ oval/c9f2/ALT-PU-2024-17541/objects.json | 112 +++++++++++ oval/c9f2/ALT-PU-2024-17541/states.json | 23 +++ oval/c9f2/ALT-PU-2024-17541/tests.json | 186 +++++++++++++++++++ 4 files changed, 471 insertions(+) create mode 100644 oval/c9f2/ALT-PU-2024-17541/definitions.json create mode 100644 oval/c9f2/ALT-PU-2024-17541/objects.json create mode 100644 oval/c9f2/ALT-PU-2024-17541/states.json create mode 100644 oval/c9f2/ALT-PU-2024-17541/tests.json diff --git a/oval/c9f2/ALT-PU-2024-17541/definitions.json b/oval/c9f2/ALT-PU-2024-17541/definitions.json new file mode 100644 index 0000000000..f392ec88b3 --- /dev/null +++ b/oval/c9f2/ALT-PU-2024-17541/definitions.json @@ -0,0 +1,150 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:202417541", + "Version": "oval:org.altlinux.errata:def:202417541", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2024-17541: package `freeipa` update to version 4.8.9-alt4.c9f2.9", + "AffectedList": [ + { + "Family": "unix", + "Platforms": [ + "ALT Linux branch c9f2" + ], + "Products": [ + "ALT SPWorkstation", + "ALT SPServer" + ] + } + ], + "References": [ + { + "RefID": "ALT-PU-2024-17541", + "RefURL": "https://errata.altlinux.org/ALT-PU-2024-17541", + "Source": "ALTPU" + }, + { + "RefID": "BDU:2024-01678", + "RefURL": "https://bdu.fstec.ru/vul/2024-01678", + "Source": "BDU" + }, + { + "RefID": "CVE-2024-1481", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2024-1481", + "Source": "CVE" + } + ], + "Description": "This update upgrades freeipa to version 4.8.9-alt4.c9f2.9. \nSecurity Fix(es):\n\n * BDU:2024-01678: Уязвимость функции run() сценария сервера FreeIPA, позволяющая нарушителю получить несанкционированный доступ к защищаемой информации или вызвать отказ в обслуживании\n\n * CVE-2024-1481: A flaw was found in FreeIPA. This issue may allow a remote attacker to craft a HTTP request with parameters that can be interpreted as command arguments to kinit on the FreeIPA server, which can lead to a denial of service.", + "Advisory": { + "From": "errata.altlinux.org", + "Severity": "Low", + "Rights": "Copyright 2024 BaseALT Ltd.", + "Issued": { + "Date": "2024-12-30" + }, + "Updated": { + "Date": "2024-12-30" + }, + "BDUs": [ + { + "ID": "BDU:2024-01678", + "CVSS": "AV:N/AC:L/Au:N/C:N/I:N/A:P", + "CVSS3": "AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", + "CWE": "CWE-20, CWE-404", + "Href": "https://bdu.fstec.ru/vul/2024-01678", + "Impact": "Low", + "Public": "20240213" + } + ], + "CVEs": [ + { + "ID": "CVE-2024-1481", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2024-1481", + "Impact": "None", + "Public": "20240410" + } + ], + "AffectedCPEs": { + "CPEs": [ + "cpe:/o:alt:spworkstation:8.4", + "cpe:/o:alt:spserver:8.4" + ] + } + } + }, + "Criteria": { + "Operator": "AND", + "Criterions": [ + { + "TestRef": "oval:org.altlinux.errata:tst:4001", + "Comment": "ALT Linux must be installed" + } + ], + "Criterias": [ + { + "Operator": "OR", + "Criterions": [ + { + "TestRef": "oval:org.altlinux.errata:tst:202417541001", + "Comment": "freeipa-client is earlier than 0:4.8.9-alt4.c9f2.9" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:202417541002", + "Comment": "freeipa-client-automount is earlier than 0:4.8.9-alt4.c9f2.9" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:202417541003", + "Comment": "freeipa-client-common is earlier than 0:4.8.9-alt4.c9f2.9" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:202417541004", + "Comment": "freeipa-client-epn is earlier than 0:4.8.9-alt4.c9f2.9" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:202417541005", + "Comment": "freeipa-client-samba is earlier than 0:4.8.9-alt4.c9f2.9" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:202417541006", + "Comment": "freeipa-common is earlier than 0:4.8.9-alt4.c9f2.9" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:202417541007", + "Comment": "freeipa-server is earlier than 0:4.8.9-alt4.c9f2.9" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:202417541008", + "Comment": "freeipa-server-common is earlier than 0:4.8.9-alt4.c9f2.9" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:202417541009", + "Comment": "freeipa-server-dns is earlier than 0:4.8.9-alt4.c9f2.9" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:202417541010", + "Comment": "freeipa-server-trust-ad is earlier than 0:4.8.9-alt4.c9f2.9" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:202417541011", + "Comment": "python3-module-freeipa is earlier than 0:4.8.9-alt4.c9f2.9" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:202417541012", + "Comment": "python3-module-ipaclient is earlier than 0:4.8.9-alt4.c9f2.9" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:202417541013", + "Comment": "python3-module-ipaserver is earlier than 0:4.8.9-alt4.c9f2.9" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:202417541014", + "Comment": "python3-module-ipatests is earlier than 0:4.8.9-alt4.c9f2.9" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/c9f2/ALT-PU-2024-17541/objects.json b/oval/c9f2/ALT-PU-2024-17541/objects.json new file mode 100644 index 0000000000..ccd33da811 --- /dev/null +++ b/oval/c9f2/ALT-PU-2024-17541/objects.json @@ -0,0 +1,112 @@ +{ + "TextFileContent54Objects": [ + { + "ID": "oval:org.altlinux.errata:obj:4001", + "Version": "1", + "Comment": "Evaluate `/etc/os-release` file content", + "Path": { + "Datatype": "string", + "Text": "/etc" + }, + "Filepath": { + "Datatype": "string", + "Text": "os-release" + }, + "Pattern": { + "Datatype": "string", + "Operation": "pattern match", + "Text": "cpe:\\/o:alt:sp(?:server|workstation):(\\d\\.\\d)" + }, + "Instance": { + "Datatype": "int", + "Text": "1" + } + } + ], + "RPMInfoObjects": [ + { + "ID": "oval:org.altlinux.errata:obj:202417541001", + "Version": "1", + "Comment": "freeipa-client is installed", + "Name": "freeipa-client" + }, + { + "ID": "oval:org.altlinux.errata:obj:202417541002", + "Version": "1", + "Comment": "freeipa-client-automount is installed", + "Name": "freeipa-client-automount" + }, + { + "ID": "oval:org.altlinux.errata:obj:202417541003", + "Version": "1", + "Comment": "freeipa-client-common is installed", + "Name": "freeipa-client-common" + }, + { + "ID": "oval:org.altlinux.errata:obj:202417541004", + "Version": "1", + "Comment": "freeipa-client-epn is installed", + "Name": "freeipa-client-epn" + }, + { + "ID": "oval:org.altlinux.errata:obj:202417541005", + "Version": "1", + "Comment": "freeipa-client-samba is installed", + "Name": "freeipa-client-samba" + }, + { + "ID": "oval:org.altlinux.errata:obj:202417541006", + "Version": "1", + "Comment": "freeipa-common is installed", + "Name": "freeipa-common" + }, + { + "ID": "oval:org.altlinux.errata:obj:202417541007", + "Version": "1", + "Comment": "freeipa-server is installed", + "Name": "freeipa-server" + }, + { + "ID": "oval:org.altlinux.errata:obj:202417541008", + "Version": "1", + "Comment": "freeipa-server-common is installed", + "Name": "freeipa-server-common" + }, + { + "ID": "oval:org.altlinux.errata:obj:202417541009", + "Version": "1", + "Comment": "freeipa-server-dns is installed", + "Name": "freeipa-server-dns" + }, + { + "ID": "oval:org.altlinux.errata:obj:202417541010", + "Version": "1", + "Comment": "freeipa-server-trust-ad is installed", + "Name": "freeipa-server-trust-ad" + }, + { + "ID": "oval:org.altlinux.errata:obj:202417541011", + "Version": "1", + "Comment": "python3-module-freeipa is installed", + "Name": "python3-module-freeipa" + }, + { + "ID": "oval:org.altlinux.errata:obj:202417541012", + "Version": "1", + "Comment": "python3-module-ipaclient is installed", + "Name": "python3-module-ipaclient" + }, + { + "ID": "oval:org.altlinux.errata:obj:202417541013", + "Version": "1", + "Comment": "python3-module-ipaserver is installed", + "Name": "python3-module-ipaserver" + }, + { + "ID": "oval:org.altlinux.errata:obj:202417541014", + "Version": "1", + "Comment": "python3-module-ipatests is installed", + "Name": "python3-module-ipatests" + } + ] +} \ No newline at end of file diff --git a/oval/c9f2/ALT-PU-2024-17541/states.json b/oval/c9f2/ALT-PU-2024-17541/states.json new file mode 100644 index 0000000000..a71d825ee8 --- /dev/null +++ b/oval/c9f2/ALT-PU-2024-17541/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:4001", + "Version": "1", + "Text": {} + } + ], + "RPMInfoStates": [ + { + "ID": "oval:org.altlinux.errata:ste:202417541001", + "Version": "1", + "Comment": "package EVR is earlier than 0:4.8.9-alt4.c9f2.9", + "Arch": {}, + "EVR": { + "Text": "0:4.8.9-alt4.c9f2.9", + "Datatype": "evr_string", + "Operation": "less than" + }, + "Subexpression": {} + } + ] +} \ No newline at end of file diff --git a/oval/c9f2/ALT-PU-2024-17541/tests.json b/oval/c9f2/ALT-PU-2024-17541/tests.json new file mode 100644 index 0000000000..85c258e461 --- /dev/null +++ b/oval/c9f2/ALT-PU-2024-17541/tests.json @@ -0,0 +1,186 @@ +{ + "TextFileContent54Tests": [ + { + "ID": "oval:org.altlinux.errata:tst:4001", + "Version": "1", + "Check": "all", + "Comment": "ALT Linux based on branch 'c9f2' must be installed", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:4001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:4001" + } + } + ], + "RPMInfoTests": [ + { + "ID": "oval:org.altlinux.errata:tst:202417541001", + "Version": "1", + "Check": "all", + "Comment": "freeipa-client is earlier than 0:4.8.9-alt4.c9f2.9", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:202417541001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:202417541001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:202417541002", + "Version": "1", + "Check": "all", + "Comment": "freeipa-client-automount is earlier than 0:4.8.9-alt4.c9f2.9", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:202417541002" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:202417541001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:202417541003", + "Version": "1", + "Check": "all", + "Comment": "freeipa-client-common is earlier than 0:4.8.9-alt4.c9f2.9", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:202417541003" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:202417541001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:202417541004", + "Version": "1", + "Check": "all", + "Comment": "freeipa-client-epn is earlier than 0:4.8.9-alt4.c9f2.9", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:202417541004" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:202417541001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:202417541005", + "Version": "1", + "Check": "all", + "Comment": "freeipa-client-samba is earlier than 0:4.8.9-alt4.c9f2.9", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:202417541005" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:202417541001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:202417541006", + "Version": "1", + "Check": "all", + "Comment": "freeipa-common is earlier than 0:4.8.9-alt4.c9f2.9", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:202417541006" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:202417541001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:202417541007", + "Version": "1", + "Check": "all", + "Comment": "freeipa-server is earlier than 0:4.8.9-alt4.c9f2.9", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:202417541007" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:202417541001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:202417541008", + "Version": "1", + "Check": "all", + "Comment": "freeipa-server-common is earlier than 0:4.8.9-alt4.c9f2.9", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:202417541008" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:202417541001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:202417541009", + "Version": "1", + "Check": "all", + "Comment": "freeipa-server-dns is earlier than 0:4.8.9-alt4.c9f2.9", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:202417541009" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:202417541001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:202417541010", + "Version": "1", + "Check": "all", + "Comment": "freeipa-server-trust-ad is earlier than 0:4.8.9-alt4.c9f2.9", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:202417541010" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:202417541001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:202417541011", + "Version": "1", + "Check": "all", + "Comment": "python3-module-freeipa is earlier than 0:4.8.9-alt4.c9f2.9", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:202417541011" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:202417541001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:202417541012", + "Version": "1", + "Check": "all", + "Comment": "python3-module-ipaclient is earlier than 0:4.8.9-alt4.c9f2.9", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:202417541012" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:202417541001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:202417541013", + "Version": "1", + "Check": "all", + "Comment": "python3-module-ipaserver is earlier than 0:4.8.9-alt4.c9f2.9", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:202417541013" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:202417541001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:202417541014", + "Version": "1", + "Check": "all", + "Comment": "python3-module-ipatests is earlier than 0:4.8.9-alt4.c9f2.9", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:202417541014" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:202417541001" + } + } + ] +} \ No newline at end of file