diff --git a/oval/p10/ALT-PU-2024-1934/definitions.json b/oval/p10/ALT-PU-2024-1934/definitions.json new file mode 100644 index 0000000000..1e2d05880d --- /dev/null +++ b/oval/p10/ALT-PU-2024-1934/definitions.json @@ -0,0 +1,105 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:20241934", + "Version": "oval:org.altlinux.errata:def:20241934", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2024-1934: package `alterator-net-eth` update to version 5.2.7-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-1934", + "RefURL": "https://errata.altlinux.org/ALT-PU-2024-1934", + "Source": "ALTPU" + } + ], + "Description": "This update upgrades alterator-net-eth to version 5.2.7-alt1. \nSecurity Fix(es):\n\n * #49256: В веб-интерфейсе не отображается информация о сетевом интерфейсе", + "Advisory": { + "From": "errata.altlinux.org", + "Severity": "Low", + "Rights": "Copyright 2024 BaseALT Ltd.", + "Issued": { + "Date": "2024-02-14" + }, + "Updated": { + "Date": "2024-02-14" + }, + "bdu": null, + "Bugzilla": [ + { + "Id": "49256", + "Href": "https://bugzilla.altlinux.org/49256", + "Data": "В веб-интерфейсе не отображается информация о сетевом интерфейсе" + } + ], + "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:20241934001", + "Comment": "alterator-net-eth is earlier than 0:5.2.7-alt1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20241934002", + "Comment": "hostname-hook-hosts is earlier than 0:5.2.7-alt1" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1934/objects.json b/oval/p10/ALT-PU-2024-1934/objects.json new file mode 100644 index 0000000000..95392cf261 --- /dev/null +++ b/oval/p10/ALT-PU-2024-1934/objects.json @@ -0,0 +1,40 @@ +{ + "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:20241934001", + "Version": "1", + "comment": "alterator-net-eth is installed", + "Name": "alterator-net-eth" + }, + { + "ID": "oval:org.altlinux.errata:obj:20241934002", + "Version": "1", + "comment": "hostname-hook-hosts is installed", + "Name": "hostname-hook-hosts" + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1934/states.json b/oval/p10/ALT-PU-2024-1934/states.json new file mode 100644 index 0000000000..bfa6d9ad02 --- /dev/null +++ b/oval/p10/ALT-PU-2024-1934/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:2001", + "Version": "1", + "Text": {} + } + ], + "RpmInfoState": [ + { + "ID": "oval:org.altlinux.errata:ste:20241934001", + "Version": "1", + "Comment": "package EVR is earlier than 0:5.2.7-alt1", + "Arch": {}, + "Evr": { + "Text": "0:5.2.7-alt1", + "Datatype": "evr_string", + "Operation": "less than" + }, + "Subexpression": {} + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-1934/tests.json b/oval/p10/ALT-PU-2024-1934/tests.json new file mode 100644 index 0000000000..5ee890f05f --- /dev/null +++ b/oval/p10/ALT-PU-2024-1934/tests.json @@ -0,0 +1,42 @@ +{ + "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:20241934001", + "Version": "1", + "Check": "all", + "Comment": "alterator-net-eth is earlier than 0:5.2.7-alt1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241934001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241934001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20241934002", + "Version": "1", + "Check": "all", + "Comment": "hostname-hook-hosts is earlier than 0:5.2.7-alt1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20241934002" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20241934001" + } + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-2319/definitions.json b/oval/p10/ALT-PU-2024-2319/definitions.json new file mode 100644 index 0000000000..8f6bfaf66b --- /dev/null +++ b/oval/p10/ALT-PU-2024-2319/definitions.json @@ -0,0 +1,165 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:20242319", + "Version": "oval:org.altlinux.errata:def:20242319", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2024-2319: package `atftp` update to version 0.8.0-alt2", + "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-2319", + "RefURL": "https://errata.altlinux.org/ALT-PU-2024-2319", + "Source": "ALTPU" + }, + { + "RefID": "BDU:2022-00244", + "RefURL": "https://bdu.fstec.ru/vul/2022-00244", + "Source": "BDU" + }, + { + "RefID": "BDU:2022-05753", + "RefURL": "https://bdu.fstec.ru/vul/2022-05753", + "Source": "BDU" + }, + { + "RefID": "CVE-2021-41054", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2021-41054", + "Source": "CVE" + }, + { + "RefID": "CVE-2021-46671", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2021-46671", + "Source": "CVE" + } + ], + "Description": "This update upgrades atftp to version 0.8.0-alt2. \nSecurity Fix(es):\n\n * BDU:2022-00244: Уязвимость компонента tftpd_file.c клиента TFTP Atftp, связанная с копированием буфера без проверки входных данных, позволяющая нарушителю вызвать отказ в обслуживании\n\n * BDU:2022-05753: Уязвимость компонента options клиента TFTP Atftp, позволяющая нарушителю получить доступ к конфиденциальным данным\n\n * CVE-2021-41054: tftpd_file.c in atftp through 0.7.4 has a buffer overflow because buffer-size handling does not properly consider the combination of data, OACK, and other options.\n\n * CVE-2021-46671: options.c in atftp before 0.7.5 reads past the end of an array, and consequently discloses server-side /etc/group data to a remote client.\n\n * #28104: atftp: Необходимо обеспечить совместимость службы с systemd\n\n * #49359: Сервис atftpd нельзя добавить в автозапуск, используя systemctl enable", + "Advisory": { + "From": "errata.altlinux.org", + "Severity": "High", + "Rights": "Copyright 2024 BaseALT Ltd.", + "Issued": { + "Date": "2024-02-14" + }, + "Updated": { + "Date": "2024-02-14" + }, + "bdu": [ + { + "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:H", + "Cwe": "CWE-120", + "Href": "https://bdu.fstec.ru/vul/2022-00244", + "Impact": "High", + "Public": "20210912", + "CveID": "BDU:2022-00244" + }, + { + "Cvss": "AV:N/AC:L/Au:N/C:P/I:N/A:N", + "Cvss3": "AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", + "Cwe": "CWE-125", + "Href": "https://bdu.fstec.ru/vul/2022-05753", + "Impact": "Low", + "Public": "20220204", + "CveID": "BDU:2022-05753" + } + ], + "Cves": [ + { + "Cvss": "AV:N/AC:L/Au:N/C:N/I:N/A:P", + "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", + "Cwe": "CWE-120", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2021-41054", + "Impact": "High", + "Public": "20210913", + "CveID": "CVE-2021-41054" + }, + { + "Cvss": "AV:N/AC:L/Au:N/C:P/I:N/A:N", + "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", + "Cwe": "CWE-125", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2021-46671", + "Impact": "Low", + "Public": "20220204", + "CveID": "CVE-2021-46671" + } + ], + "Bugzilla": [ + { + "Id": "28104", + "Href": "https://bugzilla.altlinux.org/28104", + "Data": "atftp: Необходимо обеспечить совместимость службы с systemd" + }, + { + "Id": "49359", + "Href": "https://bugzilla.altlinux.org/49359", + "Data": "Сервис atftpd нельзя добавить в автозапуск, используя systemctl enable" + } + ], + "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:20242319001", + "Comment": "atftp is earlier than 0:0.8.0-alt2" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-2319/objects.json b/oval/p10/ALT-PU-2024-2319/objects.json new file mode 100644 index 0000000000..8d4faf0851 --- /dev/null +++ b/oval/p10/ALT-PU-2024-2319/objects.json @@ -0,0 +1,34 @@ +{ + "TextFileContent54Objects": [ + { + "ID": "oval:org.altlinux.errata:obj:2001", + "Version": "1", + "comment": "Evaluate `/etc/os-release` file content", + "Path": { + "dataType": "string", + "Text": "/etc" + }, + "Filepath": { + "Datatype": "string", + "Text": "os-release" + }, + "Pattern": { + "Datatype": "string", + "Operation": "pattern match", + "Text": "cpe:\\/o:alt:(?!sp)[a-z\\-]+:p?(\\d+)(?:\\.\\d)*" + }, + "Instance": { + "Datatype": "int", + "Text": "1" + } + } + ], + "RpmInfoObjects": [ + { + "ID": "oval:org.altlinux.errata:obj:20242319001", + "Version": "1", + "comment": "atftp is installed", + "Name": "atftp" + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-2319/states.json b/oval/p10/ALT-PU-2024-2319/states.json new file mode 100644 index 0000000000..18e839bc57 --- /dev/null +++ b/oval/p10/ALT-PU-2024-2319/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:2001", + "Version": "1", + "Text": {} + } + ], + "RpmInfoState": [ + { + "ID": "oval:org.altlinux.errata:ste:20242319001", + "Version": "1", + "Comment": "package EVR is earlier than 0:0.8.0-alt2", + "Arch": {}, + "Evr": { + "Text": "0:0.8.0-alt2", + "Datatype": "evr_string", + "Operation": "less than" + }, + "Subexpression": {} + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-2319/tests.json b/oval/p10/ALT-PU-2024-2319/tests.json new file mode 100644 index 0000000000..ef5e3f979e --- /dev/null +++ b/oval/p10/ALT-PU-2024-2319/tests.json @@ -0,0 +1,30 @@ +{ + "TextFileContent54Tests": [ + { + "ID": "oval:org.altlinux.errata:tst:2001", + "Version": "1", + "Check": "all", + "Comment": "ALT Linux based on branch 'p10' must be installed", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:2001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:2001" + } + } + ], + "RPMInfoTests": [ + { + "ID": "oval:org.altlinux.errata:tst:20242319001", + "Version": "1", + "Check": "all", + "Comment": "atftp is earlier than 0:0.8.0-alt2", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20242319001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20242319001" + } + } + ] +} \ No newline at end of file