diff --git a/oval/c10f1/ALT-PU-2024-8071/definitions.json b/oval/c10f1/ALT-PU-2024-8071/definitions.json new file mode 100644 index 0000000000..d190c7f882 --- /dev/null +++ b/oval/c10f1/ALT-PU-2024-8071/definitions.json @@ -0,0 +1,108 @@ +{ + "Definition": [ + { + "ID": "oval:org.altlinux.errata:def:20248071", + "Version": "oval:org.altlinux.errata:def:20248071", + "Class": "patch", + "Metadata": { + "Title": "ALT-PU-2024-8071: package `rxvt-unicode` update to version 9.30-alt1.1", + "AffectedList": [ + { + "Family": "unix", + "Platforms": [ + "ALT Linux branch c10f1" + ], + "Products": [ + "ALT SP Workstation", + "ALT SP Server" + ] + } + ], + "References": [ + { + "RefID": "ALT-PU-2024-8071", + "RefURL": "https://errata.altlinux.org/ALT-PU-2024-8071", + "Source": "ALTPU" + }, + { + "RefID": "BDU:2021-04892", + "RefURL": "https://bdu.fstec.ru/vul/2021-04892", + "Source": "BDU" + }, + { + "RefID": "CVE-2021-33477", + "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2021-33477", + "Source": "CVE" + } + ], + "Description": "This update upgrades rxvt-unicode to version 9.30-alt1.1. \nSecurity Fix(es):\n\n * BDU:2021-04892: Уязвимость программного обеспечения Eterm, Mrxyt, Rxyt, Rxyt-unicode, связанная с функцией SSL-Proxy, позволяющая нарушителю получить доступ к конфиденциальным данным, нарушить их целостность, а также вызвать отказ в обслуживании\n\n * CVE-2021-33477: rxvt-unicode 9.22, rxvt 2.7.10, mrxvt 0.5.4, and Eterm 0.9.7 allow (potentially remote) code execution because of improper handling of certain escape sequences (ESC G Q). A response is terminated by a newline.\n\n * #48669: rxvt-unicode: Unicode display is broken", + "Advisory": { + "From": "errata.altlinux.org", + "Severity": "High", + "Rights": "Copyright 2024 BaseALT Ltd.", + "Issued": { + "Date": "2024-05-22" + }, + "Updated": { + "Date": "2024-05-22" + }, + "BDUs": [ + { + "ID": "BDU:2021-04892", + "CVSS": "AV:N/AC:L/Au:S/C:P/I:P/A:P", + "CVSS3": "AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", + "CWE": "CWE-755", + "Href": "https://bdu.fstec.ru/vul/2021-04892", + "Impact": "High", + "Public": "20210517" + } + ], + "CVEs": [ + { + "ID": "CVE-2021-33477", + "CVSS": "AV:N/AC:L/Au:S/C:P/I:P/A:P", + "CVSS3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", + "CWE": "CWE-755", + "Href": "https://nvd.nist.gov/vuln/detail/CVE-2021-33477", + "Impact": "High", + "Public": "20210520" + } + ], + "Bugzilla": [ + { + "ID": "48669", + "Href": "https://bugzilla.altlinux.org/48669", + "Data": "rxvt-unicode: Unicode display is broken" + } + ], + "AffectedCPEs": { + "CPEs": [ + "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:20248071001", + "Comment": "rxvt-unicode is earlier than 0:9.30-alt1.1" + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/oval/c10f1/ALT-PU-2024-8071/objects.json b/oval/c10f1/ALT-PU-2024-8071/objects.json new file mode 100644 index 0000000000..d26aead9ae --- /dev/null +++ b/oval/c10f1/ALT-PU-2024-8071/objects.json @@ -0,0 +1,34 @@ +{ + "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:20248071001", + "Version": "1", + "Comment": "rxvt-unicode is installed", + "Name": "rxvt-unicode" + } + ] +} \ No newline at end of file diff --git a/oval/c10f1/ALT-PU-2024-8071/states.json b/oval/c10f1/ALT-PU-2024-8071/states.json new file mode 100644 index 0000000000..2bb1f5b4b3 --- /dev/null +++ b/oval/c10f1/ALT-PU-2024-8071/states.json @@ -0,0 +1,23 @@ +{ + "TextFileContent54State": [ + { + "ID": "oval:org.altlinux.errata:ste:4001", + "Version": "1", + "Text": {} + } + ], + "RPMInfoStates": [ + { + "ID": "oval:org.altlinux.errata:ste:20248071001", + "Version": "1", + "Comment": "package EVR is earlier than 0:9.30-alt1.1", + "Arch": {}, + "EVR": { + "Text": "0:9.30-alt1.1", + "Datatype": "evr_string", + "Operation": "less than" + }, + "Subexpression": {} + } + ] +} \ No newline at end of file diff --git a/oval/c10f1/ALT-PU-2024-8071/tests.json b/oval/c10f1/ALT-PU-2024-8071/tests.json new file mode 100644 index 0000000000..6ab1b055eb --- /dev/null +++ b/oval/c10f1/ALT-PU-2024-8071/tests.json @@ -0,0 +1,30 @@ +{ + "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:20248071001", + "Version": "1", + "Check": "all", + "Comment": "rxvt-unicode is earlier than 0:9.30-alt1.1", + "Object": { + "ObjectRef": "oval:org.altlinux.errata:obj:20248071001" + }, + "State": { + "StateRef": "oval:org.altlinux.errata:ste:20248071001" + } + } + ] +} \ No newline at end of file