ALT Vulnerability

This commit is contained in:
Иван Пепеляев 2024-07-19 03:04:58 +00:00
parent 4e63af07fe
commit dea439b837
4 changed files with 277 additions and 0 deletions

View File

@ -0,0 +1,136 @@
{
"Definition": [
{
"ID": "oval:org.altlinux.errata:def:20249714",
"Version": "oval:org.altlinux.errata:def:20249714",
"Class": "patch",
"Metadata": {
"Title": "ALT-PU-2024-9714: package `janus` update to version 1.2.1-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-9714",
"RefURL": "https://errata.altlinux.org/ALT-PU-2024-9714",
"Source": "ALTPU"
},
{
"RefID": "CVE-2021-4020",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2021-4020",
"Source": "CVE"
},
{
"RefID": "CVE-2021-4124",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2021-4124",
"Source": "CVE"
}
],
"Description": "This update upgrades janus to version 1.2.1-alt1. \nSecurity Fix(es):\n\n * CVE-2021-4020: janus-gateway is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\n\n * CVE-2021-4124: janus-gateway is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
"Advisory": {
"From": "errata.altlinux.org",
"Severity": "Low",
"Rights": "Copyright 2024 BaseALT Ltd.",
"Issued": {
"Date": "2024-07-18"
},
"Updated": {
"Date": "2024-07-18"
},
"BDUs": null,
"CVEs": [
{
"ID": "CVE-2021-4020",
"CVSS": "AV:N/AC:M/Au:S/C:N/I:P/A:N",
"CVSS3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"CWE": "CWE-79",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2021-4020",
"Impact": "Low",
"Public": "20211127"
},
{
"ID": "CVE-2021-4124",
"CVSS": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
"CVSS3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"CWE": "CWE-79",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2021-4124",
"Impact": "Low",
"Public": "20211216"
}
],
"AffectedCPEs": {
"CPEs": [
"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:20249714001",
"Comment": "janus is earlier than 0:1.2.1-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20249714002",
"Comment": "janus-devel is earlier than 0:1.2.1-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20249714003",
"Comment": "janus-docs is earlier than 0:1.2.1-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20249714004",
"Comment": "janus-utilities is earlier than 0:1.2.1-alt1"
}
]
}
]
}
}
]
}

View File

@ -0,0 +1,52 @@
{
"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:20249714001",
"Version": "1",
"Comment": "janus is installed",
"Name": "janus"
},
{
"ID": "oval:org.altlinux.errata:obj:20249714002",
"Version": "1",
"Comment": "janus-devel is installed",
"Name": "janus-devel"
},
{
"ID": "oval:org.altlinux.errata:obj:20249714003",
"Version": "1",
"Comment": "janus-docs is installed",
"Name": "janus-docs"
},
{
"ID": "oval:org.altlinux.errata:obj:20249714004",
"Version": "1",
"Comment": "janus-utilities is installed",
"Name": "janus-utilities"
}
]
}

View File

@ -0,0 +1,23 @@
{
"TextFileContent54State": [
{
"ID": "oval:org.altlinux.errata:ste:2001",
"Version": "1",
"Text": {}
}
],
"RPMInfoStates": [
{
"ID": "oval:org.altlinux.errata:ste:20249714001",
"Version": "1",
"Comment": "package EVR is earlier than 0:1.2.1-alt1",
"Arch": {},
"EVR": {
"Text": "0:1.2.1-alt1",
"Datatype": "evr_string",
"Operation": "less than"
},
"Subexpression": {}
}
]
}

View File

@ -0,0 +1,66 @@
{
"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:20249714001",
"Version": "1",
"Check": "all",
"Comment": "janus is earlier than 0:1.2.1-alt1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20249714001"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20249714001"
}
},
{
"ID": "oval:org.altlinux.errata:tst:20249714002",
"Version": "1",
"Check": "all",
"Comment": "janus-devel is earlier than 0:1.2.1-alt1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20249714002"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20249714001"
}
},
{
"ID": "oval:org.altlinux.errata:tst:20249714003",
"Version": "1",
"Check": "all",
"Comment": "janus-docs is earlier than 0:1.2.1-alt1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20249714003"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20249714001"
}
},
{
"ID": "oval:org.altlinux.errata:tst:20249714004",
"Version": "1",
"Check": "all",
"Comment": "janus-utilities is earlier than 0:1.2.1-alt1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20249714004"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20249714001"
}
}
]
}