suse-su-2024:3748-1
Vulnerability from csaf_suse
Published
2024-10-23 11:33
Modified
2024-10-23 11:33
Summary
Security update for cargo-c

Notes

Title of the patch
Security update for cargo-c
Description of the patch
This update for cargo-c fixes the following issues: Security fixes: - CVE-2024-45405: Fixed gix-path improper path resolution (bsc#1230683) Other fixes: - Update to version 0.10.3~git0.ee7d7ef:
Patchnames
SUSE-2024-3748,openSUSE-SLE-15.6-2024-3748
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).



{
  "document": {
    "aggregate_severity": {
      "namespace": "https://www.suse.com/support/security/rating/",
      "text": "moderate"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright 2024 SUSE LLC. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "Security update for cargo-c",
        "title": "Title of the patch"
      },
      {
        "category": "description",
        "text": "This update for cargo-c fixes the following issues:\n\nSecurity fixes:\n\n- CVE-2024-45405: Fixed gix-path improper path resolution (bsc#1230683)\n\nOther fixes:\n\n- Update to version 0.10.3~git0.ee7d7ef:\n",
        "title": "Description of the patch"
      },
      {
        "category": "details",
        "text": "SUSE-2024-3748,openSUSE-SLE-15.6-2024-3748",
        "title": "Patchnames"
      },
      {
        "category": "legal_disclaimer",
        "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
        "title": "Terms of use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://www.suse.com/support/security/contact/",
      "name": "SUSE Product Security Team",
      "namespace": "https://www.suse.com/"
    },
    "references": [
      {
        "category": "external",
        "summary": "SUSE ratings",
        "url": "https://www.suse.com/support/security/rating/"
      },
      {
        "category": "self",
        "summary": "URL of this CSAF notice",
        "url": "https://ftp.suse.com/pub/projects/security/csaf/suse-su-2024_3748-1.json"
      },
      {
        "category": "self",
        "summary": "URL for SUSE-SU-2024:3748-1",
        "url": "https://www.suse.com/support/update/announcement/2024/suse-su-20243748-1/"
      },
      {
        "category": "self",
        "summary": "E-Mail link for SUSE-SU-2024:3748-1",
        "url": "https://lists.suse.com/pipermail/sle-security-updates/2024-October/019669.html"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1230683",
        "url": "https://bugzilla.suse.com/1230683"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2024-45405 page",
        "url": "https://www.suse.com/security/cve/CVE-2024-45405/"
      }
    ],
    "title": "Security update for cargo-c",
    "tracking": {
      "current_release_date": "2024-10-23T11:33:35Z",
      "generator": {
        "date": "2024-10-23T11:33:35Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "SUSE-SU-2024:3748-1",
      "initial_release_date": "2024-10-23T11:33:35Z",
      "revision_history": [
        {
          "date": "2024-10-23T11:33:35Z",
          "number": "1",
          "summary": "Current version"
        }
      ],
      "status": "final",
      "version": "1"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.aarch64",
                "product": {
                  "name": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.aarch64",
                  "product_id": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.aarch64"
                }
              }
            ],
            "category": "architecture",
            "name": "aarch64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.i586",
                "product": {
                  "name": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.i586",
                  "product_id": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.i586"
                }
              }
            ],
            "category": "architecture",
            "name": "i586"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.ppc64le",
                "product": {
                  "name": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.ppc64le",
                  "product_id": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.ppc64le"
                }
              }
            ],
            "category": "architecture",
            "name": "ppc64le"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.s390x",
                "product": {
                  "name": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.s390x",
                  "product_id": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.s390x"
                }
              }
            ],
            "category": "architecture",
            "name": "s390x"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.x86_64",
                "product": {
                  "name": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.x86_64",
                  "product_id": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.x86_64"
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "openSUSE Leap 15.6",
                "product": {
                  "name": "openSUSE Leap 15.6",
                  "product_id": "openSUSE Leap 15.6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:opensuse:leap:15.6"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "SUSE Linux Enterprise"
          }
        ],
        "category": "vendor",
        "name": "SUSE"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.aarch64 as component of openSUSE Leap 15.6",
          "product_id": "openSUSE Leap 15.6:cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.aarch64"
        },
        "product_reference": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.aarch64",
        "relates_to_product_reference": "openSUSE Leap 15.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.ppc64le as component of openSUSE Leap 15.6",
          "product_id": "openSUSE Leap 15.6:cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.ppc64le"
        },
        "product_reference": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.ppc64le",
        "relates_to_product_reference": "openSUSE Leap 15.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.s390x as component of openSUSE Leap 15.6",
          "product_id": "openSUSE Leap 15.6:cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.s390x"
        },
        "product_reference": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.s390x",
        "relates_to_product_reference": "openSUSE Leap 15.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.x86_64 as component of openSUSE Leap 15.6",
          "product_id": "openSUSE Leap 15.6:cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.x86_64"
        },
        "product_reference": "cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 15.6"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2024-45405",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2024-45405"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "`gix-path` is a crate of the `gitoxide` project (an implementation of `git` written in Rust) dealing paths and their conversions. Prior to version 0.10.11, `gix-path` runs `git` to find the path of a configuration file associated with the `git` installation, but improperly resolves paths containing unusual or non-ASCII characters, in rare cases enabling a local attacker to inject configuration leading to code execution. Version 0.10.11 contains a patch for the issue.\n\nIn `gix_path::env`, the underlying implementation of the `installation_config` and `installation_config_prefix` functions calls `git config -l --show-origin` to find the path of a file to treat as belonging to the `git` installation. Affected versions of `gix-path` do not pass `-z`/`--null` to cause `git` to report literal paths. Instead, to cover the occasional case that `git` outputs a quoted path, they attempt to parse the path by stripping the quotation marks. The problem is that, when a path is quoted, it may change in substantial ways beyond the concatenation of quotation marks. If not reversed, these changes can result in another valid path that is not equivalent to the original.\n\nOn a single-user system, it is not possible to exploit this, unless `GIT_CONFIG_SYSTEM` and `GIT_CONFIG_GLOBAL` have been set to unusual values or Git has been installed in an unusual way. Such a scenario is not expected. Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. In general, exploitation is more likely to succeed if users are expected to install `git` themselves, and are likely to do so in predictable locations; locations where `git` is installed, whether due to usernames in their paths or otherwise, contain characters that `git` quotes by default in paths, such as non-English letters and accented letters; a custom `system`-scope configuration file is specified with the `GIT_CONFIG_SYSTEM` environment variable, and its path is in an unusual location or has strangely named components; or a `system`-scope configuration file is absent, empty, or suppressed by means other than `GIT_CONFIG_NOSYSTEM`. Currently, `gix-path` can treat a `global`-scope configuration file as belonging to the installation if no higher scope configuration file is available. This increases the likelihood of exploitation even on a system where `git` is installed system-wide in an ordinary way. However, exploitation is expected to be very difficult even under any combination of those factors.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "openSUSE Leap 15.6:cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.aarch64",
          "openSUSE Leap 15.6:cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.ppc64le",
          "openSUSE Leap 15.6:cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.s390x",
          "openSUSE Leap 15.6:cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.x86_64"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2024-45405",
          "url": "https://www.suse.com/security/cve/CVE-2024-45405"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1230682 for CVE-2024-45405",
          "url": "https://bugzilla.suse.com/1230682"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "openSUSE Leap 15.6:cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.aarch64",
            "openSUSE Leap 15.6:cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.ppc64le",
            "openSUSE Leap 15.6:cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.s390x",
            "openSUSE Leap 15.6:cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 5.6,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N",
            "version": "3.1"
          },
          "products": [
            "openSUSE Leap 15.6:cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.aarch64",
            "openSUSE Leap 15.6:cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.ppc64le",
            "openSUSE Leap 15.6:cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.s390x",
            "openSUSE Leap 15.6:cargo-c-0.10.3~git0.ee7d7ef-150600.3.3.1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2024-10-23T11:33:35Z",
          "details": "moderate"
        }
      ],
      "title": "CVE-2024-45405"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…