2024-06-28 13:17:52 +00:00

187 lines
10 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"Definition": [
{
"ID": "oval:org.altlinux.errata:def:20222906",
"Version": "oval:org.altlinux.errata:def:20222906",
"Class": "patch",
"Metadata": {
"Title": "ALT-PU-2022-2906: package `git` update to version 2.33.5-alt1",
"AffectedList": [
{
"Family": "unix",
"Platforms": [
"ALT Linux branch c10f1"
],
"Products": [
"ALT SP Workstation",
"ALT SP Server"
]
}
],
"References": [
{
"RefID": "ALT-PU-2022-2906",
"RefURL": "https://errata.altlinux.org/ALT-PU-2022-2906",
"Source": "ALTPU"
},
{
"RefID": "BDU:2022-04385",
"RefURL": "https://bdu.fstec.ru/vul/2022-04385",
"Source": "BDU"
},
{
"RefID": "CVE-2022-29187",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2022-29187",
"Source": "CVE"
},
{
"RefID": "CVE-2022-39253",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2022-39253",
"Source": "CVE"
},
{
"RefID": "CVE-2022-39260",
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2022-39260",
"Source": "CVE"
}
],
"Description": "This update upgrades git to version 2.33.5-alt1. \nSecurity Fix(es):\n\n * BDU:2022-04385: Уязвимость распределенной системы управления версиями Git, связанная с недостатками разграничения доступа, позволяющая нарушителю повысить свои привилегии или выполнить произвольные команды\n\n * CVE-2022-29187: Git is a distributed revision control system. Git prior to versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5, is vulnerable to privilege escalation in all platforms. An unsuspecting user could still be affected by the issue reported in CVE-2022-24765, for example when navigating as root into a shared tmp directory that is owned by them, but where an attacker could create a git repository. Versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5 contain a patch for this issue. The simplest way to avoid being affected by the exploit described in the example is to avoid running git as root (or an Administrator in Windows), and if needed to reduce its use to a minimum. While a generic workaround is not possible, a system could be hardened from the exploit described in the example by removing any such repository if it exists already and creating one as root to block any future attacks.\n\n * CVE-2022-39253: Git is an open source, scalable, distributed revision control system. Versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 are subject to exposure of sensitive information to a malicious actor. When performing a local clone (where the source and target of the clone are on the same volume), Git copies the contents of the source's `$GIT_DIR/objects` directory into the destination by either creating hardlinks to the source contents, or copying them (if hardlinks are disabled via `--no-hardlinks`). A malicious actor could convince a victim to clone a repository with a symbolic link pointing at sensitive information on the victim's machine. This can be done either by having the victim clone a malicious repository on the same machine, or having them clone a malicious repository embedded as a bare repository via a submodule from any source, provided they clone with the `--recurse-submodules` option. Git does not create symbolic links in the `$GIT_DIR/objects` directory. The problem has been patched in the versions published on 2022-10-18, and backported to v2.30.x. Potential workarounds: Avoid cloning untrusted repositories using the `--local` optimization when on a shared machine, either by passing the `--no-local` option to `git clone` or cloning from a URL that uses the `file://` scheme. Alternatively, avoid cloning repositories from untrusted sources with `--recurse-submodules` or run `git config --global protocol.file.allow user`.\n\n * CVE-2022-39260: Git is an open source, scalable, distributed revision control system. `git shell` is a restricted login shell that can be used to implement Git's push/pull functionality via SSH. In versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4, the function that splits the command arguments into an array improperly uses an `int` to represent the number of entries in the array, allowing a malicious actor to intentionally overflow the return value, leading to arbitrary heap writes. Because the resulting array is then passed to `execv()`, it is possible to leverage this attack to gain remote code execution on a victim machine. Note that a victim must first allow access to `git shell` as a login shell in order to be vulnerable to this attack. This problem is patched in versions 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 and users are advised to upgrade to the latest version. Disabling `git shell` access via remote logins is a viable short-term workaround.",
"Advisory": {
"From": "errata.altlinux.org",
"Severity": "High",
"Rights": "Copyright 2024 BaseALT Ltd.",
"Issued": {
"Date": "2022-10-22"
},
"Updated": {
"Date": "2022-10-22"
},
"BDUs": [
{
"ID": "BDU:2022-04385",
"CVSS": "AV:L/AC:L/Au:S/C:C/I:C/A:P",
"CVSS3": "AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"CWE": "CWE-282, CWE-427",
"Href": "https://bdu.fstec.ru/vul/2022-04385",
"Impact": "High",
"Public": "20220712"
}
],
"CVEs": [
{
"ID": "CVE-2022-29187",
"CVSS": "AV:L/AC:M/Au:N/C:C/I:C/A:C",
"CVSS3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"CWE": "CWE-427",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2022-29187",
"Impact": "High",
"Public": "20220712"
},
{
"ID": "CVE-2022-39253",
"CVSS3": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
"CWE": "CWE-59",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2022-39253",
"Impact": "Low",
"Public": "20221019"
},
{
"ID": "CVE-2022-39260",
"CVSS3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"CWE": "CWE-787",
"Href": "https://nvd.nist.gov/vuln/detail/CVE-2022-39260",
"Impact": "High",
"Public": "20221019"
}
],
"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:20222906001",
"Comment": "git is earlier than 0:2.33.5-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20222906002",
"Comment": "git-arch is earlier than 0:2.33.5-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20222906003",
"Comment": "git-contrib is earlier than 0:2.33.5-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20222906004",
"Comment": "git-core is earlier than 0:2.33.5-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20222906005",
"Comment": "git-cvs is earlier than 0:2.33.5-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20222906006",
"Comment": "git-diff-highlight is earlier than 0:2.33.5-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20222906007",
"Comment": "git-doc is earlier than 0:2.33.5-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20222906008",
"Comment": "git-email is earlier than 0:2.33.5-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20222906009",
"Comment": "git-full is earlier than 0:2.33.5-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20222906010",
"Comment": "git-gui is earlier than 0:2.33.5-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20222906011",
"Comment": "git-server is earlier than 0:2.33.5-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20222906012",
"Comment": "git-subtree is earlier than 0:2.33.5-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20222906013",
"Comment": "git-svn is earlier than 0:2.33.5-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20222906014",
"Comment": "gitk is earlier than 0:2.33.5-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20222906015",
"Comment": "gitweb is earlier than 0:2.33.5-alt1"
},
{
"TestRef": "oval:org.altlinux.errata:tst:20222906016",
"Comment": "perl-Git is earlier than 0:2.33.5-alt1"
}
]
}
]
}
}
]
}