2024-12-12 21:07:30 +00:00

84 lines
3.3 KiB
JSON

{
"Definition": [
{
"ID": "oval:org.altlinux.errata:def:20221081",
"Version": "oval:org.altlinux.errata:def:20221081",
"Class": "patch",
"Metadata": {
"Title": "ALT-PU-2022-1081: package `flatpak-builder` update to version 1.2.2-alt1",
"AffectedList": [
{
"Family": "unix",
"Platforms": [
"ALT Linux branch p11"
],
"Products": [
"ALT Container"
]
}
],
"References": [
{
"RefID": "ALT-PU-2022-1081",
"RefURL": "https://errata.altlinux.org/ALT-PU-2022-1081",
"Source": "ALTPU"
},
{
"RefID": "CVE-2022-21682",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2022-21682",
"Source": "CVE"
}
],
"Description": "This update upgrades flatpak-builder to version 1.2.2-alt1. \nSecurity Fix(es):\n\n * CVE-2022-21682: Flatpak is a Linux application sandboxing and distribution framework. A path traversal vulnerability affects versions of Flatpak prior to 1.12.3 and 1.10.6. flatpak-builder applies `finish-args` last in the build. At this point the build directory will have the full access that is specified in the manifest, so running `flatpak build` against it will gain those permissions. Normally this will not be done, so this is not problem. However, if `--mirror-screenshots-url` is specified, then flatpak-builder will launch `flatpak build --nofilesystem=host appstream-utils mirror-screenshots` after finalization, which can lead to issues even with the `--nofilesystem=host` protection. In normal use, the only issue is that these empty directories can be created wherever the user has write permissions. However, a malicious application could replace the `appstream-util` binary and potentially do something more hostile. This has been resolved in Flatpak 1.12.3 and 1.10.6 by changing the behaviour of `--nofilesystem=home` and `--nofilesystem=host`.",
"Advisory": {
"From": "errata.altlinux.org",
"Severity": "Low",
"Rights": "Copyright 2024 BaseALT Ltd.",
"Issued": {
"Date": "2022-01-19"
},
"Updated": {
"Date": "2022-01-19"
},
"BDUs": null,
"CVEs": [
{
"ID": "CVE-2022-21682",
"CVSS": "AV:N/AC:L/Au:S/C:N/I:P/A:N",
"CVSS3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
"CWE": "CWE-22",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2022-21682",
"Impact": "Low",
"Public": "20220113"
}
],
"AffectedCPEs": {
"CPEs": [
"cpe:/o:alt:container:11"
]
}
}
},
"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:20221081001",
"Comment": "flatpak-builder is earlier than 1:1.2.2-alt1"
}
]
}
]
}
}
]
}