vuln-list-alt/oval/c9f2/ALT-PU-2023-1135/definitions.json
2024-04-16 14:26:14 +00:00

144 lines
6.2 KiB
JSON

{
"Definition": [
{
"ID": "oval:org.altlinux.errata:def:20231135",
"Version": "oval:org.altlinux.errata:def:20231135",
"Class": "patch",
"Metadata": {
"Title": "ALT-PU-2023-1135: package `rust` update to version 1.64.0-alt0.c9.1",
"AffectedList": [
{
"Family": "unix",
"Platforms": [
"ALT Linux branch c9f2"
],
"Products": [
"ALT SPWorkstation",
"ALT SPServer"
]
}
],
"References": [
{
"RefID": "ALT-PU-2023-1135",
"RefURL": "https://errata.altlinux.org/ALT-PU-2023-1135",
"Source": "ALTPU"
},
{
"RefID": "BDU:2022-05167",
"RefURL": "https://bdu.fstec.ru/vul/2022-05167",
"Source": "BDU"
},
{
"RefID": "CVE-2022-21658",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2022-21658",
"Source": "CVE"
}
],
"Description": "This update upgrades rust to version 1.64.0-alt0.c9.1. \nSecurity Fix(es):\n\n * BDU:2022-05167: Уязвимость функции std::fs::remove_dir_all языка программирования Rust, позволяющая нарушителю удалить произвольные системные файлы и каталоги\n\n * CVE-2022-21658: Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. The Rust Security Response WG was notified that the `std::fs::remove_dir_all` standard library function is vulnerable a race condition enabling symlink following (CWE-363). An attacker could use this security issue to trick a privileged program into deleting files and directories the attacker couldn't otherwise access or delete. Rust 1.0.0 through Rust 1.58.0 is affected by this vulnerability with 1.58.1 containing a patch. Note that the following build targets don't have usable APIs to properly mitigate the attack, and are thus still vulnerable even with a patched toolchain: macOS before version 10.10 (Yosemite) and REDOX. We recommend everyone to update to Rust 1.58.1 as soon as possible, especially people developing programs expected to run in privileged contexts (including system daemons and setuid binaries), as those have the highest risk of being affected by this. Note that adding checks in your codebase before calling remove_dir_all will not mitigate the vulnerability, as they would also be vulnerable to race conditions like remove_dir_all itself. The existing mitigation is working as intended outside of race conditions.\n\n * #41534: cargo vendor is broken",
"Advisory": {
"From": "errata.altlinux.org",
"Severity": "Critical",
"Rights": "Copyright 2024 BaseALT Ltd.",
"Issued": {
"Date": "2023-01-26"
},
"Updated": {
"Date": "2023-01-26"
},
"BDUs": [
{
"ID": "BDU:2022-05167",
"CVSS": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
"CVSS3": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"CWE": "CWE-362",
"Href": "https://bdu.fstec.ru/vul/2022-05167",
"Impact": "Critical",
"Public": "20220123"
}
],
"CVEs": [
{
"ID": "CVE-2022-21658",
"CVSS": "AV:L/AC:M/Au:N/C:N/I:P/A:P",
"CVSS3": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H",
"CWE": "CWE-363",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2022-21658",
"Impact": "Low",
"Public": "20220120"
}
],
"Bugzilla": [
{
"ID": "41534",
"Href": "https://bugzilla.altlinux.org/41534",
"Data": "cargo vendor is broken"
}
],
"AffectedCPEs": {
"CPEs": [
"cpe:/o:alt:spworkstation:8.4",
"cpe:/o:alt:spserver:8.4"
]
}
}
},
"Criteria": {
"Operator": "AND",
"Criterions": [
{
"TestRef": "oval:org.altlinux.errata:tst:3001",
"Comment": "ALT Linux must be installed"
}
],
"Criterias": [
{
"Operator": "OR",
"Criterions": [
{
"TestRef": "oval:org.altlinux.errata:tst:20231135001",
"Comment": "clippy is earlier than 1:1.64.0-alt0.c9.1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20231135002",
"Comment": "rls is earlier than 1:1.64.0-alt0.c9.1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20231135003",
"Comment": "rust is earlier than 1:1.64.0-alt0.c9.1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20231135004",
"Comment": "rust-analysis is earlier than 1:1.64.0-alt0.c9.1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20231135005",
"Comment": "rust-cargo is earlier than 1:1.64.0-alt0.c9.1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20231135006",
"Comment": "rust-cargo-doc is earlier than 1:1.64.0-alt0.c9.1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20231135007",
"Comment": "rust-doc is earlier than 1:1.64.0-alt0.c9.1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20231135008",
"Comment": "rust-gdb is earlier than 1:1.64.0-alt0.c9.1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20231135009",
"Comment": "rust-src is earlier than 1:1.64.0-alt0.c9.1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20231135010",
"Comment": "rustfmt is earlier than 1:1.64.0-alt0.c9.1"
}
]
}
]
}
}
]
}