161 lines
7.0 KiB
JSON
161 lines
7.0 KiB
JSON
{
|
||
"Definition": [
|
||
{
|
||
"ID": "oval:org.altlinux.errata:def:20221718",
|
||
"Version": "oval:org.altlinux.errata:def:20221718",
|
||
"Class": "patch",
|
||
"Metadata": {
|
||
"Title": "ALT-PU-2022-1718: package `git` update to version 2.33.2-alt1",
|
||
"AffectedList": [
|
||
{
|
||
"Family": "unix",
|
||
"Platforms": [
|
||
"ALT Linux branch c10f1"
|
||
],
|
||
"Products": [
|
||
"ALT SP Workstation",
|
||
"ALT SP Server"
|
||
]
|
||
}
|
||
],
|
||
"References": [
|
||
{
|
||
"RefID": "ALT-PU-2022-1718",
|
||
"RefURL": "https://errata.altlinux.org/ALT-PU-2022-1718",
|
||
"Source": "ALTPU"
|
||
},
|
||
{
|
||
"RefID": "BDU:2022-02723",
|
||
"RefURL": "https://bdu.fstec.ru/vul/2022-02723",
|
||
"Source": "BDU"
|
||
},
|
||
{
|
||
"RefID": "CVE-2022-24765",
|
||
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2022-24765",
|
||
"Source": "CVE"
|
||
}
|
||
],
|
||
"Description": "This update upgrades git to version 2.33.2-alt1. \nSecurity Fix(es):\n\n * BDU:2022-02723: Уязвимость распределенной системы управления версиями Git, связанная с недостатками разграничения доступа, позволяющая нарушителю повысить свои привилегии или выполнить произвольные команды\n\n * CVE-2022-24765: Git for Windows is a fork of Git containing Windows-specific patches. This vulnerability affects users working on multi-user machines, where untrusted parties have write access to the same hard disk. Those untrusted parties could create the folder `C:\\.git`, which would be picked up by Git operations run supposedly outside a repository while searching for a Git directory. Git would then respect any config in said Git directory. Git Bash users who set `GIT_PS1_SHOWDIRTYSTATE` are vulnerable as well. Users who installed posh-gitare vulnerable simply by starting a PowerShell. Users of IDEs such as Visual Studio are vulnerable: simply creating a new project would already read and respect the config specified in `C:\\.git\\config`. Users of the Microsoft fork of Git are vulnerable simply by starting a Git Bash. The problem has been patched in Git for Windows v2.35.2. Users unable to upgrade may create the folder `.git` on all drives where Git commands are run, and remove read/write access from those folders as a workaround. Alternatively, define or extend `GIT_CEILING_DIRECTORIES` to cover the _parent_ directory of the user profile, e.g. `C:\\Users` if the user profile is located in `C:\\Users\\my-user-name`.",
|
||
"Advisory": {
|
||
"From": "errata.altlinux.org",
|
||
"Severity": "High",
|
||
"Rights": "Copyright 2024 BaseALT Ltd.",
|
||
"Issued": {
|
||
"Date": "2022-04-19"
|
||
},
|
||
"Updated": {
|
||
"Date": "2022-04-19"
|
||
},
|
||
"BDUs": [
|
||
{
|
||
"ID": "BDU:2022-02723",
|
||
"CVSS": "AV:L/AC:M/Au:N/C:C/I:C/A:C",
|
||
"CVSS3": "AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N",
|
||
"CWE": "CWE-284, CWE-427",
|
||
"Href": "https://bdu.fstec.ru/vul/2022-02723",
|
||
"Impact": "Low",
|
||
"Public": "20220412"
|
||
}
|
||
],
|
||
"CVEs": [
|
||
{
|
||
"ID": "CVE-2022-24765",
|
||
"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-24765",
|
||
"Impact": "High",
|
||
"Public": "20220412"
|
||
}
|
||
],
|
||
"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:20221718001",
|
||
"Comment": "git is earlier than 0:2.33.2-alt1"
|
||
},
|
||
{
|
||
"TestRef": "oval:org.altlinux.errata:tst:20221718002",
|
||
"Comment": "git-arch is earlier than 0:2.33.2-alt1"
|
||
},
|
||
{
|
||
"TestRef": "oval:org.altlinux.errata:tst:20221718003",
|
||
"Comment": "git-contrib is earlier than 0:2.33.2-alt1"
|
||
},
|
||
{
|
||
"TestRef": "oval:org.altlinux.errata:tst:20221718004",
|
||
"Comment": "git-core is earlier than 0:2.33.2-alt1"
|
||
},
|
||
{
|
||
"TestRef": "oval:org.altlinux.errata:tst:20221718005",
|
||
"Comment": "git-cvs is earlier than 0:2.33.2-alt1"
|
||
},
|
||
{
|
||
"TestRef": "oval:org.altlinux.errata:tst:20221718006",
|
||
"Comment": "git-diff-highlight is earlier than 0:2.33.2-alt1"
|
||
},
|
||
{
|
||
"TestRef": "oval:org.altlinux.errata:tst:20221718007",
|
||
"Comment": "git-doc is earlier than 0:2.33.2-alt1"
|
||
},
|
||
{
|
||
"TestRef": "oval:org.altlinux.errata:tst:20221718008",
|
||
"Comment": "git-email is earlier than 0:2.33.2-alt1"
|
||
},
|
||
{
|
||
"TestRef": "oval:org.altlinux.errata:tst:20221718009",
|
||
"Comment": "git-full is earlier than 0:2.33.2-alt1"
|
||
},
|
||
{
|
||
"TestRef": "oval:org.altlinux.errata:tst:20221718010",
|
||
"Comment": "git-gui is earlier than 0:2.33.2-alt1"
|
||
},
|
||
{
|
||
"TestRef": "oval:org.altlinux.errata:tst:20221718011",
|
||
"Comment": "git-server is earlier than 0:2.33.2-alt1"
|
||
},
|
||
{
|
||
"TestRef": "oval:org.altlinux.errata:tst:20221718012",
|
||
"Comment": "git-subtree is earlier than 0:2.33.2-alt1"
|
||
},
|
||
{
|
||
"TestRef": "oval:org.altlinux.errata:tst:20221718013",
|
||
"Comment": "git-svn is earlier than 0:2.33.2-alt1"
|
||
},
|
||
{
|
||
"TestRef": "oval:org.altlinux.errata:tst:20221718014",
|
||
"Comment": "gitk is earlier than 0:2.33.2-alt1"
|
||
},
|
||
{
|
||
"TestRef": "oval:org.altlinux.errata:tst:20221718015",
|
||
"Comment": "gitweb is earlier than 0:2.33.2-alt1"
|
||
},
|
||
{
|
||
"TestRef": "oval:org.altlinux.errata:tst:20221718016",
|
||
"Comment": "perl-Git is earlier than 0:2.33.2-alt1"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
}
|
||
]
|
||
} |