From 271efe6ebb063a9c040cc5a429a0d4e7148877bf Mon Sep 17 00:00:00 2001 From: pepelyaevip Date: Thu, 1 Feb 2024 09:02:55 +0000 Subject: [PATCH] ALT Vulnerability --- oval/c10f1/ALT-PU-2023-8134/definitions.json | 94 ++++++++++++++++++++ oval/c10f1/ALT-PU-2023-8134/objects.json | 40 +++++++++ oval/c10f1/ALT-PU-2023-8134/states.json | 23 +++++ oval/c10f1/ALT-PU-2023-8134/tests.json | 42 +++++++++ 4 files changed, 199 insertions(+) create mode 100644 oval/c10f1/ALT-PU-2023-8134/definitions.json create mode 100644 oval/c10f1/ALT-PU-2023-8134/objects.json create mode 100644 oval/c10f1/ALT-PU-2023-8134/states.json create mode 100644 oval/c10f1/ALT-PU-2023-8134/tests.json diff --git a/oval/c10f1/ALT-PU-2023-8134/definitions.json b/oval/c10f1/ALT-PU-2023-8134/definitions.json new file mode 100644 index 0000000000..101a5e0b0c --- /dev/null +++ b/oval/c10f1/ALT-PU-2023-8134/definitions.json @@ -0,0 +1,94 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:20238134", + "Version": "oval:org.altlinux.errata:def:20238134", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2023-8134: package `gst-plugins-bad1.0` update to version 1.20.6-alt2", + "AffectedList": [ + { + "Family": "unix", + "Platforms": [ + "ALT Linux branch c10f1" + ], + "Products": [ + "ALT SP Workstation", + "ALT SP Server" + ] + } + ], + "References": [ + { + "RefID": "ALT-PU-2023-8134", + "RefURL": "https://errata.altlinux.org/ALT-PU-2023-8134", + "Source": "ALTPU" + }, + { + "RefID": "BDU:2023-06204", + "RefURL": "https://bdu.fstec.ru/vul/2023-06204", + "Source": "BDU" + }, + { + "RefID": "CVE-2023-40474", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-40474", + "Source": "CVE" + } + ], + "Description": "This update upgrades gst-plugins-bad1.0 to version 1.20.6-alt2. \nSecurity Fix(es):\n\n * BDU:2023-06204: Уязвимость компонента MXF File Parser мультимедийного фреймворка Gstreamer, позволяющая нарушителю выполнить произвольный код\n\n * CVE-2023-40474: description unavailable", + "Advisory": { + "From": "errata.altlinux.org", + "Severity": "High", + "Rights": "Copyright 2023 BaseALT Ltd.", + "Issued": { + "Date": "2024-02-01" + }, + "Updated": { + "Date": "2024-02-01" + }, + "bdu": [ + { + "Cvss": "AV:N/AC:L/Au:N/C:C/I:C/A:C", + "Cvss3": "AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", + "Cwe": "CWE-190", + "Href": "https://bdu.fstec.ru/vul/2023-06204", + "Impact": "High", + "Public": "20230927", + "CveID": "BDU:2023-06204" + } + ], + "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:20238134001", + "Comment": "gst-plugins-bad1.0 is earlier than 0:1.20.6-alt2" + }, + { + "TestRef": "oval:org.altlinux.errata:tst:20238134002", + "Comment": "gst-plugins-bad1.0-devel is earlier than 0:1.20.6-alt2" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/c10f1/ALT-PU-2023-8134/objects.json b/oval/c10f1/ALT-PU-2023-8134/objects.json new file mode 100644 index 0000000000..a58273ed69 --- /dev/null +++ b/oval/c10f1/ALT-PU-2023-8134/objects.json @@ -0,0 +1,40 @@ +{ + "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:20238134001", + "Version": "1", + "comment": "gst-plugins-bad1.0 is installed", + "Name": "gst-plugins-bad1.0" + }, + { + "ID": "oval:org.altlinux.errata:obj:20238134002", + "Version": "1", + "comment": "gst-plugins-bad1.0-devel is installed", + "Name": "gst-plugins-bad1.0-devel" + } + ] +} \ No newline at end of file diff --git a/oval/c10f1/ALT-PU-2023-8134/states.json b/oval/c10f1/ALT-PU-2023-8134/states.json new file mode 100644 index 0000000000..28fe2a3edd --- /dev/null +++ b/oval/c10f1/ALT-PU-2023-8134/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:4001", + "Version": "1", + "Text": {} + } + ], + "RpmInfoState": [ + { + "ID": "oval:org.altlinux.errata:ste:20238134001", + "Version": "1", + "Comment": "package EVR is earlier than 0:1.20.6-alt2", + "Arch": {}, + "Evr": { + "Text": "0:1.20.6-alt2", + "Datatype": "evr_string", + "Operation": "less than" + }, + "Subexpression": {} + } + ] +} \ No newline at end of file diff --git a/oval/c10f1/ALT-PU-2023-8134/tests.json b/oval/c10f1/ALT-PU-2023-8134/tests.json new file mode 100644 index 0000000000..4c3875bdb3 --- /dev/null +++ b/oval/c10f1/ALT-PU-2023-8134/tests.json @@ -0,0 +1,42 @@ +{ + "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:20238134001", + "Version": "1", + "Check": "all", + "Comment": "gst-plugins-bad1.0 is earlier than 0:1.20.6-alt2", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20238134001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20238134001" + } + }, + { + "ID": "oval:org.altlinux.errata:tst:20238134002", + "Version": "1", + "Check": "all", + "Comment": "gst-plugins-bad1.0-devel is earlier than 0:1.20.6-alt2", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20238134002" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20238134001" + } + } + ] +} \ No newline at end of file