ALT Vulnerability

This commit is contained in:
Иван Пепеляев 2024-07-17 03:04:12 +00:00
parent 7f32a524db
commit e46539042d
4 changed files with 254 additions and 0 deletions

View File

@ -0,0 +1,131 @@
{
"Definition": [
{
"ID": "oval:org.altlinux.errata:def:20246436",
"Version": "oval:org.altlinux.errata:def:20246436",
"Class": "patch",
"Metadata": {
"Title": "ALT-PU-2024-6436: package `curl` update to version 8.7.1-alt1",
"AffectedList": [
{
"Family": "unix",
"Platforms": [
"ALT Linux branch c10f1"
],
"Products": [
"ALT SP Workstation",
"ALT SP Server"
]
}
],
"References": [
{
"RefID": "ALT-PU-2024-6436",
"RefURL": "https://errata.altlinux.org/ALT-PU-2024-6436",
"Source": "ALTPU"
},
{
"RefID": "BDU:2024-02722",
"RefURL": "https://bdu.fstec.ru/vul/2024-02722",
"Source": "BDU"
},
{
"RefID": "BDU:2024-02723",
"RefURL": "https://bdu.fstec.ru/vul/2024-02723",
"Source": "BDU"
},
{
"RefID": "CVE-2024-2004",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2024-2004",
"Source": "CVE"
},
{
"RefID": "CVE-2024-2398",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2024-2398",
"Source": "CVE"
}
],
"Description": "This update upgrades curl to version 8.7.1-alt1. \nSecurity Fix(es):\n\n * BDU:2024-02722: Уязвимость реализации сетевого протокола HTTP/2 утилиты командной строки cURL, позволяющая нарушителю вызвать отказ в обслуживании\n\n * BDU:2024-02723: Уязвимость утилиты командной строки cURL, связанная с ошибками логике удаления протоколов, позволяющая нарушителю получить доступ к защищаемой информации\n\n * CVE-2024-2004: When a protocol selection parameter option disables all protocols without adding any then the default set of protocols would remain in the allowed set due to an error in the logic for removing protocols. The below command would perform a request to curl.se with a plaintext protocol which has been explicitly disabled. curl --proto -all,-http http://curl.se The flaw is only present if the set of selected protocols disables the entire set of available protocols, in itself a command with no practical use and therefore unlikely to be encountered in real situations. The curl security team has thus assessed this to be low severity bug.\n\n * CVE-2024-2398: When an application tells libcurl it wants to allow HTTP/2 server push, and the amount of received headers for the push surpasses the maximum allowed limit (1000), libcurl aborts the server push. When aborting, libcurl inadvertently does not free all the previously allocated headers and instead leaks the memory. Further, this error condition fails silently and is therefore not easily detected by an application.",
"Advisory": {
"From": "errata.altlinux.org",
"Severity": "Low",
"Rights": "Copyright 2024 BaseALT Ltd.",
"Issued": {
"Date": "2024-07-16"
},
"Updated": {
"Date": "2024-07-16"
},
"BDUs": [
{
"ID": "BDU:2024-02722",
"CVSS": "AV:N/AC:L/Au:N/C:N/I:N/A:P",
"CVSS3": "AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L",
"CWE": "CWE-401",
"Href": "https://bdu.fstec.ru/vul/2024-02722",
"Impact": "Low",
"Public": "20240215"
},
{
"ID": "BDU:2024-02723",
"CVSS": "AV:N/AC:H/Au:N/C:P/I:N/A:N",
"CVSS3": "AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N",
"CWE": "CWE-115",
"Href": "https://bdu.fstec.ru/vul/2024-02723",
"Impact": "Low",
"Public": "20240215"
}
],
"CVEs": [
{
"ID": "CVE-2024-2004",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2024-2004",
"Impact": "None",
"Public": "20240327"
},
{
"ID": "CVE-2024-2398",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2024-2398",
"Impact": "None",
"Public": "20240327"
}
],
"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:20246436001",
"Comment": "curl is earlier than 0:8.7.1-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20246436002",
"Comment": "libcurl is earlier than 0:8.7.1-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20246436003",
"Comment": "libcurl-devel is earlier than 0:8.7.1-alt1"
}
]
}
]
}
}
]
}

View File

@ -0,0 +1,46 @@
{
"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:20246436001",
"Version": "1",
"Comment": "curl is installed",
"Name": "curl"
},
{
"ID": "oval:org.altlinux.errata:obj:20246436002",
"Version": "1",
"Comment": "libcurl is installed",
"Name": "libcurl"
},
{
"ID": "oval:org.altlinux.errata:obj:20246436003",
"Version": "1",
"Comment": "libcurl-devel is installed",
"Name": "libcurl-devel"
}
]
}

View File

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

View File

@ -0,0 +1,54 @@
{
"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:20246436001",
"Version": "1",
"Check": "all",
"Comment": "curl is earlier than 0:8.7.1-alt1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20246436001"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20246436001"
}
},
{
"ID": "oval:org.altlinux.errata:tst:20246436002",
"Version": "1",
"Check": "all",
"Comment": "libcurl is earlier than 0:8.7.1-alt1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20246436002"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20246436001"
}
},
{
"ID": "oval:org.altlinux.errata:tst:20246436003",
"Version": "1",
"Check": "all",
"Comment": "libcurl-devel is earlier than 0:8.7.1-alt1",
"Object": {
"ObjectRef": "oval:org.altlinux.errata:obj:20246436003"
},
"State": {
"StateRef": "oval:org.altlinux.errata:ste:20246436001"
}
}
]
}