diff --git a/oval/c10f1/ALT-PU-2024-3772/definitions.json b/oval/c10f1/ALT-PU-2024-3772/definitions.json new file mode 100644 index 0000000000..00b5973409 --- /dev/null +++ b/oval/c10f1/ALT-PU-2024-3772/definitions.json @@ -0,0 +1,231 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:20243772", + "Version": "oval:org.altlinux.errata:def:20243772", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2024-3772: package `libvirt` update to version 9.7.0-alt2.p10.1", + "AffectedList": [ + { + "Family": "unix", + "Platforms": [ + "ALT Linux branch c10f1" + ], + "Products": [ + "ALT SP Workstation", + "ALT SP Server" + ] + } + ], + "References": [ + { + "RefID": "ALT-PU-2024-3772", + "RefURL": "https://errata.altlinux.org/ALT-PU-2024-3772", + "Source": "ALTPU" + }, + { + "RefID": "CVE-2024-1441", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2024-1441", + "Source": "CVE" + } + ], + "Description": "This update upgrades libvirt to version 9.7.0-alt2.p10.1. \nSecurity Fix(es):\n\n * CVE-2024-1441: An off-by-one error flaw was found in the udevListInterfacesByStatus() function in libvirt when the number of interfaces exceeds the size of the `names` array. This issue can be reproduced by sending specially crafted data to the libvirt daemon, allowing an unprivileged client to perform a denial of service attack by causing the libvirt daemon to crash.", + "Advisory": { + "From": "errata.altlinux.org", + "Severity": "Low", + "Rights": "Copyright 2024 BaseALT Ltd.", + "Issued": { + "Date": "2024-03-15" + }, + "Updated": { + "Date": "2024-03-15" + }, + "bdu": null, + "Cves": [ + { + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2024-1441", + "Impact": "None", + "Public": "20240311", + "CveID": "CVE-2024-1441" + } + ], + "AffectedCpeList": { + "Cpe": [ + "cpe:/o:alt:spworkstation:10", + "cpe:/o:alt:spserver:10" + ] + } + } + }, + "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:20243772001", + "Comment": "libvirt is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772002", + "Comment": "libvirt-admin is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772003", + "Comment": "libvirt-client is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772004", + "Comment": "libvirt-client-qemu is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772005", + "Comment": "libvirt-daemon is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772006", + "Comment": "libvirt-daemon-config-network is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772007", + "Comment": "libvirt-daemon-config-nwfilter is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772008", + "Comment": "libvirt-daemon-driver-interface is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772009", + "Comment": "libvirt-daemon-driver-lxc is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772010", + "Comment": "libvirt-daemon-driver-network is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772011", + "Comment": "libvirt-daemon-driver-nodedev is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772012", + "Comment": "libvirt-daemon-driver-nwfilter is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772013", + "Comment": "libvirt-daemon-driver-qemu is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772014", + "Comment": "libvirt-daemon-driver-secret is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772015", + "Comment": "libvirt-daemon-driver-storage is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772016", + "Comment": "libvirt-daemon-driver-storage-core is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772017", + "Comment": "libvirt-daemon-driver-storage-disk is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772018", + "Comment": "libvirt-daemon-driver-storage-fs is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772019", + "Comment": "libvirt-daemon-driver-storage-gluster is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772020", + "Comment": "libvirt-daemon-driver-storage-iscsi is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772021", + "Comment": "libvirt-daemon-driver-storage-iscsi-direct is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772022", + "Comment": "libvirt-daemon-driver-storage-logical is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772023", + "Comment": "libvirt-daemon-driver-storage-mpath is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772024", + "Comment": "libvirt-daemon-driver-storage-rbd is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772025", + "Comment": "libvirt-daemon-driver-storage-scsi is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772026", + "Comment": "libvirt-daemon-driver-storage-zfs is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772027", + "Comment": "libvirt-daemon-driver-vbox is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772028", + "Comment": "libvirt-devel is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772029", + "Comment": "libvirt-docs is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772030", + "Comment": "libvirt-kvm is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772031", + "Comment": "libvirt-libs is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772032", + "Comment": "libvirt-lock-sanlock is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772033", + "Comment": "libvirt-login-shell is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772034", + "Comment": "libvirt-lxc is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772035", + "Comment": "libvirt-qemu is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772036", + "Comment": "libvirt-qemu-common is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772037", + "Comment": "libvirt-vbox is earlier than 0:9.7.0-alt2.p10.1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243772038", + "Comment": "nss-libvirt is earlier than 0:9.7.0-alt2.p10.1" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/c10f1/ALT-PU-2024-3772/objects.json b/oval/c10f1/ALT-PU-2024-3772/objects.json new file mode 100644 index 0000000000..916aead0bf --- /dev/null +++ b/oval/c10f1/ALT-PU-2024-3772/objects.json @@ -0,0 +1,256 @@ +{ + "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+)" + }, + "Instance": { + "Datatype": "int", + "Text": "1" + } + } + ], + "RpmInfoObjects": [ + { + "ID": "oval:org.altlinux.errata:obj:20243772001", + "Version": "1", + "comment": "libvirt is installed", + "Name": "libvirt" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772002", + "Version": "1", + "comment": "libvirt-admin is installed", + "Name": "libvirt-admin" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772003", + "Version": "1", + "comment": "libvirt-client is installed", + "Name": "libvirt-client" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772004", + "Version": "1", + "comment": "libvirt-client-qemu is installed", + "Name": "libvirt-client-qemu" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772005", + "Version": "1", + "comment": "libvirt-daemon is installed", + "Name": "libvirt-daemon" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772006", + "Version": "1", + "comment": "libvirt-daemon-config-network is installed", + "Name": "libvirt-daemon-config-network" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772007", + "Version": "1", + "comment": "libvirt-daemon-config-nwfilter is installed", + "Name": "libvirt-daemon-config-nwfilter" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772008", + "Version": "1", + "comment": "libvirt-daemon-driver-interface is installed", + "Name": "libvirt-daemon-driver-interface" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772009", + "Version": "1", + "comment": "libvirt-daemon-driver-lxc is installed", + "Name": "libvirt-daemon-driver-lxc" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772010", + "Version": "1", + "comment": "libvirt-daemon-driver-network is installed", + "Name": "libvirt-daemon-driver-network" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772011", + "Version": "1", + "comment": "libvirt-daemon-driver-nodedev is installed", + "Name": "libvirt-daemon-driver-nodedev" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772012", + "Version": "1", + "comment": "libvirt-daemon-driver-nwfilter is installed", + "Name": "libvirt-daemon-driver-nwfilter" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772013", + "Version": "1", + "comment": "libvirt-daemon-driver-qemu is installed", + "Name": "libvirt-daemon-driver-qemu" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772014", + "Version": "1", + "comment": "libvirt-daemon-driver-secret is installed", + "Name": "libvirt-daemon-driver-secret" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772015", + "Version": "1", + "comment": "libvirt-daemon-driver-storage is installed", + "Name": "libvirt-daemon-driver-storage" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772016", + "Version": "1", + "comment": "libvirt-daemon-driver-storage-core is installed", + "Name": "libvirt-daemon-driver-storage-core" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772017", + "Version": "1", + "comment": "libvirt-daemon-driver-storage-disk is installed", + "Name": "libvirt-daemon-driver-storage-disk" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772018", + "Version": "1", + "comment": "libvirt-daemon-driver-storage-fs is installed", + "Name": "libvirt-daemon-driver-storage-fs" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772019", + "Version": "1", + "comment": "libvirt-daemon-driver-storage-gluster is installed", + "Name": "libvirt-daemon-driver-storage-gluster" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772020", + "Version": "1", + "comment": "libvirt-daemon-driver-storage-iscsi is installed", + "Name": "libvirt-daemon-driver-storage-iscsi" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772021", + "Version": "1", + "comment": "libvirt-daemon-driver-storage-iscsi-direct is installed", + "Name": "libvirt-daemon-driver-storage-iscsi-direct" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772022", + "Version": "1", + "comment": "libvirt-daemon-driver-storage-logical is installed", + "Name": "libvirt-daemon-driver-storage-logical" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772023", + "Version": "1", + "comment": "libvirt-daemon-driver-storage-mpath is installed", + "Name": "libvirt-daemon-driver-storage-mpath" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772024", + "Version": "1", + "comment": "libvirt-daemon-driver-storage-rbd is installed", + "Name": "libvirt-daemon-driver-storage-rbd" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772025", + "Version": "1", + "comment": "libvirt-daemon-driver-storage-scsi is installed", + "Name": "libvirt-daemon-driver-storage-scsi" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772026", + "Version": "1", + "comment": "libvirt-daemon-driver-storage-zfs is installed", + "Name": "libvirt-daemon-driver-storage-zfs" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772027", + "Version": "1", + "comment": "libvirt-daemon-driver-vbox is installed", + "Name": "libvirt-daemon-driver-vbox" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772028", + "Version": "1", + "comment": "libvirt-devel is installed", + "Name": "libvirt-devel" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772029", + "Version": "1", + "comment": "libvirt-docs is installed", + "Name": "libvirt-docs" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772030", + "Version": "1", + "comment": "libvirt-kvm is installed", + "Name": "libvirt-kvm" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772031", + "Version": "1", + "comment": "libvirt-libs is installed", + "Name": "libvirt-libs" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772032", + "Version": "1", + "comment": "libvirt-lock-sanlock is installed", + "Name": "libvirt-lock-sanlock" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772033", + "Version": "1", + "comment": "libvirt-login-shell is installed", + "Name": "libvirt-login-shell" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772034", + "Version": "1", + "comment": "libvirt-lxc is installed", + "Name": "libvirt-lxc" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772035", + "Version": "1", + "comment": "libvirt-qemu is installed", + "Name": "libvirt-qemu" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772036", + "Version": "1", + "comment": "libvirt-qemu-common is installed", + "Name": "libvirt-qemu-common" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772037", + "Version": "1", + "comment": "libvirt-vbox is installed", + "Name": "libvirt-vbox" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243772038", + "Version": "1", + "comment": "nss-libvirt is installed", + "Name": "nss-libvirt" + } + ] +} \ No newline at end of file diff --git a/oval/c10f1/ALT-PU-2024-3772/states.json b/oval/c10f1/ALT-PU-2024-3772/states.json new file mode 100644 index 0000000000..c1ab5ab730 --- /dev/null +++ b/oval/c10f1/ALT-PU-2024-3772/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:4001", + "Version": "1", + "Text": {} + } + ], + "RpmInfoState": [ + { + "ID": "oval:org.altlinux.errata:ste:20243772001", + "Version": "1", + "Comment": "package EVR is earlier than 0:9.7.0-alt2.p10.1", + "Arch": {}, + "Evr": { + "Text": "0:9.7.0-alt2.p10.1", + "Datatype": "evr_string", + "Operation": "less than" + }, + "Subexpression": {} + } + ] +} \ No newline at end of file diff --git a/oval/c10f1/ALT-PU-2024-3772/tests.json b/oval/c10f1/ALT-PU-2024-3772/tests.json new file mode 100644 index 0000000000..ce57b98d8c --- /dev/null +++ b/oval/c10f1/ALT-PU-2024-3772/tests.json @@ -0,0 +1,474 @@ +{ + "TextFileContent54Tests": [ + { + "ID": "oval:org.altlinux.errata:tst:4001", + "Version": "1", + "Check": "all", + "Comment": "ALT Linux based on branch 'c10f1' 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:20243772001", + "Version": "1", + "Check": "all", + "Comment": "libvirt is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772002", + "Version": "1", + "Check": "all", + "Comment": "libvirt-admin is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772002" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772003", + "Version": "1", + "Check": "all", + "Comment": "libvirt-client is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772003" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772004", + "Version": "1", + "Check": "all", + "Comment": "libvirt-client-qemu is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772004" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772005", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772005" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772006", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-config-network is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772006" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772007", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-config-nwfilter is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772007" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772008", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-interface is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772008" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772009", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-lxc is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772009" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772010", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-network is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772010" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772011", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-nodedev is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772011" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772012", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-nwfilter is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772012" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772013", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-qemu is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772013" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772014", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-secret is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772014" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772015", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-storage is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772015" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772016", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-storage-core is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772016" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772017", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-storage-disk is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772017" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772018", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-storage-fs is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772018" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772019", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-storage-gluster is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772019" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772020", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-storage-iscsi is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772020" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772021", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-storage-iscsi-direct is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772021" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772022", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-storage-logical is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772022" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772023", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-storage-mpath is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772023" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772024", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-storage-rbd is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772024" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772025", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-storage-scsi is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772025" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772026", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-storage-zfs is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772026" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772027", + "Version": "1", + "Check": "all", + "Comment": "libvirt-daemon-driver-vbox is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772027" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772028", + "Version": "1", + "Check": "all", + "Comment": "libvirt-devel is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772028" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772029", + "Version": "1", + "Check": "all", + "Comment": "libvirt-docs is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772029" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772030", + "Version": "1", + "Check": "all", + "Comment": "libvirt-kvm is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772030" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772031", + "Version": "1", + "Check": "all", + "Comment": "libvirt-libs is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772031" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772032", + "Version": "1", + "Check": "all", + "Comment": "libvirt-lock-sanlock is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772032" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772033", + "Version": "1", + "Check": "all", + "Comment": "libvirt-login-shell is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772033" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772034", + "Version": "1", + "Check": "all", + "Comment": "libvirt-lxc is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772034" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772035", + "Version": "1", + "Check": "all", + "Comment": "libvirt-qemu is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772035" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772036", + "Version": "1", + "Check": "all", + "Comment": "libvirt-qemu-common is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772036" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772037", + "Version": "1", + "Check": "all", + "Comment": "libvirt-vbox is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772037" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243772038", + "Version": "1", + "Check": "all", + "Comment": "nss-libvirt is earlier than 0:9.7.0-alt2.p10.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243772038" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243772001" + } + } + ] +} \ No newline at end of file diff --git a/oval/c10f2/ALT-PU-2024-3622/definitions.json b/oval/c10f2/ALT-PU-2024-3622/definitions.json new file mode 100644 index 0000000000..9b81f4ac47 --- /dev/null +++ b/oval/c10f2/ALT-PU-2024-3622/definitions.json @@ -0,0 +1,73 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:20243622", + "Version": "oval:org.altlinux.errata:def:20243622", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2024-3622: package `nvidia-modprobe` update to version 550.54.14-alt1", + "AffectedList": [ + { + "Family": "unix", + "Platforms": [ + "ALT Linux branch c10f2" + ] + } + ], + "References": [ + { + "RefID": "ALT-PU-2024-3622", + "RefURL": "https://errata.altlinux.org/ALT-PU-2024-3622", + "Source": "ALTPU" + } + ], + "Description": "This update upgrades nvidia-modprobe to version 550.54.14-alt1. \nSecurity Fix(es):\n\n * #43826: Черный экран при входе пользователя из группы users", + "Advisory": { + "From": "errata.altlinux.org", + "Severity": "Low", + "Rights": "Copyright 2024 BaseALT Ltd.", + "Issued": { + "Date": "2024-03-15" + }, + "Updated": { + "Date": "2024-03-15" + }, + "bdu": null, + "Bugzilla": [ + { + "Id": "43826", + "Href": "https://bugzilla.altlinux.org/43826", + "Data": "Черный экран при входе пользователя из группы users" + } + ], + "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:20243622001", + "Comment": "nvidia-modprobe is earlier than 0:550.54.14-alt1" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/c10f2/ALT-PU-2024-3622/objects.json b/oval/c10f2/ALT-PU-2024-3622/objects.json new file mode 100644 index 0000000000..bfaa388597 --- /dev/null +++ b/oval/c10f2/ALT-PU-2024-3622/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:20243622001", + "Version": "1", + "comment": "nvidia-modprobe is installed", + "Name": "nvidia-modprobe" + } + ] +} \ No newline at end of file diff --git a/oval/c10f2/ALT-PU-2024-3622/states.json b/oval/c10f2/ALT-PU-2024-3622/states.json new file mode 100644 index 0000000000..fe4e81b10e --- /dev/null +++ b/oval/c10f2/ALT-PU-2024-3622/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:5001", + "Version": "1", + "Text": {} + } + ], + "RpmInfoState": [ + { + "ID": "oval:org.altlinux.errata:ste:20243622001", + "Version": "1", + "Comment": "package EVR is earlier than 0:550.54.14-alt1", + "Arch": {}, + "Evr": { + "Text": "0:550.54.14-alt1", + "Datatype": "evr_string", + "Operation": "less than" + }, + "Subexpression": {} + } + ] +} \ No newline at end of file diff --git a/oval/c10f2/ALT-PU-2024-3622/tests.json b/oval/c10f2/ALT-PU-2024-3622/tests.json new file mode 100644 index 0000000000..e62f83af92 --- /dev/null +++ b/oval/c10f2/ALT-PU-2024-3622/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:20243622001", + "Version": "1", + "Check": "all", + "Comment": "nvidia-modprobe is earlier than 0:550.54.14-alt1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243622001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243622001" + } + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-3029/definitions.json b/oval/p10/ALT-PU-2024-3029/definitions.json new file mode 100644 index 0000000000..7963e70741 --- /dev/null +++ b/oval/p10/ALT-PU-2024-3029/definitions.json @@ -0,0 +1,110 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:20243029", + "Version": "oval:org.altlinux.errata:def:20243029", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2024-3029: package `admc` update to version 0.16.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-3029", + "RefURL": "https://errata.altlinux.org/ALT-PU-2024-3029", + "Source": "ALTPU" + } + ], + "Description": "This update upgrades admc to version 0.16.0-alt1. \nSecurity Fix(es):\n\n * #48817: Не показывается constucted атрибут\n\n * #49385: [admc] Некорректно меняется иконка связи групповой политики, привязанной домену", + "Advisory": { + "From": "errata.altlinux.org", + "Severity": "Low", + "Rights": "Copyright 2024 BaseALT Ltd.", + "Issued": { + "Date": "2024-03-15" + }, + "Updated": { + "Date": "2024-03-15" + }, + "bdu": null, + "Bugzilla": [ + { + "Id": "48817", + "Href": "https://bugzilla.altlinux.org/48817", + "Data": "Не показывается constucted атрибут" + }, + { + "Id": "49385", + "Href": "https://bugzilla.altlinux.org/49385", + "Data": "[admc] Некорректно меняется иконка связи групповой политики, привязанной домену" + } + ], + "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:20243029001", + "Comment": "admc is earlier than 0:0.16.0-alt1" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20243029002", + "Comment": "admc-test is earlier than 0:0.16.0-alt1" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-3029/objects.json b/oval/p10/ALT-PU-2024-3029/objects.json new file mode 100644 index 0000000000..965122c26b --- /dev/null +++ b/oval/p10/ALT-PU-2024-3029/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:20243029001", + "Version": "1", + "comment": "admc is installed", + "Name": "admc" + }, + { + "ID": "oval:org.altlinux.errata:obj:20243029002", + "Version": "1", + "comment": "admc-test is installed", + "Name": "admc-test" + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-3029/states.json b/oval/p10/ALT-PU-2024-3029/states.json new file mode 100644 index 0000000000..338bbea6ce --- /dev/null +++ b/oval/p10/ALT-PU-2024-3029/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:2001", + "Version": "1", + "Text": {} + } + ], + "RpmInfoState": [ + { + "ID": "oval:org.altlinux.errata:ste:20243029001", + "Version": "1", + "Comment": "package EVR is earlier than 0:0.16.0-alt1", + "Arch": {}, + "Evr": { + "Text": "0:0.16.0-alt1", + "Datatype": "evr_string", + "Operation": "less than" + }, + "Subexpression": {} + } + ] +} \ No newline at end of file diff --git a/oval/p10/ALT-PU-2024-3029/tests.json b/oval/p10/ALT-PU-2024-3029/tests.json new file mode 100644 index 0000000000..46506d04d8 --- /dev/null +++ b/oval/p10/ALT-PU-2024-3029/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:20243029001", + "Version": "1", + "Check": "all", + "Comment": "admc is earlier than 0:0.16.0-alt1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243029001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243029001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20243029002", + "Version": "1", + "Check": "all", + "Comment": "admc-test is earlier than 0:0.16.0-alt1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20243029002" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20243029001" + } + } + ] +} \ No newline at end of file