opensuse-su-2022:0132-1
Vulnerability from csaf_opensuse
Published
2022-05-10 09:13
Modified
2022-05-10 09:13
Summary
Security update for php-composer

Notes

Title of the patch
Security update for php-composer
Description of the patch
This update for php-composer fixes the following issues: php-composer was updated to version 1.10.26: * Security: Fixed command injection vulnerability in HgDriver/GitDriver: CVE-2022-24828 boo#1198494 Update to version 1.10.25 * Fix regression with PHP 8.1.0 and 8.1.1 Update to version 1.10.24 * Fixed PHP 8.1 compatibility Update to version 1.10.23 * Security: Fixed command injection vulnerability CVE-2021-41116
Patchnames
openSUSE-2022-132
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": "important"
    },
    "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 php-composer",
        "title": "Title of the patch"
      },
      {
        "category": "description",
        "text": "This update for php-composer fixes the following issues:\n\nphp-composer was updated to version 1.10.26:\n\n* Security: Fixed command injection vulnerability in\n  HgDriver/GitDriver: CVE-2022-24828 boo#1198494\n\nUpdate to version 1.10.25\n\n* Fix regression with PHP 8.1.0 and 8.1.1\n\nUpdate to version 1.10.24\n\n* Fixed PHP 8.1 compatibility\n\nUpdate to version 1.10.23\n\n* Security: Fixed command injection vulnerability CVE-2021-41116\n",
        "title": "Description of the patch"
      },
      {
        "category": "details",
        "text": "openSUSE-2022-132",
        "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/opensuse-su-2022_0132-1.json"
      },
      {
        "category": "self",
        "summary": "URL for openSUSE-SU-2022:0132-1",
        "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/GK3MSPNLXNEQ4P7QF5ZJB6IK4W6YAUKM/"
      },
      {
        "category": "self",
        "summary": "E-Mail link for openSUSE-SU-2022:0132-1",
        "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/GK3MSPNLXNEQ4P7QF5ZJB6IK4W6YAUKM/"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1198494",
        "url": "https://bugzilla.suse.com/1198494"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2021-41116 page",
        "url": "https://www.suse.com/security/cve/CVE-2021-41116/"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2022-24828 page",
        "url": "https://www.suse.com/security/cve/CVE-2022-24828/"
      }
    ],
    "title": "Security update for php-composer",
    "tracking": {
      "current_release_date": "2022-05-10T09:13:38Z",
      "generator": {
        "date": "2022-05-10T09:13:38Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "openSUSE-SU-2022:0132-1",
      "initial_release_date": "2022-05-10T09:13:38Z",
      "revision_history": [
        {
          "date": "2022-05-10T09:13:38Z",
          "number": "1",
          "summary": "Current version"
        }
      ],
      "status": "final",
      "version": "1"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "php-composer-1.10.26-bp153.2.6.1.noarch",
                "product": {
                  "name": "php-composer-1.10.26-bp153.2.6.1.noarch",
                  "product_id": "php-composer-1.10.26-bp153.2.6.1.noarch"
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "SUSE Package Hub 15 SP3",
                "product": {
                  "name": "SUSE Package Hub 15 SP3",
                  "product_id": "SUSE Package Hub 15 SP3"
                }
              },
              {
                "category": "product_name",
                "name": "openSUSE Leap 15.3",
                "product": {
                  "name": "openSUSE Leap 15.3",
                  "product_id": "openSUSE Leap 15.3",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:opensuse:leap:15.3"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "SUSE Linux Enterprise"
          }
        ],
        "category": "vendor",
        "name": "SUSE"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "php-composer-1.10.26-bp153.2.6.1.noarch as component of SUSE Package Hub 15 SP3",
          "product_id": "SUSE Package Hub 15 SP3:php-composer-1.10.26-bp153.2.6.1.noarch"
        },
        "product_reference": "php-composer-1.10.26-bp153.2.6.1.noarch",
        "relates_to_product_reference": "SUSE Package Hub 15 SP3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "php-composer-1.10.26-bp153.2.6.1.noarch as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:php-composer-1.10.26-bp153.2.6.1.noarch"
        },
        "product_reference": "php-composer-1.10.26-bp153.2.6.1.noarch",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-41116",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2021-41116"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "Composer is an open source dependency manager for the PHP language. In affected versions windows users running Composer to install untrusted dependencies are subject to command injection and should upgrade their composer version. Other OSs and WSL are not affected. The issue has been resolved in composer versions 1.10.23 and 2.1.9. There are no workarounds for this issue.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "SUSE Package Hub 15 SP3:php-composer-1.10.26-bp153.2.6.1.noarch",
          "openSUSE Leap 15.3:php-composer-1.10.26-bp153.2.6.1.noarch"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2021-41116",
          "url": "https://www.suse.com/security/cve/CVE-2021-41116"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1191438 for CVE-2021-41116",
          "url": "https://bugzilla.suse.com/1191438"
        }
      ],
      "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 Package Hub 15 SP3:php-composer-1.10.26-bp153.2.6.1.noarch",
            "openSUSE Leap 15.3:php-composer-1.10.26-bp153.2.6.1.noarch"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 8.2,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N",
            "version": "3.1"
          },
          "products": [
            "SUSE Package Hub 15 SP3:php-composer-1.10.26-bp153.2.6.1.noarch",
            "openSUSE Leap 15.3:php-composer-1.10.26-bp153.2.6.1.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2022-05-10T09:13:38Z",
          "details": "important"
        }
      ],
      "title": "CVE-2021-41116"
    },
    {
      "cve": "CVE-2022-24828",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2022-24828"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "Composer is a dependency manager for the PHP programming language. Integrators using Composer code to call `VcsDriver::getFileContent` can have a code injection vulnerability if the user can control the `$file` or `$identifier` argument. This leads to a vulnerability on packagist.org for example where the composer.json\u0027s `readme` field can be used as a vector for injecting parameters into hg/Mercurial via the `$file` argument, or git via the `$identifier` argument if you allow arbitrary data there (Packagist does not, but maybe other integrators do). Composer itself should not be affected by the vulnerability as it does not call `getFileContent` with arbitrary data into `$file`/`$identifier`. To the best of our knowledge this was not abused, and the vulnerability has been patched on packagist.org and Private Packagist within a day of the vulnerability report.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "SUSE Package Hub 15 SP3:php-composer-1.10.26-bp153.2.6.1.noarch",
          "openSUSE Leap 15.3:php-composer-1.10.26-bp153.2.6.1.noarch"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2022-24828",
          "url": "https://www.suse.com/security/cve/CVE-2022-24828"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1198494 for CVE-2022-24828",
          "url": "https://bugzilla.suse.com/1198494"
        }
      ],
      "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 Package Hub 15 SP3:php-composer-1.10.26-bp153.2.6.1.noarch",
            "openSUSE Leap 15.3:php-composer-1.10.26-bp153.2.6.1.noarch"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "SUSE Package Hub 15 SP3:php-composer-1.10.26-bp153.2.6.1.noarch",
            "openSUSE Leap 15.3:php-composer-1.10.26-bp153.2.6.1.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2022-05-10T09:13:38Z",
          "details": "important"
        }
      ],
      "title": "CVE-2022-24828"
    }
  ]
}


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…