git: Fix of 6 CVEs
- CVE-2022-41903: fix out-of-bounds write caused by integer overflow - CVE-2021-40330: forbid newlines in host and path - CVE-2022-39260: reject too long command line strings - CVE-2021-23521: implement size checks for .gitattributes - CVE-2023-22490: prevent arbitrary path exfiltration when using non-local transports - CVE-2023-23946: prevent git-apply from writing behind newly created symbolic links
- Products
- git, git-all, git-core, git-core-doc, git-credential-libsecret, git-daemon, git-email, git-gui, git-instaweb, git-subtree, git-svn, gitk, gitweb, perl-Git, perl-Git-SVN
- Affected versions
- Not specified
- Fixed versions
- 2.27.0-1.el8.tuxcare.els1
- CVEs
- CVE-2021-23521, CVE-2021-40330, CVE-2022-39260, CVE-2022-41903, CVE-2023-22490, CVE-2023-23946
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 14:08 UTC · Revision 1
Source evidence
- CVE-2022-41903: fix out-of-bounds write caused by integer overflow - CVE-2021-40330: forbid newlines in host and path - CVE-2022-39260: reject too long command line strings - CVE-2021-23521: implement size checks for .gitattributes - CVE-2023-22490: prevent arbitrary path exfiltration when using non-local transports - CVE-2023-23946: prevent git-apply from writing behind newly created symbolic links
osv:CLSA-2023-1677095961
git
Fixed versions: 2.27.0-1.el8.tuxcare.els1
git-all
Fixed versions: 2.27.0-1.el8.tuxcare.els1
git-core
Fixed versions: 2.27.0-1.el8.tuxcare.els1
git-core-doc
Fixed versions: 2.27.0-1.el8.tuxcare.els1
git-credential-libsecret
Fixed versions: 2.27.0-1.el8.tuxcare.els1
git-daemon
Fixed versions: 2.27.0-1.el8.tuxcare.els1
git-email
Fixed versions: 2.27.0-1.el8.tuxcare.els1
git-gui
Fixed versions: 2.27.0-1.el8.tuxcare.els1
git-instaweb
Fixed versions: 2.27.0-1.el8.tuxcare.els1
git-subtree
Fixed versions: 2.27.0-1.el8.tuxcare.els1
git-svn
Fixed versions: 2.27.0-1.el8.tuxcare.els1
gitk
Fixed versions: 2.27.0-1.el8.tuxcare.els1
gitweb
Fixed versions: 2.27.0-1.el8.tuxcare.els1
perl-Git
Fixed versions: 2.27.0-1.el8.tuxcare.els1
perl-Git-SVN
Fixed versions: 2.27.0-1.el8.tuxcare.els1
Complete source record
{
"id": "da0e9773dfc1fd817a7066fe5eecb38d2cfb728cba924c114f25c1c50b77168b",
"url": "https://osv.dev/vulnerability/CLSA-2023-1677095961",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "git: Fix of 6 CVEs",
"summary": "- CVE-2022-41903: fix out-of-bounds write caused by integer overflow - CVE-2021-40330: forbid newlines in host and path - CVE-2022-39260: reject too long command line strings - CVE-2021-23521: implement size checks for .gitattributes - CVE-2023-22490: prevent arbitrary path exfiltration when using non-local transports - CVE-2023-23946: prevent git-apply from writing behind newly created symbolic links",
"evidence": "osv:CLSA-2023-1677095961",
"products": [
{
"name": {
"value": "git",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.27.0-1.el8.tuxcare.els1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "git-all",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.27.0-1.el8.tuxcare.els1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "git-core",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.27.0-1.el8.tuxcare.els1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "git-core-doc",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.27.0-1.el8.tuxcare.els1",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "git-credential-libsecret",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.27.0-1.el8.tuxcare.els1",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "git-daemon",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.27.0-1.el8.tuxcare.els1",
"evidence": "/affected/5/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "git-email",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.27.0-1.el8.tuxcare.els1",
"evidence": "/affected/6/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "git-gui",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.27.0-1.el8.tuxcare.els1",
"evidence": "/affected/7/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "git-instaweb",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.27.0-1.el8.tuxcare.els1",
"evidence": "/affected/8/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "git-subtree",
"evidence": "/affected/9/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.27.0-1.el8.tuxcare.els1",
"evidence": "/affected/9/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "git-svn",
"evidence": "/affected/10/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.27.0-1.el8.tuxcare.els1",
"evidence": "/affected/10/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "gitk",
"evidence": "/affected/11/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.27.0-1.el8.tuxcare.els1",
"evidence": "/affected/11/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "gitweb",
"evidence": "/affected/12/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.27.0-1.el8.tuxcare.els1",
"evidence": "/affected/12/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "perl-Git",
"evidence": "/affected/13/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.27.0-1.el8.tuxcare.els1",
"evidence": "/affected/13/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "perl-Git-SVN",
"evidence": "/affected/14/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.27.0-1.el8.tuxcare.els1",
"evidence": "/affected/14/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CLSA-2023-1677095961",
"aliases": [
"CLSA-2023-1677095961"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27.0-1.el8.tuxcare.els1"
}
]
}
],
"package": {
"name": "git",
"purl": "pkg:rpm/tuxcare/git?distro=centos-8.5",
"ecosystem": "TuxCare:CentOS:8.5"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.5els/CLSA-2023-1677095961.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27.0-1.el8.tuxcare.els1"
}
]
}
],
"package": {
"name": "git-all",
"purl": "pkg:rpm/tuxcare/git-all?distro=centos-8.5",
"ecosystem": "TuxCare:CentOS:8.5"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.5els/CLSA-2023-1677095961.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27.0-1.el8.tuxcare.els1"
}
]
}
],
"package": {
"name": "git-core",
"purl": "pkg:rpm/tuxcare/git-core?distro=centos-8.5",
"ecosystem": "TuxCare:CentOS:8.5"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.5els/CLSA-2023-1677095961.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27.0-1.el8.tuxcare.els1"
}
]
}
],
"package": {
"name": "git-core-doc",
"purl": "pkg:rpm/tuxcare/git-core-doc?distro=centos-8.5",
"ecosystem": "TuxCare:CentOS:8.5"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.5els/CLSA-2023-1677095961.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27.0-1.el8.tuxcare.els1"
}
]
}
],
"package": {
"name": "git-credential-libsecret",
"purl": "pkg:rpm/tuxcare/git-credential-libsecret?distro=centos-8.5",
"ecosystem": "TuxCare:CentOS:8.5"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.5els/CLSA-2023-1677095961.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27.0-1.el8.tuxcare.els1"
}
]
}
],
"package": {
"name": "git-daemon",
"purl": "pkg:rpm/tuxcare/git-daemon?distro=centos-8.5",
"ecosystem": "TuxCare:CentOS:8.5"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.5els/CLSA-2023-1677095961.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27.0-1.el8.tuxcare.els1"
}
]
}
],
"package": {
"name": "git-email",
"purl": "pkg:rpm/tuxcare/git-email?distro=centos-8.5",
"ecosystem": "TuxCare:CentOS:8.5"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.5els/CLSA-2023-1677095961.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27.0-1.el8.tuxcare.els1"
}
]
}
],
"package": {
"name": "git-gui",
"purl": "pkg:rpm/tuxcare/git-gui?distro=centos-8.5",
"ecosystem": "TuxCare:CentOS:8.5"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.5els/CLSA-2023-1677095961.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27.0-1.el8.tuxcare.els1"
}
]
}
],
"package": {
"name": "git-instaweb",
"purl": "pkg:rpm/tuxcare/git-instaweb?distro=centos-8.5",
"ecosystem": "TuxCare:CentOS:8.5"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.5els/CLSA-2023-1677095961.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27.0-1.el8.tuxcare.els1"
}
]
}
],
"package": {
"name": "git-subtree",
"purl": "pkg:rpm/tuxcare/git-subtree?distro=centos-8.5",
"ecosystem": "TuxCare:CentOS:8.5"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.5els/CLSA-2023-1677095961.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27.0-1.el8.tuxcare.els1"
}
]
}
],
"package": {
"name": "git-svn",
"purl": "pkg:rpm/tuxcare/git-svn?distro=centos-8.5",
"ecosystem": "TuxCare:CentOS:8.5"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.5els/CLSA-2023-1677095961.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27.0-1.el8.tuxcare.els1"
}
]
}
],
"package": {
"name": "gitk",
"purl": "pkg:rpm/tuxcare/gitk?distro=centos-8.5",
"ecosystem": "TuxCare:CentOS:8.5"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.5els/CLSA-2023-1677095961.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27.0-1.el8.tuxcare.els1"
}
]
}
],
"package": {
"name": "gitweb",
"purl": "pkg:rpm/tuxcare/gitweb?distro=centos-8.5",
"ecosystem": "TuxCare:CentOS:8.5"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.5els/CLSA-2023-1677095961.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27.0-1.el8.tuxcare.els1"
}
]
}
],
"package": {
"name": "perl-Git",
"purl": "pkg:rpm/tuxcare/perl-Git?distro=centos-8.5",
"ecosystem": "TuxCare:CentOS:8.5"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.5els/CLSA-2023-1677095961.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27.0-1.el8.tuxcare.els1"
}
]
}
],
"package": {
"name": "perl-Git-SVN",
"purl": "pkg:rpm/tuxcare/perl-Git-SVN?distro=centos-8.5",
"ecosystem": "TuxCare:CentOS:8.5"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.5els/CLSA-2023-1677095961.json"
}
}
],
"modified": "2026-10-21T10:48:24.038518896Z",
"provider": "osv",
"upstream": [
"CVE-2021-23521",
"CVE-2021-40330",
"CVE-2022-39260",
"CVE-2022-41903",
"CVE-2023-22490",
"CVE-2023-23946"
],
"references": [
"https://errata.cloudlinux.com/centos8.5-els/CLSA-2023-1677095961.html"
]
},
"related_cves": [
{
"value": "CVE-2021-23521",
"evidence": "/upstream"
},
{
"value": "CVE-2021-40330",
"evidence": "/upstream"
},
{
"value": "CVE-2022-39260",
"evidence": "/upstream"
},
{
"value": "CVE-2022-41903",
"evidence": "/upstream"
},
{
"value": "CVE-2023-22490",
"evidence": "/upstream"
},
{
"value": "CVE-2023-23946",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 392958,
"published_at": "2023-02-22T19:59:21+00:00"
}