OESA-2025-1792

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2025-1792
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2025-1792.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2025-1792
Upstream
Published
2025-07-11T12:22:49Z
Modified
2025-08-12T05:51:20.424135Z
Summary
git security update
Details

Security Fix(es):

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.(CVE-2025-48384)

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. The wincred credential helper uses a static buffer (target) as a unique key for storing and comparing against internal storage. This credential helper does not properly bounds check the available space remaining in the buffer before appending to it with wcsncat(), leading to potential buffer overflows. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.(CVE-2025-48386)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP4 / git

Package

Name
git
Purl
pkg:rpm/openEuler/git&distro=openEuler-20.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.27.0-24.oe2003sp4

Ecosystem specific

{
    "aarch64": [
        "git-2.27.0-24.oe2003sp4.aarch64.rpm",
        "git-daemon-2.27.0-24.oe2003sp4.aarch64.rpm",
        "git-debuginfo-2.27.0-24.oe2003sp4.aarch64.rpm",
        "git-debugsource-2.27.0-24.oe2003sp4.aarch64.rpm"
    ],
    "x86_64": [
        "git-2.27.0-24.oe2003sp4.x86_64.rpm",
        "git-daemon-2.27.0-24.oe2003sp4.x86_64.rpm",
        "git-debuginfo-2.27.0-24.oe2003sp4.x86_64.rpm",
        "git-debugsource-2.27.0-24.oe2003sp4.x86_64.rpm"
    ],
    "src": [
        "git-2.27.0-24.oe2003sp4.src.rpm"
    ],
    "noarch": [
        "git-email-2.27.0-24.oe2003sp4.noarch.rpm",
        "git-gui-2.27.0-24.oe2003sp4.noarch.rpm",
        "git-help-2.27.0-24.oe2003sp4.noarch.rpm",
        "git-svn-2.27.0-24.oe2003sp4.noarch.rpm",
        "git-web-2.27.0-24.oe2003sp4.noarch.rpm",
        "gitk-2.27.0-24.oe2003sp4.noarch.rpm",
        "perl-Git-2.27.0-24.oe2003sp4.noarch.rpm",
        "perl-Git-SVN-2.27.0-24.oe2003sp4.noarch.rpm"
    ]
}