Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pm:security-php only suggests a composer command for the first package #4366

Closed
prudloff-insite opened this issue Mar 30, 2020 · 0 comments · Fixed by #4406
Closed

pm:security-php only suggests a composer command for the first package #4366

prudloff-insite opened this issue Mar 30, 2020 · 0 comments · Fixed by #4406

Comments

@prudloff-insite
Copy link
Contributor

Describe the bug
I am trying 426ebed and it works great but it only suggests a composer why command for the first package.

To Reproduce

composer require spoonity/tcpdf 6.2.1
composer require zetacomponents/mail 1.8.1
drush pm:security-php

Expected behavior
Suggest multiple commands to run.

Actual behavior

 [warning] One or more of your dependencies has an outstanding security update.
 [notice] Run composer why spoonity/tcpdf to learn what  module requires the package.
spoonity/tcpdf:
  version: 6.2.1
  advisories:
    -
      title: 'Attackers can trigger deserialization of arbitrary data via the phar:// wrapper.'
      link: 'https://github.com/tecnickcom/TCPDF/commit/1861e33fe05f653b67d070f7c106463e7a5c26ed'
      cve: CVE-2018-17057
zetacomponents/mail:
  version: 1.8.1
  advisories:
    -
      title: 'Arbitrary code execution via a crafted email address'
      link: 'https://github.com/zetacomponents/Mail/issues/58'
      cve: CVE-2017-15806

System Configuration

Q A
Drush version? 10.2.2
Drupal version? 8.8.4
PHP version 7.1.33
OS? Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants