ALT Vulnerability
This commit is contained in:
parent
6eb707d754
commit
47bf7b92e6
148
oval/p9/ALT-PU-2024-2506/definitions.json
Normal file
148
oval/p9/ALT-PU-2024-2506/definitions.json
Normal file
@ -0,0 +1,148 @@
|
||||
{
|
||||
"Definition": [
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:def:20242506",
|
||||
"Version": "oval:org.altlinux.errata:def:20242506",
|
||||
"Class": "patch",
|
||||
"Metadata": {
|
||||
"Title": "ALT-PU-2024-2506: package `postgresql12-1C` update to version 12.17-alt0.M90P.2",
|
||||
"AffectedList": [
|
||||
{
|
||||
"Family": "unix",
|
||||
"Platforms": [
|
||||
"ALT Linux branch p9"
|
||||
],
|
||||
"Products": [
|
||||
"ALT Server",
|
||||
"ALT Virtualization Server",
|
||||
"ALT Workstation",
|
||||
"ALT Workstation K",
|
||||
"ALT Education",
|
||||
"Simply Linux",
|
||||
"Starterkit"
|
||||
]
|
||||
}
|
||||
],
|
||||
"References": [
|
||||
{
|
||||
"RefID": "ALT-PU-2024-2506",
|
||||
"RefURL": "https://errata.altlinux.org/ALT-PU-2024-2506",
|
||||
"Source": "ALTPU"
|
||||
},
|
||||
{
|
||||
"RefID": "BDU:2024-01121",
|
||||
"RefURL": "https://bdu.fstec.ru/vul/2024-01121",
|
||||
"Source": "BDU"
|
||||
},
|
||||
{
|
||||
"RefID": "CVE-2024-0985",
|
||||
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2024-0985",
|
||||
"Source": "CVE"
|
||||
}
|
||||
],
|
||||
"Description": "This update upgrades postgresql12-1C to version 12.17-alt0.M90P.2. \nSecurity Fix(es):\n\n * BDU:2024-01121: Уязвимость функции REFRESH MATERIALIZED VIEW CONCURRENTLY системы управления базами данных PostgreSQL, позволяющая нарушителю выполнять произвольные SQL-команды\n\n * CVE-2024-0985: Late privilege drop in REFRESH MATERIALIZED VIEW CONCURRENTLY in PostgreSQL allows an object creator to execute arbitrary SQL functions as the command issuer. The command intends to run SQL functions as the owner of the materialized view, enabling safe refresh of untrusted materialized views. The victim is a superuser or member of one of the attacker's roles. The attack requires luring the victim into running REFRESH MATERIALIZED VIEW CONCURRENTLY on the attacker's materialized view. As part of exploiting this vulnerability, the attacker creates functions that use CREATE RULE to convert the internally-built temporary table to a view. Versions before PostgreSQL 15.6, 14.11, 13.14, and 12.18 are affected. The only known exploit does not work in PostgreSQL 16 and later. For defense in depth, PostgreSQL 16.2 adds the protections that older branches are using to fix their vulnerability.",
|
||||
"Advisory": {
|
||||
"From": "errata.altlinux.org",
|
||||
"Severity": "High",
|
||||
"Rights": "Copyright 2024 BaseALT Ltd.",
|
||||
"Issued": {
|
||||
"Date": "2024-02-28"
|
||||
},
|
||||
"Updated": {
|
||||
"Date": "2024-02-28"
|
||||
},
|
||||
"bdu": [
|
||||
{
|
||||
"Cvss": "AV:N/AC:L/Au:S/C:C/I:C/A:C",
|
||||
"Cvss3": "AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
|
||||
"Cwe": "CWE-264, CWE-271",
|
||||
"Href": "https://bdu.fstec.ru/vul/2024-01121",
|
||||
"Impact": "High",
|
||||
"Public": "20240208",
|
||||
"CveID": "BDU:2024-01121"
|
||||
}
|
||||
],
|
||||
"Cves": [
|
||||
{
|
||||
"Cvss3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
|
||||
"Cwe": "NVD-CWE-noinfo",
|
||||
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2024-0985",
|
||||
"Impact": "High",
|
||||
"Public": "20240208",
|
||||
"CveID": "CVE-2024-0985"
|
||||
}
|
||||
],
|
||||
"AffectedCpeList": {
|
||||
"Cpe": [
|
||||
"cpe:/o:alt:kworkstation:9",
|
||||
"cpe:/o:alt:workstation:9",
|
||||
"cpe:/o:alt:server:9",
|
||||
"cpe:/o:alt:server-v:9",
|
||||
"cpe:/o:alt:education:9",
|
||||
"cpe:/o:alt:slinux:9",
|
||||
"cpe:/o:alt:starterkit:p9",
|
||||
"cpe:/o:alt:kworkstation:9.1",
|
||||
"cpe:/o:alt:workstation:9.1",
|
||||
"cpe:/o:alt:server:9.1",
|
||||
"cpe:/o:alt:server-v:9.1",
|
||||
"cpe:/o:alt:education:9.1",
|
||||
"cpe:/o:alt:slinux:9.1",
|
||||
"cpe:/o:alt:starterkit:9.1",
|
||||
"cpe:/o:alt:kworkstation:9.2",
|
||||
"cpe:/o:alt:workstation:9.2",
|
||||
"cpe:/o:alt:server:9.2",
|
||||
"cpe:/o:alt:server-v:9.2",
|
||||
"cpe:/o:alt:education:9.2",
|
||||
"cpe:/o:alt:slinux:9.2",
|
||||
"cpe:/o:alt:starterkit:9.2"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Criteria": {
|
||||
"Operator": "AND",
|
||||
"Criterions": [
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:1001",
|
||||
"Comment": "ALT Linux must be installed"
|
||||
}
|
||||
],
|
||||
"Criterias": [
|
||||
{
|
||||
"Operator": "OR",
|
||||
"Criterions": [
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242506001",
|
||||
"Comment": "postgresql12-1C is earlier than 0:12.17-alt0.M90P.2"
|
||||
},
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242506002",
|
||||
"Comment": "postgresql12-1C-contrib is earlier than 0:12.17-alt0.M90P.2"
|
||||
},
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242506003",
|
||||
"Comment": "postgresql12-1C-docs is earlier than 0:12.17-alt0.M90P.2"
|
||||
},
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242506004",
|
||||
"Comment": "postgresql12-1C-perl is earlier than 0:12.17-alt0.M90P.2"
|
||||
},
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242506005",
|
||||
"Comment": "postgresql12-1C-python is earlier than 0:12.17-alt0.M90P.2"
|
||||
},
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242506006",
|
||||
"Comment": "postgresql12-1C-server is earlier than 0:12.17-alt0.M90P.2"
|
||||
},
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242506007",
|
||||
"Comment": "postgresql12-1C-tcl is earlier than 0:12.17-alt0.M90P.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
70
oval/p9/ALT-PU-2024-2506/objects.json
Normal file
70
oval/p9/ALT-PU-2024-2506/objects.json
Normal file
@ -0,0 +1,70 @@
|
||||
{
|
||||
"TextFileContent54Objects": [
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:1001",
|
||||
"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:20242506001",
|
||||
"Version": "1",
|
||||
"comment": "postgresql12-1C is installed",
|
||||
"Name": "postgresql12-1C"
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:20242506002",
|
||||
"Version": "1",
|
||||
"comment": "postgresql12-1C-contrib is installed",
|
||||
"Name": "postgresql12-1C-contrib"
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:20242506003",
|
||||
"Version": "1",
|
||||
"comment": "postgresql12-1C-docs is installed",
|
||||
"Name": "postgresql12-1C-docs"
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:20242506004",
|
||||
"Version": "1",
|
||||
"comment": "postgresql12-1C-perl is installed",
|
||||
"Name": "postgresql12-1C-perl"
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:20242506005",
|
||||
"Version": "1",
|
||||
"comment": "postgresql12-1C-python is installed",
|
||||
"Name": "postgresql12-1C-python"
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:20242506006",
|
||||
"Version": "1",
|
||||
"comment": "postgresql12-1C-server is installed",
|
||||
"Name": "postgresql12-1C-server"
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:20242506007",
|
||||
"Version": "1",
|
||||
"comment": "postgresql12-1C-tcl is installed",
|
||||
"Name": "postgresql12-1C-tcl"
|
||||
}
|
||||
]
|
||||
}
|
23
oval/p9/ALT-PU-2024-2506/states.json
Normal file
23
oval/p9/ALT-PU-2024-2506/states.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"TextFileContent54State": [
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:ste:1001",
|
||||
"Version": "1",
|
||||
"Text": {}
|
||||
}
|
||||
],
|
||||
"RpmInfoState": [
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:ste:20242506001",
|
||||
"Version": "1",
|
||||
"Comment": "package EVR is earlier than 0:12.17-alt0.M90P.2",
|
||||
"Arch": {},
|
||||
"Evr": {
|
||||
"Text": "0:12.17-alt0.M90P.2",
|
||||
"Datatype": "evr_string",
|
||||
"Operation": "less than"
|
||||
},
|
||||
"Subexpression": {}
|
||||
}
|
||||
]
|
||||
}
|
102
oval/p9/ALT-PU-2024-2506/tests.json
Normal file
102
oval/p9/ALT-PU-2024-2506/tests.json
Normal file
@ -0,0 +1,102 @@
|
||||
{
|
||||
"TextFileContent54Tests": [
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:1001",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "ALT Linux based on branch 'p9' must be installed",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:1001"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:1001"
|
||||
}
|
||||
}
|
||||
],
|
||||
"RPMInfoTests": [
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242506001",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "postgresql12-1C is earlier than 0:12.17-alt0.M90P.2",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242506001"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242506001"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242506002",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "postgresql12-1C-contrib is earlier than 0:12.17-alt0.M90P.2",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242506002"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242506001"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242506003",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "postgresql12-1C-docs is earlier than 0:12.17-alt0.M90P.2",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242506003"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242506001"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242506004",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "postgresql12-1C-perl is earlier than 0:12.17-alt0.M90P.2",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242506004"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242506001"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242506005",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "postgresql12-1C-python is earlier than 0:12.17-alt0.M90P.2",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242506005"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242506001"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242506006",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "postgresql12-1C-server is earlier than 0:12.17-alt0.M90P.2",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242506006"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242506001"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242506007",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "postgresql12-1C-tcl is earlier than 0:12.17-alt0.M90P.2",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242506007"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242506001"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
164
oval/p9/ALT-PU-2024-2508/definitions.json
Normal file
164
oval/p9/ALT-PU-2024-2508/definitions.json
Normal file
@ -0,0 +1,164 @@
|
||||
{
|
||||
"Definition": [
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:def:20242508",
|
||||
"Version": "oval:org.altlinux.errata:def:20242508",
|
||||
"Class": "patch",
|
||||
"Metadata": {
|
||||
"Title": "ALT-PU-2024-2508: package `postgresql12` update to version 12.18-alt0.M90P.1",
|
||||
"AffectedList": [
|
||||
{
|
||||
"Family": "unix",
|
||||
"Platforms": [
|
||||
"ALT Linux branch p9"
|
||||
],
|
||||
"Products": [
|
||||
"ALT Server",
|
||||
"ALT Virtualization Server",
|
||||
"ALT Workstation",
|
||||
"ALT Workstation K",
|
||||
"ALT Education",
|
||||
"Simply Linux",
|
||||
"Starterkit"
|
||||
]
|
||||
}
|
||||
],
|
||||
"References": [
|
||||
{
|
||||
"RefID": "ALT-PU-2024-2508",
|
||||
"RefURL": "https://errata.altlinux.org/ALT-PU-2024-2508",
|
||||
"Source": "ALTPU"
|
||||
},
|
||||
{
|
||||
"RefID": "BDU:2024-01121",
|
||||
"RefURL": "https://bdu.fstec.ru/vul/2024-01121",
|
||||
"Source": "BDU"
|
||||
},
|
||||
{
|
||||
"RefID": "CVE-2024-0985",
|
||||
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2024-0985",
|
||||
"Source": "CVE"
|
||||
}
|
||||
],
|
||||
"Description": "This update upgrades postgresql12 to version 12.18-alt0.M90P.1. \nSecurity Fix(es):\n\n * BDU:2024-01121: Уязвимость функции REFRESH MATERIALIZED VIEW CONCURRENTLY системы управления базами данных PostgreSQL, позволяющая нарушителю выполнять произвольные SQL-команды\n\n * CVE-2024-0985: Late privilege drop in REFRESH MATERIALIZED VIEW CONCURRENTLY in PostgreSQL allows an object creator to execute arbitrary SQL functions as the command issuer. The command intends to run SQL functions as the owner of the materialized view, enabling safe refresh of untrusted materialized views. The victim is a superuser or member of one of the attacker's roles. The attack requires luring the victim into running REFRESH MATERIALIZED VIEW CONCURRENTLY on the attacker's materialized view. As part of exploiting this vulnerability, the attacker creates functions that use CREATE RULE to convert the internally-built temporary table to a view. Versions before PostgreSQL 15.6, 14.11, 13.14, and 12.18 are affected. The only known exploit does not work in PostgreSQL 16 and later. For defense in depth, PostgreSQL 16.2 adds the protections that older branches are using to fix their vulnerability.",
|
||||
"Advisory": {
|
||||
"From": "errata.altlinux.org",
|
||||
"Severity": "High",
|
||||
"Rights": "Copyright 2024 BaseALT Ltd.",
|
||||
"Issued": {
|
||||
"Date": "2024-02-28"
|
||||
},
|
||||
"Updated": {
|
||||
"Date": "2024-02-28"
|
||||
},
|
||||
"bdu": [
|
||||
{
|
||||
"Cvss": "AV:N/AC:L/Au:S/C:C/I:C/A:C",
|
||||
"Cvss3": "AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
|
||||
"Cwe": "CWE-264, CWE-271",
|
||||
"Href": "https://bdu.fstec.ru/vul/2024-01121",
|
||||
"Impact": "High",
|
||||
"Public": "20240208",
|
||||
"CveID": "BDU:2024-01121"
|
||||
}
|
||||
],
|
||||
"Cves": [
|
||||
{
|
||||
"Cvss3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
|
||||
"Cwe": "NVD-CWE-noinfo",
|
||||
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2024-0985",
|
||||
"Impact": "High",
|
||||
"Public": "20240208",
|
||||
"CveID": "CVE-2024-0985"
|
||||
}
|
||||
],
|
||||
"AffectedCpeList": {
|
||||
"Cpe": [
|
||||
"cpe:/o:alt:kworkstation:9",
|
||||
"cpe:/o:alt:workstation:9",
|
||||
"cpe:/o:alt:server:9",
|
||||
"cpe:/o:alt:server-v:9",
|
||||
"cpe:/o:alt:education:9",
|
||||
"cpe:/o:alt:slinux:9",
|
||||
"cpe:/o:alt:starterkit:p9",
|
||||
"cpe:/o:alt:kworkstation:9.1",
|
||||
"cpe:/o:alt:workstation:9.1",
|
||||
"cpe:/o:alt:server:9.1",
|
||||
"cpe:/o:alt:server-v:9.1",
|
||||
"cpe:/o:alt:education:9.1",
|
||||
"cpe:/o:alt:slinux:9.1",
|
||||
"cpe:/o:alt:starterkit:9.1",
|
||||
"cpe:/o:alt:kworkstation:9.2",
|
||||
"cpe:/o:alt:workstation:9.2",
|
||||
"cpe:/o:alt:server:9.2",
|
||||
"cpe:/o:alt:server-v:9.2",
|
||||
"cpe:/o:alt:education:9.2",
|
||||
"cpe:/o:alt:slinux:9.2",
|
||||
"cpe:/o:alt:starterkit:9.2"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Criteria": {
|
||||
"Operator": "AND",
|
||||
"Criterions": [
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:1001",
|
||||
"Comment": "ALT Linux must be installed"
|
||||
}
|
||||
],
|
||||
"Criterias": [
|
||||
{
|
||||
"Operator": "OR",
|
||||
"Criterions": [
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242508001",
|
||||
"Comment": "libecpg6 is earlier than 0:12.18-alt0.M90P.1"
|
||||
},
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242508002",
|
||||
"Comment": "libpq5 is earlier than 0:12.18-alt0.M90P.1"
|
||||
},
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242508003",
|
||||
"Comment": "postgresql-devel is earlier than 0:12.18-alt0.M90P.1"
|
||||
},
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242508004",
|
||||
"Comment": "postgresql-devel-static is earlier than 0:12.18-alt0.M90P.1"
|
||||
},
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242508005",
|
||||
"Comment": "postgresql12 is earlier than 0:12.18-alt0.M90P.1"
|
||||
},
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242508006",
|
||||
"Comment": "postgresql12-contrib is earlier than 0:12.18-alt0.M90P.1"
|
||||
},
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242508007",
|
||||
"Comment": "postgresql12-docs is earlier than 0:12.18-alt0.M90P.1"
|
||||
},
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242508008",
|
||||
"Comment": "postgresql12-perl is earlier than 0:12.18-alt0.M90P.1"
|
||||
},
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242508009",
|
||||
"Comment": "postgresql12-python is earlier than 0:12.18-alt0.M90P.1"
|
||||
},
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242508010",
|
||||
"Comment": "postgresql12-server is earlier than 0:12.18-alt0.M90P.1"
|
||||
},
|
||||
{
|
||||
"TestRef": "oval:org.altlinux.errata:tst:20242508011",
|
||||
"Comment": "postgresql12-tcl is earlier than 0:12.18-alt0.M90P.1"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
94
oval/p9/ALT-PU-2024-2508/objects.json
Normal file
94
oval/p9/ALT-PU-2024-2508/objects.json
Normal file
@ -0,0 +1,94 @@
|
||||
{
|
||||
"TextFileContent54Objects": [
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:1001",
|
||||
"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:20242508001",
|
||||
"Version": "1",
|
||||
"comment": "libecpg6 is installed",
|
||||
"Name": "libecpg6"
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:20242508002",
|
||||
"Version": "1",
|
||||
"comment": "libpq5 is installed",
|
||||
"Name": "libpq5"
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:20242508003",
|
||||
"Version": "1",
|
||||
"comment": "postgresql-devel is installed",
|
||||
"Name": "postgresql-devel"
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:20242508004",
|
||||
"Version": "1",
|
||||
"comment": "postgresql-devel-static is installed",
|
||||
"Name": "postgresql-devel-static"
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:20242508005",
|
||||
"Version": "1",
|
||||
"comment": "postgresql12 is installed",
|
||||
"Name": "postgresql12"
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:20242508006",
|
||||
"Version": "1",
|
||||
"comment": "postgresql12-contrib is installed",
|
||||
"Name": "postgresql12-contrib"
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:20242508007",
|
||||
"Version": "1",
|
||||
"comment": "postgresql12-docs is installed",
|
||||
"Name": "postgresql12-docs"
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:20242508008",
|
||||
"Version": "1",
|
||||
"comment": "postgresql12-perl is installed",
|
||||
"Name": "postgresql12-perl"
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:20242508009",
|
||||
"Version": "1",
|
||||
"comment": "postgresql12-python is installed",
|
||||
"Name": "postgresql12-python"
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:20242508010",
|
||||
"Version": "1",
|
||||
"comment": "postgresql12-server is installed",
|
||||
"Name": "postgresql12-server"
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:obj:20242508011",
|
||||
"Version": "1",
|
||||
"comment": "postgresql12-tcl is installed",
|
||||
"Name": "postgresql12-tcl"
|
||||
}
|
||||
]
|
||||
}
|
23
oval/p9/ALT-PU-2024-2508/states.json
Normal file
23
oval/p9/ALT-PU-2024-2508/states.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"TextFileContent54State": [
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:ste:1001",
|
||||
"Version": "1",
|
||||
"Text": {}
|
||||
}
|
||||
],
|
||||
"RpmInfoState": [
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:ste:20242508001",
|
||||
"Version": "1",
|
||||
"Comment": "package EVR is earlier than 0:12.18-alt0.M90P.1",
|
||||
"Arch": {},
|
||||
"Evr": {
|
||||
"Text": "0:12.18-alt0.M90P.1",
|
||||
"Datatype": "evr_string",
|
||||
"Operation": "less than"
|
||||
},
|
||||
"Subexpression": {}
|
||||
}
|
||||
]
|
||||
}
|
150
oval/p9/ALT-PU-2024-2508/tests.json
Normal file
150
oval/p9/ALT-PU-2024-2508/tests.json
Normal file
@ -0,0 +1,150 @@
|
||||
{
|
||||
"TextFileContent54Tests": [
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:1001",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "ALT Linux based on branch 'p9' must be installed",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:1001"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:1001"
|
||||
}
|
||||
}
|
||||
],
|
||||
"RPMInfoTests": [
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242508001",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "libecpg6 is earlier than 0:12.18-alt0.M90P.1",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242508001"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242508001"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242508002",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "libpq5 is earlier than 0:12.18-alt0.M90P.1",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242508002"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242508001"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242508003",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "postgresql-devel is earlier than 0:12.18-alt0.M90P.1",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242508003"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242508001"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242508004",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "postgresql-devel-static is earlier than 0:12.18-alt0.M90P.1",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242508004"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242508001"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242508005",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "postgresql12 is earlier than 0:12.18-alt0.M90P.1",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242508005"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242508001"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242508006",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "postgresql12-contrib is earlier than 0:12.18-alt0.M90P.1",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242508006"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242508001"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242508007",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "postgresql12-docs is earlier than 0:12.18-alt0.M90P.1",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242508007"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242508001"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242508008",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "postgresql12-perl is earlier than 0:12.18-alt0.M90P.1",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242508008"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242508001"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242508009",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "postgresql12-python is earlier than 0:12.18-alt0.M90P.1",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242508009"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242508001"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242508010",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "postgresql12-server is earlier than 0:12.18-alt0.M90P.1",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242508010"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242508001"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "oval:org.altlinux.errata:tst:20242508011",
|
||||
"Version": "1",
|
||||
"Check": "all",
|
||||
"Comment": "postgresql12-tcl is earlier than 0:12.18-alt0.M90P.1",
|
||||
"Object": {
|
||||
"ObjectRef": "oval:org.altlinux.errata:obj:20242508011"
|
||||
},
|
||||
"State": {
|
||||
"StateRef": "oval:org.altlinux.errata:ste:20242508001"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user