suse-su-2023:2203-1
Vulnerability from csaf_suse
Published
2023-05-15 10:16
Modified
2023-05-15 10:16
Summary
Security update for gradle

Notes

Title of the patch
Security update for gradle
Description of the patch
This update for gradle fixes the following issues: - CVE-2021-32751: Fixed arbitrary code execution in `application` plugin and the `gradlew` script (bsc#1188569).
Patchnames
SUSE-2023-2203,SUSE-SLE-Module-Development-Tools-15-SP4-2023-2203,SUSE-SLE-Product-RT-15-SP3-2023-2203,openSUSE-SLE-15.4-2023-2203
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 gradle",
        "title": "Title of the patch"
      },
      {
        "category": "description",
        "text": "This update for gradle fixes the following issues:\n\n- CVE-2021-32751: Fixed arbitrary code execution in `application` plugin and the `gradlew` script (bsc#1188569).\n",
        "title": "Description of the patch"
      },
      {
        "category": "details",
        "text": "SUSE-2023-2203,SUSE-SLE-Module-Development-Tools-15-SP4-2023-2203,SUSE-SLE-Product-RT-15-SP3-2023-2203,openSUSE-SLE-15.4-2023-2203",
        "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-2023_2203-1.json"
      },
      {
        "category": "self",
        "summary": "URL for SUSE-SU-2023:2203-1",
        "url": "https://www.suse.com/support/update/announcement/2023/suse-su-20232203-1/"
      },
      {
        "category": "self",
        "summary": "E-Mail link for SUSE-SU-2023:2203-1",
        "url": "https://lists.suse.com/pipermail/sle-updates/2023-May/029399.html"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1188569",
        "url": "https://bugzilla.suse.com/1188569"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2021-32751 page",
        "url": "https://www.suse.com/security/cve/CVE-2021-32751/"
      }
    ],
    "title": "Security update for gradle",
    "tracking": {
      "current_release_date": "2023-05-15T10:16:21Z",
      "generator": {
        "date": "2023-05-15T10:16:21Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "SUSE-SU-2023:2203-1",
      "initial_release_date": "2023-05-15T10:16:21Z",
      "revision_history": [
        {
          "date": "2023-05-15T10:16:21Z",
          "number": "1",
          "summary": "Current version"
        }
      ],
      "status": "final",
      "version": "1"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "gradle-4.4.1-150200.3.10.1.aarch64",
                "product": {
                  "name": "gradle-4.4.1-150200.3.10.1.aarch64",
                  "product_id": "gradle-4.4.1-150200.3.10.1.aarch64"
                }
              }
            ],
            "category": "architecture",
            "name": "aarch64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "gradle-4.4.1-150200.3.10.1.i586",
                "product": {
                  "name": "gradle-4.4.1-150200.3.10.1.i586",
                  "product_id": "gradle-4.4.1-150200.3.10.1.i586"
                }
              }
            ],
            "category": "architecture",
            "name": "i586"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "gradle-4.4.1-150200.3.10.1.ppc64le",
                "product": {
                  "name": "gradle-4.4.1-150200.3.10.1.ppc64le",
                  "product_id": "gradle-4.4.1-150200.3.10.1.ppc64le"
                }
              }
            ],
            "category": "architecture",
            "name": "ppc64le"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "gradle-4.4.1-150200.3.10.1.s390x",
                "product": {
                  "name": "gradle-4.4.1-150200.3.10.1.s390x",
                  "product_id": "gradle-4.4.1-150200.3.10.1.s390x"
                }
              }
            ],
            "category": "architecture",
            "name": "s390x"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "gradle-4.4.1-150200.3.10.1.x86_64",
                "product": {
                  "name": "gradle-4.4.1-150200.3.10.1.x86_64",
                  "product_id": "gradle-4.4.1-150200.3.10.1.x86_64"
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "SUSE Linux Enterprise Module for Development Tools 15 SP4",
                "product": {
                  "name": "SUSE Linux Enterprise Module for Development Tools 15 SP4",
                  "product_id": "SUSE Linux Enterprise Module for Development Tools 15 SP4",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:sle-module-development-tools:15:sp4"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "SUSE Linux Enterprise Real Time 15 SP3",
                "product": {
                  "name": "SUSE Linux Enterprise Real Time 15 SP3",
                  "product_id": "SUSE Linux Enterprise Real Time 15 SP3",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:sle_rt:15:sp3"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "openSUSE Leap 15.4",
                "product": {
                  "name": "openSUSE Leap 15.4",
                  "product_id": "openSUSE Leap 15.4",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:opensuse:leap:15.4"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "SUSE Linux Enterprise"
          }
        ],
        "category": "vendor",
        "name": "SUSE"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gradle-4.4.1-150200.3.10.1.aarch64 as component of SUSE Linux Enterprise Module for Development Tools 15 SP4",
          "product_id": "SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle-4.4.1-150200.3.10.1.aarch64"
        },
        "product_reference": "gradle-4.4.1-150200.3.10.1.aarch64",
        "relates_to_product_reference": "SUSE Linux Enterprise Module for Development Tools 15 SP4"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gradle-4.4.1-150200.3.10.1.ppc64le as component of SUSE Linux Enterprise Module for Development Tools 15 SP4",
          "product_id": "SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle-4.4.1-150200.3.10.1.ppc64le"
        },
        "product_reference": "gradle-4.4.1-150200.3.10.1.ppc64le",
        "relates_to_product_reference": "SUSE Linux Enterprise Module for Development Tools 15 SP4"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gradle-4.4.1-150200.3.10.1.s390x as component of SUSE Linux Enterprise Module for Development Tools 15 SP4",
          "product_id": "SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle-4.4.1-150200.3.10.1.s390x"
        },
        "product_reference": "gradle-4.4.1-150200.3.10.1.s390x",
        "relates_to_product_reference": "SUSE Linux Enterprise Module for Development Tools 15 SP4"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gradle-4.4.1-150200.3.10.1.x86_64 as component of SUSE Linux Enterprise Module for Development Tools 15 SP4",
          "product_id": "SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle-4.4.1-150200.3.10.1.x86_64"
        },
        "product_reference": "gradle-4.4.1-150200.3.10.1.x86_64",
        "relates_to_product_reference": "SUSE Linux Enterprise Module for Development Tools 15 SP4"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gradle-4.4.1-150200.3.10.1.x86_64 as component of SUSE Linux Enterprise Real Time 15 SP3",
          "product_id": "SUSE Linux Enterprise Real Time 15 SP3:gradle-4.4.1-150200.3.10.1.x86_64"
        },
        "product_reference": "gradle-4.4.1-150200.3.10.1.x86_64",
        "relates_to_product_reference": "SUSE Linux Enterprise Real Time 15 SP3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gradle-4.4.1-150200.3.10.1.aarch64 as component of openSUSE Leap 15.4",
          "product_id": "openSUSE Leap 15.4:gradle-4.4.1-150200.3.10.1.aarch64"
        },
        "product_reference": "gradle-4.4.1-150200.3.10.1.aarch64",
        "relates_to_product_reference": "openSUSE Leap 15.4"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gradle-4.4.1-150200.3.10.1.ppc64le as component of openSUSE Leap 15.4",
          "product_id": "openSUSE Leap 15.4:gradle-4.4.1-150200.3.10.1.ppc64le"
        },
        "product_reference": "gradle-4.4.1-150200.3.10.1.ppc64le",
        "relates_to_product_reference": "openSUSE Leap 15.4"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gradle-4.4.1-150200.3.10.1.s390x as component of openSUSE Leap 15.4",
          "product_id": "openSUSE Leap 15.4:gradle-4.4.1-150200.3.10.1.s390x"
        },
        "product_reference": "gradle-4.4.1-150200.3.10.1.s390x",
        "relates_to_product_reference": "openSUSE Leap 15.4"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gradle-4.4.1-150200.3.10.1.x86_64 as component of openSUSE Leap 15.4",
          "product_id": "openSUSE Leap 15.4:gradle-4.4.1-150200.3.10.1.x86_64"
        },
        "product_reference": "gradle-4.4.1-150200.3.10.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 15.4"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-32751",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2021-32751"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "Gradle is a build tool with a focus on build automation. In versions prior to 7.2, start scripts generated by the `application` plugin and the `gradlew` script are both vulnerable to arbitrary code execution when an attacker is able to change environment variables for the user running the script. This may impact those who use `gradlew` on Unix-like systems or use the scripts generated by Gradle in thieir application on Unix-like systems. For this vulnerability to be exploitable, an attacker needs to be able to set the value of particular environment variables and have those environment variables be seen by the vulnerable scripts. This issue has been patched in Gradle 7.2 by removing the use of `eval` and requiring the use of the `bash` shell. There are a few workarounds available. For CI/CD systems using the Gradle build tool, one may ensure that untrusted users are unable to change environment variables for the user that executes `gradlew`. If one is unable to upgrade to Gradle 7.2, one may generate a new `gradlew` script with Gradle 7.2 and use it for older versions of Gradle. Fpplications using start scripts generated by Gradle, one may ensure that untrusted users are unable to change environment variables for the user that executes the start script. A vulnerable start script could be manually patched to remove the use of `eval` or the use of environment variables that affect the application\u0027s command-line. If the application is simple enough, one may be able to avoid the use of the start scripts by running the application directly with Java command.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle-4.4.1-150200.3.10.1.aarch64",
          "SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle-4.4.1-150200.3.10.1.ppc64le",
          "SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle-4.4.1-150200.3.10.1.s390x",
          "SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle-4.4.1-150200.3.10.1.x86_64",
          "SUSE Linux Enterprise Real Time 15 SP3:gradle-4.4.1-150200.3.10.1.x86_64",
          "openSUSE Leap 15.4:gradle-4.4.1-150200.3.10.1.aarch64",
          "openSUSE Leap 15.4:gradle-4.4.1-150200.3.10.1.ppc64le",
          "openSUSE Leap 15.4:gradle-4.4.1-150200.3.10.1.s390x",
          "openSUSE Leap 15.4:gradle-4.4.1-150200.3.10.1.x86_64"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2021-32751",
          "url": "https://www.suse.com/security/cve/CVE-2021-32751"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1188569 for CVE-2021-32751",
          "url": "https://bugzilla.suse.com/1188569"
        }
      ],
      "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": [
            "SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle-4.4.1-150200.3.10.1.aarch64",
            "SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle-4.4.1-150200.3.10.1.ppc64le",
            "SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle-4.4.1-150200.3.10.1.s390x",
            "SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle-4.4.1-150200.3.10.1.x86_64",
            "SUSE Linux Enterprise Real Time 15 SP3:gradle-4.4.1-150200.3.10.1.x86_64",
            "openSUSE Leap 15.4:gradle-4.4.1-150200.3.10.1.aarch64",
            "openSUSE Leap 15.4:gradle-4.4.1-150200.3.10.1.ppc64le",
            "openSUSE Leap 15.4:gradle-4.4.1-150200.3.10.1.s390x",
            "openSUSE Leap 15.4:gradle-4.4.1-150200.3.10.1.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 4.8,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L",
            "version": "3.1"
          },
          "products": [
            "SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle-4.4.1-150200.3.10.1.aarch64",
            "SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle-4.4.1-150200.3.10.1.ppc64le",
            "SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle-4.4.1-150200.3.10.1.s390x",
            "SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle-4.4.1-150200.3.10.1.x86_64",
            "SUSE Linux Enterprise Real Time 15 SP3:gradle-4.4.1-150200.3.10.1.x86_64",
            "openSUSE Leap 15.4:gradle-4.4.1-150200.3.10.1.aarch64",
            "openSUSE Leap 15.4:gradle-4.4.1-150200.3.10.1.ppc64le",
            "openSUSE Leap 15.4:gradle-4.4.1-150200.3.10.1.s390x",
            "openSUSE Leap 15.4:gradle-4.4.1-150200.3.10.1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2023-05-15T10:16:21Z",
          "details": "moderate"
        }
      ],
      "title": "CVE-2021-32751"
    }
  ]
}


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…