p PatchFirst

SUSE-SU-2025:20721-1

SUSE-SU-2025:20721-1 · SUSE Linux Micro 6.0 security update: git

Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • git SUSE Linux Micro 6.0Update to 2.51.0-1.1

Check the installed version:

rpm -q git

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from the distribution’s bulletin. Check the original advisory before installing the update.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

This update for git fixes the following issues:

  • Update to 2.51.0
  • UI, Workflows & Features
  • Userdiff patterns for the R language have been added.
  • Documentation for "git send-email" has been updated with a bit more credential helper and OAuth information.
  • "git cat-file --batch" learns to understand %(objectmode) atom to allow the caller to tell missing objects (due to repository corruption) and submodules (whose commit objects are OK to be missing) apart.
  • "git diff --no-index dirA dirB" can limit the comparison with pathspec at the end of the command line, just like normal "git diff".
  • "git subtree" (in contrib/) learned to grok GPG signing its commits.
  • "git whatchanged" that is longer to type than "git log --raw" which is its modern rough equivalent has outlived its usefulness more than 10 years ago. Plan to deprecate and remove it.
  • An interchange format for stash entries is defined, and subcommand of "git stash" to import/export has been added.
  • "git merge/pull" has been taught the "--compact-summary" option to use the compact-summary format, intead of diffstat, when showing the summary of the incoming changes.
  • "git imap-send" has been broken for a long time, which has been resurrected and then taught to talk OAuth2.0 etc.
  • Some error messages from "git imap-send" has been updated.
  • When "git daemon" sees a signal while attempting to accept() a new client, instead of retrying, it skipped it by mistake, which has been corrected.
  • The reftable ref backend has matured enough; Git 3.0 will make it the default format in a newly created repositories by default.
  • "netrc" credential helper has been improved to understand textual service names (like smtp) in addition to the numeric port numbers (like 25).
  • Lift the limitation to use changed-path filter in "git log" so that it can be used for a pathspec with multiple literal paths.
  • Clean up the way how signature on commit objects are exported to and imported from fast-import stream.
  • Remove unsupported, unused, and unsupportable old option from "git log".
  • Document recently added "git imap-send --list" with an example.
  • "git pull" learned to pay attention to pull.autostash configuration variable, which overrides rebase/merge.autostash.
  • "git for-each-ref" learns "--start-after" option to help applications that want to page its output.
  • "git switch" and "git restore" are declared to be no longer experimental.
  • "git -c alias.foo=bar foo -h baz" reported "'foo' is aliased to 'bar'" and then went on to run "git foo -h baz", which was unexpected. Tighten the rule so that alias expansion is reported only when "-h" is the sole option.
  • Performance, Internal Implementation, Development Support etc.
  • "git pack-objects" learned to find delta bases from blobs at the same path, using the --path-walk API.
  • CodingGuidelines update.
  • Add settings for Solaris 10 & 11.
  • Meson-based build/test framework now understands TAP output generated by our tests.
  • "Do not explicitly initialize to zero" rule has been clarified in the CodingGuidelines document.
  • A test helper "test_seq" function learned the "-f <fmt>" option, which allowed us to simplify a lot of test scripts.
  • A lot of stale stuff has been removed from the contrib/ hierarchy.
  • "git push" and "git fetch" are taught to update refs in batches to gain performance.
  • Some code paths in "git prune" used to ignore the passed-in repository object and used the `the_repository` singleton instance instead, which has been corrected.
  • Update ".clang-format" and ".editorconfig" to match our style guide a bit better.
  • "make coccicheck" succeeds even when spatch made suggestions, which has been updated to fail in such a case.
  • Code clean-up around object access API.
  • Define .precision to more canned parse-options type to avoid bugs coming from using a variable with a wrong type to capture the parsed values.
  • Flipping the default hash function to SHA-256 at Git 3.0 boundary is planned.
  • Declare weather-balloon we raised for "bool" type 18 months ago a success and officially allow using the type in our codebase.
  • GIT_TEST_INSTALLED was not honored in the recent topic related to SHA256 hashes, which has been corrected.
  • The pop_most_recent_commit() function can have quite expensive worst case performance characteristics, which has been optimized by using prio-queue data structure.
  • Move structure definition from unrelated header file to where it belongs.
  • To help our developers, document what C99 language features are being considered for adoption, in addition to what past experiments have already decided.
  • The reftable unit tests are now ported to the "clar" unit testing framework.
  • Redefine where the multi-pack-index sits in the object subsystem, which recently was restructured to allow multiple backends that support a single object source that belongs to one repository. A MIDX does span multiple "object sources".
  • Reduce implicit assumption and dependence on the_repository in the object-file subsystem.
  • Fixes since v2.50 Unless otherwise noted, all the changes in 2.50.X maintenance track, including security updates, are included in this release.
  • A memory-leak in an error code path has been plugged.
  • Some leftover references to documentation source files that no longer exist, due to recent ".txt" -> ".adoc" renaming, have been corrected.
  • "git stash -p <pathspec>" improvements.
  • "git send-email" incremented its internal message counter when a message was edited, which made logic that treats the first message specially misbehave, which has been corrected.
  • "git stash" recorded a wrong branch name when submodules are present in the current checkout, which has been corrected.
  • When asking to apply mailmap to both author and committer field while showing a commit object, the field that appears later was not correctly parsed and replaced, which has been corrected.
  • "git maintenance" lacked the care "git gc" had to avoid holding onto the repository lock for too long during packing refs, which has been remedied.
  • Avoid regexp_constraint and instead use comparison_constraint when listing functions to exclude from application of coccinelle rules, as spatch can be built with different regexp engine X-<.
  • Updating submodules from the upstream did not work well when submodule's HEAD is detached, which has been improved.
  • Remove unnecessary check from "git daemon" code. (merge 0c856224d2 cb/daemon-fd-check-fix later to maint).
  • Use of sysctl() system call to learn the total RAM size used on BSDs has been corrected.
  • Drop FreeBSD 4 support and declare that we support only FreeBSD 12 or later, which has memmem() supported.
  • A diff-filter with negative-only specification like "git log --diff-filter=d" did not trigger correctly, which has been fixed.
  • A failure to open the index file for writing due to conflicting access did not state what went wrong, which has been corrected.
  • Tempfile removal fix in the codepath to sign commits with SSH keys.
  • Code and test clean-up around string-list API.
  • "git apply -N" should start from the current index and register only new files, but it instead started from an empty index, which has been corrected.
  • Leakfix with a new and a bit invasive test on
Published
Updated

Vulnerabilities closed

Stack: system

Updated packages and versions

  • git SUSE Linux Micro 6.0

    Affected ranges
    • ECOSYSTEM: < 2.51.0-1.1

    Update to 2.51.0-1.1

Original sources

Check your server →